From f8fe3db53da43684f74a503f4416dad6b21a0d00 Mon Sep 17 00:00:00 2001 From: Robin Gong Date: Tue, 15 Sep 2015 12:46:39 +0800 Subject: MLK-11550-1: regulator: pfuze100: restore some registers after LPSR for pfuze3000 Some registers on pfuze3000 will lost after exit from LPSR, need restore them, otherwise system may reboot with below command after system enter LPSR one time: root@imx7d_all:~# echo enabled > /sys/class/tty/ttymxc0/power/wakeup root@imx7d_all:~# echo mem > /sys/power/state because LDOGCTL not recover as 1. Add 'fsl,lpsr-mode' property to this case, please add this property if your board support LPSR mode as imx7d-12x12-lpddr3-arm2 board. Signed-off-by: Robin Gong Reviewed-by: Anson Huang (cherry picked from commit 4aa2a2a92814433d76de1bf6ae8902e46fb87961) [ Aisheng: change dt binding part to json schema ] Signed-off-by: Dong Aisheng --- Documentation/devicetree/bindings/regulator/pfuze100.yaml | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'Documentation/devicetree/bindings/regulator') diff --git a/Documentation/devicetree/bindings/regulator/pfuze100.yaml b/Documentation/devicetree/bindings/regulator/pfuze100.yaml index f578e72778a7..5fda194ec3cb 100644 --- a/Documentation/devicetree/bindings/regulator/pfuze100.yaml +++ b/Documentation/devicetree/bindings/regulator/pfuze100.yaml @@ -56,6 +56,11 @@ properties: IC (PMIC) on PMIC_STBY_REQ signal. As opposite to PMIC_STBY_REQ boards can implement PMIC_ON_REQ signal. + fsl,lpsr-mode: + $ref: /schemas/types.yaml#/definitions/flag + description: | + some registers need to be saved and restored in lpsr mode for pfuze3000. + regulators: type: object description: | -- cgit v1.2.3