aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-10-05 20:21:10 -0400
committerKukjin Kim <kgene.kim@samsung.com>2013-10-05 20:21:35 -0400
commit8365f763a7816f0b5d04f6cabd359de14b378e52 (patch)
tree8211ef22d4cf95efc60f1d4a7f4c7073b13779f6
parentaf617c93b3975ff5b9e9a0922851dce47766da15 (diff)
ARM: dts: Add reg property to regulator nodes in exynos5250-arndale
For consistency and correctness, since this is a bus, even if not physical, it is worth to add 'reg' property and unit-address to subnodes. The 'reg' property would merely be an index. Also for consistency, use "regulator" as node name as used most commonly across other dts files. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
-rw-r--r--arch/arm/boot/dts/exynos5250-arndale.dts9
1 files changed, 6 insertions, 3 deletions
diff --git a/arch/arm/boot/dts/exynos5250-arndale.dts b/arch/arm/boot/dts/exynos5250-arndale.dts
index cee55fa33731..0c425476d4db 100644
--- a/arch/arm/boot/dts/exynos5250-arndale.dts
+++ b/arch/arm/boot/dts/exynos5250-arndale.dts
@@ -482,13 +482,15 @@
482 #address-cells = <1>; 482 #address-cells = <1>;
483 #size-cells = <0>; 483 #size-cells = <0>;
484 484
485 main_dc_reg: fixedregulator@1 { 485 main_dc_reg: regulator@0 {
486 compatible = "regulator-fixed"; 486 compatible = "regulator-fixed";
487 reg = <0>;
487 regulator-name = "MAIN_DC"; 488 regulator-name = "MAIN_DC";
488 }; 489 };
489 490
490 mmc_reg: voltage-regulator { 491 mmc_reg: regulator@1 {
491 compatible = "regulator-fixed"; 492 compatible = "regulator-fixed";
493 reg = <1>;
492 regulator-name = "VDD_33ON_2.8V"; 494 regulator-name = "VDD_33ON_2.8V";
493 regulator-min-microvolt = <2800000>; 495 regulator-min-microvolt = <2800000>;
494 regulator-max-microvolt = <2800000>; 496 regulator-max-microvolt = <2800000>;
@@ -496,8 +498,9 @@
496 enable-active-high; 498 enable-active-high;
497 }; 499 };
498 500
499 reg_hdmi_en: fixedregulator@0 { 501 reg_hdmi_en: regulator@2 {
500 compatible = "regulator-fixed"; 502 compatible = "regulator-fixed";
503 reg = <2>;
501 regulator-name = "hdmi-en"; 504 regulator-name = "hdmi-en";
502 }; 505 };
503 }; 506 };