diff mbox series

[2/2] ARM: dts: exynos: correct array of voltages in i9100 and Trats

Message ID 20220331211653.175200-2-krzysztof.kozlowski@linaro.org (mailing list archive)
State New
Headers show
Series [1/2] regulator: dt-bindings: maxim,max8997: correct array of voltages | expand

Commit Message

Krzysztof Kozlowski March 31, 2022, 9:16 p.m. UTC
Array of uint32 numbers (voltages) should be within one bracket pair <>,
according to Devicetree types and DT schema.

This fixes DT schema warnings like:

  exynos4210-trats.dtb: pmic@66: max8997,pmic-buck1-dvs-voltage: [[1350000, 1300000, 1250000, 1200000, 1150000, 1100000, 1000000, 950000]] is too short
    From schema: Documentation/devicetree/bindings/regulator/maxim,max8997.yaml

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 arch/arm/boot/dts/exynos4210-i9100.dts | 28 +++++++++++++-------------
 arch/arm/boot/dts/exynos4210-trats.dts | 28 +++++++++++++-------------
 2 files changed, 28 insertions(+), 28 deletions(-)
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/exynos4210-i9100.dts b/arch/arm/boot/dts/exynos4210-i9100.dts
index 3c0a18b30837..4058e780e288 100644
--- a/arch/arm/boot/dts/exynos4210-i9100.dts
+++ b/arch/arm/boot/dts/exynos4210-i9100.dts
@@ -421,20 +421,20 @@  pmic@66 {
 						 <&gpx0 6 GPIO_ACTIVE_HIGH>,
 						 <&gpl0 0 GPIO_ACTIVE_HIGH>;
 
-		max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
-						 <1250000>, <1200000>,
-						 <1150000>, <1100000>,
-						 <1000000>, <950000>;
-
-		max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
-						 <950000>,  <900000>,
-						 <1100000>, <1000000>,
-						 <950000>,  <900000>;
-
-		max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
-						 <1200000>, <1200000>,
-						 <1200000>, <1200000>,
-						 <1200000>, <1200000>;
+		max8997,pmic-buck1-dvs-voltage = <1350000 1300000
+						  1250000 1200000
+						  1150000 1100000
+						  1000000  950000>;
+
+		max8997,pmic-buck2-dvs-voltage = <1100000 1000000
+						   950000  900000
+						  1100000 1000000
+						   950000  900000>;
+
+		max8997,pmic-buck5-dvs-voltage = <1200000 1200000
+						  1200000 1200000
+						  1200000 1200000
+						  1200000 1200000>;
 
 		pinctrl-0 = <&max8997_irq>, <&otg_gp>, <&usb_sel>;
 		pinctrl-names = "default";
diff --git a/arch/arm/boot/dts/exynos4210-trats.dts b/arch/arm/boot/dts/exynos4210-trats.dts
index 01f44d95f671..23041db78f2e 100644
--- a/arch/arm/boot/dts/exynos4210-trats.dts
+++ b/arch/arm/boot/dts/exynos4210-trats.dts
@@ -302,20 +302,20 @@  pmic@66 {
 						 <&gpx0 6 GPIO_ACTIVE_HIGH>,
 						 <&gpl0 0 GPIO_ACTIVE_HIGH>;
 
-		max8997,pmic-buck1-dvs-voltage = <1350000>, <1300000>,
-						 <1250000>, <1200000>,
-						 <1150000>, <1100000>,
-						 <1000000>, <950000>;
-
-		max8997,pmic-buck2-dvs-voltage = <1100000>, <1000000>,
-						 <950000>,  <900000>,
-						 <1100000>, <1000000>,
-						 <950000>,  <900000>;
-
-		max8997,pmic-buck5-dvs-voltage = <1200000>, <1200000>,
-						 <1200000>, <1200000>,
-						 <1200000>, <1200000>,
-						 <1200000>, <1200000>;
+		max8997,pmic-buck1-dvs-voltage = <1350000 1300000
+						  1250000 1200000
+						  1150000 1100000
+						  1000000  950000>;
+
+		max8997,pmic-buck2-dvs-voltage = <1100000 1000000
+						   950000  900000
+						  1100000 1000000
+						   950000  900000>;
+
+		max8997,pmic-buck5-dvs-voltage = <1200000 1200000
+						  1200000 1200000
+						  1200000 1200000
+						  1200000 1200000>;
 
 		regulators {
 			valive_reg: LDO2 {