[U-Boot] [PATCH v2 01/19] exynos: dts: Correct LDO and BUCK naming

Simon Glass sjg at chromium.org
Mon Aug 3 16:19:19 CEST 2015


At present lower case is used for the regulator names in the device tree.
The kernel uses upper case and U-Boot will require this also since it will
move to a case-sensitive name check.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Add new patch to correct LDO and BUCK naming

 arch/arm/dts/exynos4412-odroid.dts | 56 +++++++++++++++---------------
 arch/arm/dts/exynos4412-trats2.dts | 70 +++++++++++++++++++-------------------
 2 files changed, 63 insertions(+), 63 deletions(-)

diff --git a/arch/arm/dts/exynos4412-odroid.dts b/arch/arm/dts/exynos4412-odroid.dts
index d572f1e..a63e8ab 100644
--- a/arch/arm/dts/exynos4412-odroid.dts
+++ b/arch/arm/dts/exynos4412-odroid.dts
@@ -42,103 +42,103 @@
 			#clock-cells = <1>;
 
 			voltage-regulators {
-				ldo1_reg: ldo1 {
+				ldo1_reg: LDO1 {
 					regulator-name = "VDD_ALIVE_1.0V";
 					regulator-min-microvolt = <1000000>;
 					regulator-max-microvolt = <1000000>;
 				};
 
-				ldo2_reg: ldo2 {
+				ldo2_reg: LDO2 {
 					regulator-name = "VDDQ_VM1M2_1.2V";
 					regulator-min-microvolt = <1200000>;
 					regulator-max-microvolt = <1200000>;
 				};
 
-				ldo3_reg: ldo3 {
+				ldo3_reg: LDO3 {
 					regulator-name = "VCC_1.8V_AP";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo4_reg: ldo4 {
+				ldo4_reg: LDO4 {
 					regulator-name = "VDDQ_MMC2_2.8V";
 					regulator-min-microvolt = <2800000>;
 					regulator-max-microvolt = <2800000>;
 				};
 
-				ldo5_reg: ldo5 {
+				ldo5_reg: LDO5 {
 					regulator-name = "VDDQ_MMC0/1/3_1.8V";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo6_reg: ldo6 {
+				ldo6_reg: LDO6 {
 					regulator-name = "VMPLL_1.0V";
 					regulator-min-microvolt = <1100000>;
 					regulator-max-microvolt = <1100000>;
 				};
 
-				ldo7_reg: ldo7 {
+				ldo7_reg: LDO7 {
 					regulator-name = "VPLL_1.1V";
 					regulator-min-microvolt = <1100000>;
 					regulator-max-microvolt = <1100000>;
 				};
 
-				ldo8_reg: ldo8 {
+				ldo8_reg: LDO8 {
 					regulator-name = "VDD_MIPI/HDMI_1.0V";
 					regulator-min-microvolt = <1000000>;
 					regulator-max-microvolt = <1000000>;
 				};
 
-				ldo10_reg: ldo10 {
+				ldo10_reg: LDO10 {
 					regulator-name = "VDD_MIPI/HDMI_1.8V";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo11_reg: ldo11 {
+				ldo11_reg: LDO11 {
 					regulator-name = "VDD_ABB1_1.8V";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo12_reg: ldo12 {
+				ldo12_reg: LDO12 {
 					regulator-name = "VDD_UOTG_3.0V";
 					regulator-min-microvolt = <3000000>;
 					regulator-max-microvolt = <3000000>;
 				};
 
-				ldo13_reg: ldo13 {
+				ldo13_reg: LDO13 {
 					regulator-name = "VDD_C2C_1.8V";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo14_reg: ldo14 {
+				ldo14_reg: LDO14 {
 					regulator-name = "VDD_ABB02_1.8V";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo15_reg: ldo15 {
+				ldo15_reg: LDO15 {
 					regulator-name = "VDD_HSIC/OTG_1.0V";
 					regulator-min-microvolt = <1000000>;
 					regulator-max-microvolt = <1000000>;
 				};
 
-				ldo16_reg: ldo16 {
+				ldo16_reg: LDO16 {
 					regulator-name = "VDD_HSIC_1.8V";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
 				};
 
-				ldo17_reg: ldo17 {
+				ldo17_reg: LDO17 {
 					regulator-name = "VDDQ_CAM_1.2V";
 					regulator-min-microvolt = <1200000>;
 					regulator-max-microvolt = <1200000>;
 				};
 
-				ldo20_reg: ldo20 {
+				ldo20_reg: LDO20 {
 					regulator-name = "VDDQ_EMMC_1.8V";
 					regulator-min-microvolt = <1800000>;
 					regulator-max-microvolt = <1800000>;
@@ -146,7 +146,7 @@
 					regulator-boot-on;
 				};
 
-				ldo21_reg: ldo21 {
+				ldo21_reg: LDO21 {
 					regulator-name = "TFLASH_2.8V";
 					regulator-min-microvolt = <2800000>;
 					regulator-max-microvolt = <2800000>;
@@ -154,7 +154,7 @@
 					regulator-boot-on;
 				};
 
-				ldo22_reg: ldo22 {
+				ldo22_reg: LDO22 {
 					regulator-name = "VDDQ_EMMC_2.8V";
 					regulator-min-microvolt = <2800000>;
 					regulator-max-microvolt = <2800000>;
@@ -162,56 +162,56 @@
 					regulator-boot-on;
 				};
 
-				ldo25_reg: ldo25 {
+				ldo25_reg: LDO25 {
 					regulator-compatible = "LDO25";
 					regulator-name = "VDDQ_LCD_3.0V";
 					regulator-min-microvolt = <3000000>;
 					regulator-max-microvolt = <3000000>;
 				};
 
-				buck1_reg: buck1 {
+				buck1_reg: BUCK1 {
 					regulator-name = "VDD_MIF_1.0V";
 					regulator-min-microvolt = <8500000>;
 					regulator-max-microvolt = <1100000>;
 				};
 
-				buck2_reg: buck2 {
+				buck2_reg: BUCK2 {
 					regulator-name = "VDD_ARM_1.0V";
 					regulator-min-microvolt = <850000>;
 					regulator-max-microvolt = <1500000>;
 				};
 
-				buck3_reg: buck3 {
+				buck3_reg: BUCK3 {
 					regulator-name = "VDD_INT_1.1V";
 					regulator-min-microvolt = <850000>;
 					regulator-max-microvolt = <1150000>;
 				};
 
-				buck4_reg: buck4 {
+				buck4_reg: BUCK4 {
 					regulator-name = "VDD_G3D_1.0V";
 					regulator-min-microvolt = <850000>;
 					regulator-max-microvolt = <1150000>;
 				};
 
-				buck5_reg: buck5 {
+				buck5_reg: BUCK5 {
 					regulator-name = "VDDQ_AP_1.2V";
 					regulator-min-microvolt = <1200000>;
 					regulator-max-microvolt = <1200000>;
 				};
 
-				buck6_reg: buck6 {
+				buck6_reg: BUCK6 {
 					regulator-name = "VCC_INL1/7_1.35V";
 					regulator-min-microvolt = <1350000>;
 					regulator-max-microvolt = <1350000>;
 				};
 
-				buck7_reg: buck7 {
+				buck7_reg: BUCK7 {
 					regulator-name = "VCC_INL2/3/5_2.0V";
 					regulator-min-microvolt = <2000000>;
 					regulator-max-microvolt = <2000000>;
 				};
 
-				buck8_reg: buck8 {
+				buck8_reg: BUCK8 {
 					regulator-name = "VCC_P3V3_2.85V";
 					regulator-min-microvolt = <2850000>;
 					regulator-max-microvolt = <3300000>;
diff --git a/arch/arm/dts/exynos4412-trats2.dts b/arch/arm/dts/exynos4412-trats2.dts
index 5c0bb91..2d4e522 100644
--- a/arch/arm/dts/exynos4412-trats2.dts
+++ b/arch/arm/dts/exynos4412-trats2.dts
@@ -47,7 +47,7 @@
 			#clock-cells = <1>;
 
 			voltage-regulators {
-				ldo1_reg: ldo1 {
+				ldo1_reg: LDO1 {
 					regulator-compatible = "LDO1";
 					regulator-name = "VALIVE_1.0V_AP";
 					regulator-min-microvolt = <1000000>;
@@ -56,7 +56,7 @@
 					regulator-mem-on;
 				};
 
-				ldo2_reg: ldo2 {
+				ldo2_reg: LDO2 {
 					regulator-compatible = "LDO2";
 					regulator-name = "VM1M2_1.2V_AP";
 					regulator-min-microvolt = <1200000>;
@@ -65,7 +65,7 @@
 					regulator-mem-on;
 				};
 
-				ldo3_reg: ldo3 {
+				ldo3_reg: LDO3 {
 					regulator-compatible = "LDO3";
 					regulator-name = "VCC_1.8V_AP";
 					regulator-min-microvolt = <1800000>;
@@ -74,7 +74,7 @@
 					regulator-mem-on;
 				};
 
-				ldo4_reg: ldo4 {
+				ldo4_reg: LDO4 {
 					regulator-compatible = "LDO4";
 					regulator-name = "VCC_2.8V_AP";
 					regulator-min-microvolt = <2800000>;
@@ -83,7 +83,7 @@
 					regulator-mem-on;
 				};
 
-				ldo5_reg: ldo5 {
+				ldo5_reg: LDO5 {
 					regulator-compatible = "LDO5";
 					regulator-name = "VCC_1.8V_IO";
 					regulator-min-microvolt = <1800000>;
@@ -92,7 +92,7 @@
 					regulator-mem-on;
 				};
 
-				ldo6_reg: ldo6 {
+				ldo6_reg: LDO6 {
 					regulator-compatible = "LDO6";
 					regulator-name = "VMPLL_1.0V_AP";
 					regulator-min-microvolt = <1000000>;
@@ -101,7 +101,7 @@
 					regulator-mem-on;
 				};
 
-				ldo7_reg: ldo7 {
+				ldo7_reg: LDO7 {
 					regulator-compatible = "LDO7";
 					regulator-name = "VPLL_1.0V_AP";
 					regulator-min-microvolt = <1000000>;
@@ -110,7 +110,7 @@
 					regulator-mem-on;
 				};
 
-				ldo8_reg: ldo8 {
+				ldo8_reg: LDO8 {
 					regulator-compatible = "LDO8";
 					regulator-name = "VMIPI_1.0V";
 					regulator-min-microvolt = <1000000>;
@@ -118,7 +118,7 @@
 					regulator-mem-off;
 				};
 
-				ldo9_reg: ldo9 {
+				ldo9_reg: LDO9 {
 					regulator-compatible = "LDO9";
 					regulator-name = "CAM_ISP_MIPI_1.2V";
 					regulator-min-microvolt = <1200000>;
@@ -126,7 +126,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo10_reg: ldo10 {
+				ldo10_reg: LDO10 {
 					regulator-compatible = "LDO10";
 					regulator-name = "VMIPI_1.8V";
 					regulator-min-microvolt = <1800000>;
@@ -134,7 +134,7 @@
 					regulator-mem-off;
 				};
 
-				ldo11_reg: ldo11 {
+				ldo11_reg: LDO11 {
 					regulator-compatible = "LDO11";
 					regulator-name = "VABB1_1.95V";
 					regulator-min-microvolt = <1950000>;
@@ -143,7 +143,7 @@
 					regulator-mem-off;
 				};
 
-				ldo12_reg: ldo12 {
+				ldo12_reg: LDO12 {
 					regulator-compatible = "LDO12";
 					regulator-name = "VUOTG_3.0V";
 					regulator-min-microvolt = <3000000>;
@@ -151,7 +151,7 @@
 					regulator-mem-off;
 				};
 
-				ldo13_reg: ldo13 {
+				ldo13_reg: LDO13 {
 					regulator-compatible = "LDO13";
 					regulator-name = "NFC_AVDD_1.8V";
 					regulator-min-microvolt = <1800000>;
@@ -159,7 +159,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo14_reg: ldo14 {
+				ldo14_reg: LDO14 {
 					regulator-compatible = "LDO14";
 					regulator-name = "VABB2_1.95V";
 					regulator-min-microvolt = <1950000>;
@@ -168,7 +168,7 @@
 					regulator-mem-off;
 				};
 
-				ldo15_reg: ldo15 {
+				ldo15_reg: LDO15 {
 					regulator-compatible = "LDO15";
 					regulator-name = "VHSIC_1.0V";
 					regulator-min-microvolt = <1000000>;
@@ -176,7 +176,7 @@
 					regulator-mem-off;
 				};
 
-				ldo16_reg: ldo16 {
+				ldo16_reg: LDO16 {
 					regulator-compatible = "LDO16";
 					regulator-name = "VHSIC_1.8V";
 					regulator-min-microvolt = <1800000>;
@@ -184,7 +184,7 @@
 					regulator-mem-off;
 				};
 
-				ldo17_reg: ldo17 {
+				ldo17_reg: LDO17 {
 					regulator-compatible = "LDO17";
 					regulator-name = "CAM_SENSOR_CORE_1.2V";
 					regulator-min-microvolt = <1200000>;
@@ -192,7 +192,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo18_reg: ldo18 {
+				ldo18_reg: LDO18 {
 					regulator-compatible = "LDO18";
 					regulator-name = "CAM_ISP_SEN_IO_1.8V";
 					regulator-min-microvolt = <1800000>;
@@ -200,7 +200,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo19_reg: ldo19 {
+				ldo19_reg: LDO19 {
 					regulator-compatible = "LDO19";
 					regulator-name = "VT_CAM_1.8V";
 					regulator-min-microvolt = <1800000>;
@@ -208,7 +208,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo20_reg: ldo20 {
+				ldo20_reg: LDO20 {
 					regulator-compatible = "LDO20";
 					regulator-name = "VDDQ_PRE_1.8V";
 					regulator-min-microvolt = <1800000>;
@@ -216,7 +216,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo21_reg: ldo21 {
+				ldo21_reg: LDO21 {
 					regulator-compatible = "LDO21";
 					regulator-name = "VTF_2.8V";
 					regulator-min-microvolt = <2800000>;
@@ -224,7 +224,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo22_reg: ldo22 {
+				ldo22_reg: LDO22 {
 					regulator-compatible = "LDO22";
 					regulator-name = "VMEM_VDD_2.8V";
 					regulator-min-microvolt = <2800000>;
@@ -233,7 +233,7 @@
 					regulator-mem-off;
 				};
 
-				ldo23_reg: ldo23 {
+				ldo23_reg: LDO23 {
 					regulator-compatible = "LDO23";
 					regulator-name = "TSP_AVDD_3.3V";
 					regulator-min-microvolt = <3300000>;
@@ -241,7 +241,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo24_reg: ldo24 {
+				ldo24_reg: LDO24 {
 					regulator-compatible = "LDO24";
 					regulator-name = "TSP_VDD_1.8V";
 					regulator-min-microvolt = <1800000>;
@@ -249,7 +249,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo25_reg: ldo25 {
+				ldo25_reg: LDO25 {
 					regulator-compatible = "LDO25";
 					regulator-name = "LCD_VCC_3.3V";
 					regulator-min-microvolt = <2800000>;
@@ -257,7 +257,7 @@
 					regulator-mem-idle;
 				};
 
-				ldo26_reg: ldo26 {
+				ldo26_reg: LDO26 {
 					regulator-compatible = "LDO26";
 					regulator-name = "MOTOR_VCC_3.0V";
 					regulator-min-microvolt = <3000000>;
@@ -265,7 +265,7 @@
 					regulator-mem-idle;
 				};
 
-				buck1_reg: buck1 {
+				buck1_reg: BUCK1 {
 					regulator-compatible = "BUCK1";
 					regulator-name = "vdd_mif";
 					regulator-min-microvolt = <850000>;
@@ -275,7 +275,7 @@
 					regulator-mem-off;
 				};
 
-				buck2_reg: buck2 {
+				buck2_reg: BUCK2 {
 					regulator-compatible = "BUCK2";
 					regulator-name = "vdd_arm";
 					regulator-min-microvolt = <850000>;
@@ -285,7 +285,7 @@
 					regulator-mem-off;
 				};
 
-				buck3_reg: buck3 {
+				buck3_reg: BUCK3 {
 					regulator-compatible = "BUCK3";
 					regulator-name = "vdd_int";
 					regulator-min-microvolt = <850000>;
@@ -295,7 +295,7 @@
 					regulator-mem-off;
 				};
 
-				buck4_reg: buck4 {
+				buck4_reg: BUCK4 {
 					regulator-compatible = "BUCK4";
 					regulator-name = "vdd_g3d";
 					regulator-min-microvolt = <850000>;
@@ -304,7 +304,7 @@
 					regulator-mem-off;
 				};
 
-				buck5_reg: buck5 {
+				buck5_reg: BUCK5 {
 					regulator-compatible = "BUCK5";
 					regulator-name = "VMEM_1.2V_AP";
 					regulator-min-microvolt = <1200000>;
@@ -312,7 +312,7 @@
 					regulator-always-on;
 				};
 
-				buck6_reg: buck6 {
+				buck6_reg: BUCK6 {
 					regulator-compatible = "BUCK6";
 					regulator-name = "VCC_SUB_1.35V";
 					regulator-min-microvolt = <1350000>;
@@ -320,7 +320,7 @@
 					regulator-always-on;
 				};
 
-				buck7_reg: buck7 {
+				buck7_reg: BUCK7 {
 					regulator-compatible = "BUCK7";
 					regulator-name = "VCC_SUB_2.0V";
 					regulator-min-microvolt = <2000000>;
@@ -328,7 +328,7 @@
 					regulator-always-on;
 				};
 
-				buck8_reg: buck8 {
+				buck8_reg: BUCK8 {
 					regulator-compatible = "BUCK8";
 					regulator-name = "VMEM_VDDF_3.0V";
 					regulator-min-microvolt = <2850000>;
@@ -337,7 +337,7 @@
 					regulator-mem-off;
 				};
 
-				buck9_reg: buck9 {
+				buck9_reg: BUCK9 {
 					regulator-compatible = "BUCK9";
 					regulator-name = "CAM_ISP_CORE_1.2V";
 					regulator-min-microvolt = <1000000>;
-- 
2.5.0.rc2.392.g76e840b



More information about the U-Boot mailing list