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-elgin

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
fac33118 b86e2f24

+10 -10
+10 -10
arch/arm/boot/dts/rv1108-elgin-r1.dts
··· 85 85 regulator-always-on; 86 86 regulator-boot-on; 87 87 regulator-state-mem { 88 - regulator-state-enabled; 89 - regulator-state-uv = <900000>; 88 + regulator-on-in-suspend; 89 + regulator-suspend-microvolt = <900000>; 90 90 }; 91 91 }; 92 92 ··· 97 97 regulator-always-on; 98 98 regulator-boot-on; 99 99 regulator-state-mem { 100 - regulator-state-disabled; 100 + regulator-off-in-suspend; 101 101 }; 102 102 }; 103 103 ··· 106 106 regulator-always-on; 107 107 regulator-boot-on; 108 108 regulator-state-mem { 109 - regulator-state-enabled; 109 + regulator-on-in-suspend; 110 110 }; 111 111 }; 112 112 ··· 117 117 regulator-always-on; 118 118 regulator-boot-on; 119 119 regulator-state-mem { 120 - regulator-state-enabled; 121 - regulator-state-uv = <3300000>; 120 + regulator-on-in-suspend; 121 + regulator-suspend-microvolt = <3300000>; 122 122 }; 123 123 }; 124 124 ··· 129 129 regulator-always-on; 130 130 regulator-boot-on; 131 131 regulator-state-mem { 132 - regulator-state-disabled; 132 + regulator-off-in-suspend; 133 133 }; 134 134 }; 135 135 ··· 140 140 regulator-always-on; 141 141 regulator-boot-on; 142 142 regulator-state-mem { 143 - regulator-state-disabled; 143 + regulator-off-in-suspend; 144 144 }; 145 145 }; 146 146 ··· 151 151 regulator-always-on; 152 152 regulator-boot-on; 153 153 regulator-state-mem { 154 - regulator-state-enabled; 155 - regulator-state-uv = <1000000>; 154 + regulator-on-in-suspend; 155 + regulator-suspend-microvolt = <1000000>; 156 156 }; 157 157 }; 158 158 };