Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ARM: dts: rockchip: Use the correct regulator properties on rv1108-evb

The following properties:

- regulator-state-enabled
- regulator-state-disabled
- regulator-state-uv

are not valid ones as per
Documentation/devicetree/bindings/regulator/regulator.txt

Fix it by using the correct properties as per the dt bindings.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>

authored by

Otavio Salvador and committed by
Heiko Stuebner
085e42fb fac33118

+10 -10
+10 -10
arch/arm/boot/dts/rv1108-evb.dts
··· 97 97 regulator-always-on; 98 98 regulator-boot-on; 99 99 regulator-state-mem { 100 - regulator-state-enabled; 101 - regulator-state-uv = <900000>; 100 + regulator-on-in-suspend; 101 + regulator-suspend-microvolt = <900000>; 102 102 }; 103 103 }; 104 104 ··· 107 107 regulator-min-microvolt = <700000>; 108 108 regulator-max-microvolt = <2000000>; 109 109 regulator-state-mem { 110 - regulator-state-disabled; 110 + regulator-off-in-suspend; 111 111 }; 112 112 }; 113 113 ··· 116 116 regulator-always-on; 117 117 regulator-boot-on; 118 118 regulator-state-mem { 119 - regulator-state-enabled; 119 + regulator-on-in-suspend; 120 120 }; 121 121 }; 122 122 ··· 127 127 regulator-always-on; 128 128 regulator-boot-on; 129 129 regulator-state-mem { 130 - regulator-state-enabled; 131 - regulator-state-uv = <3300000>; 130 + regulator-on-in-suspend; 131 + regulator-suspend-microvolt = <3300000>; 132 132 }; 133 133 }; 134 134 ··· 139 139 regulator-always-on; 140 140 regulator-boot-on; 141 141 regulator-state-mem { 142 - regulator-state-disabled; 142 + regulator-off-in-suspend; 143 143 }; 144 144 }; 145 145 ··· 150 150 regulator-always-on; 151 151 regulator-boot-on; 152 152 regulator-state-mem { 153 - regulator-state-disabled; 153 + regulator-off-in-suspend; 154 154 }; 155 155 }; 156 156 ··· 161 161 regulator-always-on; 162 162 regulator-boot-on; 163 163 regulator-state-mem { 164 - regulator-state-enabled; 165 - regulator-state-uv = <1000000>; 164 + regulator-on-in-suspend; 165 + regulator-suspend-microvolt = <1000000>; 166 166 }; 167 167 }; 168 168 };