path: root/arch/arm/boot
diff options
authorOleksij Rempel <>2018-08-02 12:34:24 +0200
committerOleksandr Suvorov <>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 <> Signed-off-by: Mark Brown <> (cherry-picked from commit c29daffa322ad36978cbce487f8ebcd9c3c3f7c0) (tuned for 4.14 kernel) Signed-off-by: Oleksandr Suvorov <>
Diffstat (limited to 'arch/arm/boot')
0 files changed, 0 insertions, 0 deletions