Skip to contentSkip to conversation

ARM: dts: am335x-boneblack: Add names for remaining regulators

PATCH New Mark Brown 2 participants 2 messages Sep 5, 2014 – Sep 9, 2014 Device tree bindings

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

PATCH 1/1 ARM: dts: am335x-boneblack: Add names for remaining regulators

Add regulator-name properties for the regulators that don't have them, allowing the kernel to display the name from the schematic rather than the name of the regulator on the PMIC in order to improve diagnostics.

---
 arch/arm/boot/dts/am335x-bone-common.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/am335x-bone-common.dtsi +5 -0
index bde1777b62be..fe983d204b2b 100644
@@ -227,6 +227,7 @@
 &tps {
 	regulators {
 		dcdc1_reg: regulator at 0 {
+			regulator-name = "vdds_dpr";
 			regulator-always-on;
 		};
 
@@ -249,18 +250,22 @@
 		};
 
 		ldo1_reg: regulator at 3 {
+			regulator-name = "vio,vrtc,vdds";
 			regulator-always-on;
 		};
 
 		ldo2_reg: regulator at 4 {
+			regulator-name = "vdd_3v3aux";
 			regulator-always-on;
 		};
 
 		ldo3_reg: regulator at 5 {
+			regulator-name = "vdd_1v8";
 			regulator-always-on;
 		};
 
 		ldo4_reg: regulator at 6 {
+			regulator-name = "vdd_3v3a";
 			regulator-always-on;
 		};
 	};
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 ARM: dts: am335x-boneblack: Add names for remaining regulators

Quoted 5 lines · Mark Brown

Add regulator-name properties for the regulators that don't have them, allowing the kernel to display the name from the schematic rather than the name of the regulator on the PMIC in order to improve diagnostics.

Applying into omap-for-v3.18/dt thanks.

Tony

Quoted 42 lines
---
 arch/arm/boot/dts/am335x-bone-common.dtsi | 5 +++++
 1 file changed, 5 insertions(+)
arch/arm/boot/dts/am335x-bone-common.dtsi +5 -0
index bde1777b62be..fe983d204b2b 100644
@@ -227,6 +227,7 @@
 &tps {
 	regulators {
 		dcdc1_reg: regulator at 0 {
+			regulator-name = "vdds_dpr";
 			regulator-always-on;
 		};
 
@@ -249,18 +250,22 @@
 		};
 
 		ldo1_reg: regulator at 3 {
+			regulator-name = "vio,vrtc,vdds";
 			regulator-always-on;
 		};
 
 		ldo2_reg: regulator at 4 {
+			regulator-name = "vdd_3v3aux";
 			regulator-always-on;
 		};
 
 		ldo3_reg: regulator at 5 {
+			regulator-name = "vdd_1v8";
 			regulator-always-on;
 		};
 
 		ldo4_reg: regulator at 6 {
+			regulator-name = "vdd_3v3a";
 			regulator-always-on;
 		};
 	};
Signature · 1 line
2.1.0