diff mbox

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

Message ID 1409951525-30035-1-git-send-email-broonie@kernel.org (mailing list archive)
State New, archived
Headers show

Commit Message

Mark Brown Sept. 5, 2014, 9:12 p.m. UTC
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.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 arch/arm/boot/dts/am335x-bone-common.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Tony Lindgren Sept. 9, 2014, 12:19 a.m. UTC | #1
* Mark Brown <broonie@kernel.org> [140905 14:12]:
> 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.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>

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

Tony

> ---
>  arch/arm/boot/dts/am335x-bone-common.dtsi | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
> index bde1777b62be..fe983d204b2b 100644
> --- a/arch/arm/boot/dts/am335x-bone-common.dtsi
> +++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
> @@ -227,6 +227,7 @@
>  &tps {
>  	regulators {
>  		dcdc1_reg: regulator@0 {
> +			regulator-name = "vdds_dpr";
>  			regulator-always-on;
>  		};
>  
> @@ -249,18 +250,22 @@
>  		};
>  
>  		ldo1_reg: regulator@3 {
> +			regulator-name = "vio,vrtc,vdds";
>  			regulator-always-on;
>  		};
>  
>  		ldo2_reg: regulator@4 {
> +			regulator-name = "vdd_3v3aux";
>  			regulator-always-on;
>  		};
>  
>  		ldo3_reg: regulator@5 {
> +			regulator-name = "vdd_1v8";
>  			regulator-always-on;
>  		};
>  
>  		ldo4_reg: regulator@6 {
> +			regulator-name = "vdd_3v3a";
>  			regulator-always-on;
>  		};
>  	};
> -- 
> 2.1.0
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/arch/arm/boot/dts/am335x-bone-common.dtsi b/arch/arm/boot/dts/am335x-bone-common.dtsi
index bde1777b62be..fe983d204b2b 100644
--- a/arch/arm/boot/dts/am335x-bone-common.dtsi
+++ b/arch/arm/boot/dts/am335x-bone-common.dtsi
@@ -227,6 +227,7 @@ 
 &tps {
 	regulators {
 		dcdc1_reg: regulator@0 {
+			regulator-name = "vdds_dpr";
 			regulator-always-on;
 		};
 
@@ -249,18 +250,22 @@ 
 		};
 
 		ldo1_reg: regulator@3 {
+			regulator-name = "vio,vrtc,vdds";
 			regulator-always-on;
 		};
 
 		ldo2_reg: regulator@4 {
+			regulator-name = "vdd_3v3aux";
 			regulator-always-on;
 		};
 
 		ldo3_reg: regulator@5 {
+			regulator-name = "vdd_1v8";
 			regulator-always-on;
 		};
 
 		ldo4_reg: regulator@6 {
+			regulator-name = "vdd_3v3a";
 			regulator-always-on;
 		};
 	};