summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Gu <xigu@marvell.com>2017-08-28 12:10:36 +0800
committerKostya Porotchkin <kostap@marvell.com>2017-08-28 10:40:52 +0300
commit419f217f2299e21d3914d0e3f9c85245fa880cf7 (patch)
tree5655da3b59565a1b7d62bc6c55539891f0968354
parentfbd11e4013b554240897ecb20d93e7ec7b4c2d53 (diff)
pm: a8k: change the GPIO toggling sequence
In order to support multiple times of power off the system by PMIC, the GPIO toggling sequence for Armada80x0 board should be "1-0-1-0-1-0-1" instead of "1-0-1-0-1". Change-Id: Ia03330e7ff8e115ea7b841a8a10f7641f4cc7b65 Signed-off-by: Victor Gu <xigu@marvell.com> Reviewed-on: http://vgitil04.il.marvell.com:8080/43437 Tested-by: iSoC Platform CI <ykjenk@marvell.com> Reviewed-by: Kostya Porotchkin <kostap@marvell.com>
-rw-r--r--plat/marvell/a8k/a80x0/board/marvell_plat_config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plat/marvell/a8k/a80x0/board/marvell_plat_config.c b/plat/marvell/a8k/a80x0/board/marvell_plat_config.c
index db814490..9259b18b 100644
--- a/plat/marvell/a8k/a80x0/board/marvell_plat_config.c
+++ b/plat/marvell/a8k/a80x0/board/marvell_plat_config.c
@@ -195,8 +195,8 @@ struct power_off_method pm_cfg = {
.type = PMIC_GPIO,
.cfg.gpio.pin_count = 1,
.cfg.gpio.info = {{0, 35} },
- .cfg.gpio.step_count = 5,
- .cfg.gpio.seq = {1, 0, 1, 0, 1},
+ .cfg.gpio.step_count = 7,
+ .cfg.gpio.seq = {1, 0, 1, 0, 1, 0, 1},
.cfg.gpio.delay_ms = 10,
};