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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
---
 arch/arm/boot/dts/exynos4210-i9100.dts | 28 +++++++++++++-------------
 arch/arm/boot/dts/exynos4210-trats.dts | 28 +++++++++++++-------------
 2 files changed, 28 insertions(+), 28 deletions(-)

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 {
-- 
2.32.0




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux for Synopsys ARC Processors]    
  • [Linux on Unisoc (RDA Micro) SoCs]     [Linux Actions SoC]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  •   Powered by Linux