From 624e4b8a5abad0f953612edff7978fcfc0510e40 Mon Sep 17 00:00:00 2001 From: shengfei Xu Date: Wed, 9 Dec 2020 20:33:44 +0800 Subject: [PATCH] arm64: dts: rockchip: rk3566-rk817-tablet: config the sleep voltage Signed-off-by: shengfei Xu Change-Id: I3fd46cad17c05aee70e907a162d606e05b527f80 --- .../boot/dts/rockchip/rk3566-rk817-tablet.dts | 27 +++++++++++-------- 1 file changed, 16 insertions(+), 11 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts index bc2a2323b4c9..e953e5ca96a6 100644 --- a/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts +++ b/arch/arm64/boot/dts/rockchip/rk3566-rk817-tablet.dts @@ -491,11 +491,11 @@ interrupts = <3 IRQ_TYPE_LEVEL_LOW>; pinctrl-names = "default", "pmic-sleep", - "pmic-power-off"; + "pmic-power-off", "pmic-reset"; pinctrl-0 = <&pmic_int>; pinctrl-1 = <&soc_slppin_slp>, <&rk817_slppin_slp>; pinctrl-2 = <&soc_slppin_gpio>, <&rk817_slppin_pwrdn>; - pinctrl-3 = <&soc_slppin_rst>, <&rk817_slppin_rst>; + pinctrl-3 = <&soc_slppin_gpio>, <&rk817_slppin_rst>; rockchip,system-power-controller; wakeup-source; #clock-cells = <1>; @@ -554,7 +554,7 @@ regulator-initial-mode = <0x2>; regulator-name = "vdd_logic"; regulator-state-mem { - regulator-on-in-suspend; + regulator-off-in-suspend; regulator-suspend-microvolt = <900000>; }; }; @@ -568,7 +568,7 @@ regulator-ramp-delay = <6001>; regulator-initial-mode = <0x2>; regulator-name = "vdd_gpu"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -625,8 +625,8 @@ regulator-max-microvolt = <900000>; regulator-name = "vdda0v9_pmu"; regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <1000000>; + regulator-on-in-suspend; + regulator-suspend-microvolt = <900000>; }; }; @@ -648,8 +648,7 @@ regulator-max-microvolt = <3300000>; regulator-name = "vccio_sd"; regulator-state-mem { - regulator-on-in-suspend; - regulator-suspend-microvolt = <3300000>; + regulator-off-in-suspend; }; }; @@ -671,7 +670,7 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-name = "vcc_1v8"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -682,7 +681,7 @@ regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-name = "vcc1v8_dvp"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -693,7 +692,7 @@ regulator-min-microvolt = <2800000>; regulator-max-microvolt = <2800000>; regulator-name = "vcc2v8_dvp"; - regulator-state-mem { + regulator-state-mem { regulator-off-in-suspend; }; }; @@ -704,10 +703,16 @@ regulator-min-microvolt = <4700000>; regulator-max-microvolt = <5400000>; regulator-name = "boost"; + regulator-state-mem { + regulator-off-in-suspend; + }; }; otg_switch: OTG_SWITCH { regulator-name = "otg_switch"; + regulator-state-mem { + regulator-off-in-suspend; + }; }; };