summaryrefslogtreecommitdiff
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2018-08-02 12:34:24 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-03-19 17:00:27 +0200
commit64f3c21d5edd1953c10e77401b7421360225ae88 (patch)
tree4f549ef5e2aeb33c51663347734006b63cd3fc61 /arch/arm/boot
parentea10cf16716d579597b4276a1cbb72d4d5c22ee3 (diff)
regulator: pfuze100-regulator: provide pm_power_off_prepare handler
On some boards the SoC can use one pin "PMIC_STBY_REQ" to notify th PMIC about state changes. In this case internal state of PMIC must be preconfigured for upcomming state change. It works fine with the current regulator framework, except with the power-off case. This patch is providing an optional pm_power_off_prepare handler which will configure standby state of the PMIC to disable all power lines. In my power consumption test on RIoTBoard, I got the following results: power off without this patch: 320 mA power off with this patch: 2 mA suspend to ram: 40 mA Related-to: ELB-3580 Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de> Signed-off-by: Mark Brown <broonie@kernel.org> (cherry-picked from commit c29daffa322ad36978cbce487f8ebcd9c3c3f7c0) (tuned for 4.14 kernel) Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
Diffstat (limited to 'arch/arm/boot')
0 files changed, 0 insertions, 0 deletions