diff options
author | Keerthy <j-keerthy@ti.com> | 2016-11-10 10:39:18 +0530 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2017-04-27 09:25:05 +0100 |
commit | 85fdaf8eb9bbec1f0f8a52fd5d85659d60738816 (patch) | |
tree | 00ee0e688860e897dafb67c2aaf9d4b2c7f0dc2f /drivers/rtc/rtc-rk808.c | |
parent | f5139c27e734bf8458c0afc60ef86e45517e1126 (diff) | |
download | blackbird-op-linux-85fdaf8eb9bbec1f0f8a52fd5d85659d60738816.tar.gz blackbird-op-linux-85fdaf8eb9bbec1f0f8a52fd5d85659d60738816.zip |
mfd: palmas: Reset the POWERHOLD mux during power off
POWERHOLD signal has higher priority over the DEV_ON bit.
So power off will not happen if the POWERHOLD is held high.
Hence reset the MUX to GPIO_7 mode to release the POWERHOLD
and the DEV_ON bit to take effect to power off the PMIC.
PMIC Power off happens in dire situations like thermal shutdown
so irrespective of the POWERHOLD setting go ahead and turn off
the powerhold. Currently poweroff is broken on boards that have
powerhold enabled. This fixes poweroff on those boards.
Signed-off-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/rtc/rtc-rk808.c')
0 files changed, 0 insertions, 0 deletions