Re: [PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators

2015-10-12 Thread Tony Lindgren
* Teresa Remmet  [150903 05:03]:
> Cleaned up the regulators on the wega board. Created a simple bus,
> renamed the regulators according to the schematics and added missing
> regulator on wega.

Applying this one into omap-for-v4.4/dt thanks.

Tony
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 2/2] ARM: dts: am335x-wega: Clean up regulators

2015-09-03 Thread Teresa Remmet
Cleaned up the regulators on the wega board. Created a simple bus,
renamed the regulators according to the schematics and added missing
regulator on wega.

Signed-off-by: Teresa Remmet 
---
 arch/arm/boot/dts/am335x-phycore-som.dtsi | 36 ---
 arch/arm/boot/dts/am335x-wega.dtsi| 13 ++-
 2 files changed, 31 insertions(+), 18 deletions(-)

diff --git a/arch/arm/boot/dts/am335x-phycore-som.dtsi 
b/arch/arm/boot/dts/am335x-phycore-som.dtsi
index 5dd084f..2f43e45 100644
--- a/arch/arm/boot/dts/am335x-phycore-som.dtsi
+++ b/arch/arm/boot/dts/am335x-phycore-som.dtsi
@@ -29,8 +29,17 @@
reg = <0x8000 0x1000>; /* 256 MB */
};
 
-   vbat: fixedregulator@0 {
-   compatible = "regulator-fixed";
+   regulators {
+   compatible = "simple-bus";
+
+   vcc5v: fixedregulator@0 {
+   compatible = "regulator-fixed";
+   regulator-name = "vcc5v";
+   regulator-min-microvolt = <500>;
+   regulator-max-microvolt = <500>;
+   regulator-boot-on;
+   regulator-always-on;
+   };
};
 };
 
@@ -233,14 +242,14 @@
 #include "tps65910.dtsi"
 
  {
-   vcc1-supply = <>;
-   vcc2-supply = <>;
-   vcc3-supply = <>;
-   vcc4-supply = <>;
-   vcc5-supply = <>;
-   vcc6-supply = <>;
-   vcc7-supply = <>;
-   vccio-supply = <>;
+   vcc1-supply = <>;
+   vcc2-supply = <>;
+   vcc3-supply = <>;
+   vcc4-supply = <>;
+   vcc5-supply = <>;
+   vcc6-supply = <>;
+   vcc7-supply = <>;
+   vccio-supply = <>;
 
regulators {
vrtc_reg: regulator@0 {
@@ -311,13 +320,6 @@
};
 };
 
- {
-   regulator-name = "vbat";
-   regulator-min-microvolt = <500>;
-   regulator-max-microvolt = <500>;
-   regulator-boot-on;
-};
-
 /* SPI Busses */
 _pinmux {
spi0_pins: pinmux_spi0 {
diff --git a/arch/arm/boot/dts/am335x-wega.dtsi 
b/arch/arm/boot/dts/am335x-wega.dtsi
index 5e541bd..2cecb39 100644
--- a/arch/arm/boot/dts/am335x-wega.dtsi
+++ b/arch/arm/boot/dts/am335x-wega.dtsi
@@ -11,6 +11,17 @@
model = "Phytec AM335x phyBOARD-WEGA";
compatible = "phytec,am335x-wega", "phytec,am335x-phycore-som", 
"ti,am33xx";
 
+   regulators {
+   compatible = "simple-bus";
+
+   vcc3v3: fixedregulator@1 {
+   compatible = "regulator-fixed";
+   regulator-name = "vcc3v3";
+   regulator-min-microvolt = <330>;
+   regulator-max-microvolt = <330>;
+   regulator-boot-on;
+   };
+   };
 };
 
 /* CAN Busses */
@@ -80,7 +91,7 @@
 };
 
  {
-   vmmc-supply = <_reg>;
+   vmmc-supply = <>;
bus-width = <4>;
pinctrl-names = "default";
pinctrl-0 = <_pins>;
-- 
1.9.1

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html