Skip to contentSkip to conversation

ARM: dts: rockchip: Add input voltage supply regulators in pmic for Marsboard

PATCH New Romain Perier 2 participants 3 messages Dec 1, 2014 – Dec 2, 2014 Device tree bindings

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: dts: rockchip: Add input voltage supply regulators in pmic for Marsboard

---
 arch/arm/boot/dts/rk3066a-marsboard.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
arch/arm/boot/dts/rk3066a-marsboard.dts +14 -0
index f766024..5999708 100644
@@ -60,6 +60,14 @@
 		startup-delay-us = <100000>;
 		vin-supply = <&vcc_io>;
 	};
+
+	vsys: vsys-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "vsys";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+	};
 };
 
 &i2c1 {
@@ -72,8 +80,14 @@
 		interrupt-parent = <&gpio6>;
 		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
 
+		vcc1-supply = <&vsys>;
+		vcc2-supply = <&vsys>;
+		vcc3-supply = <&vsys>;
+		vcc4-supply = <&vsys>;
 		vcc5-supply = <&vcc_io>;
 		vcc6-supply = <&vcc_io>;
+		vcc7-supply = <&vsys>;
+		vccio-supply = <&vsys>;
 
 		regulators {
 			vcc_rtc: regulator at 0 {
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/1 ARM: dts: rockchip: Add input voltage supply regulators in pmic for Marsboard

Am Montag, 1. Dezember 2014, 18:37:26 schrieb Romain Perier:

Quoted 1 line

applied to my dts branch, after adding a oneline commit message. It's always nice to provide some sort of commit message instead of leaving it empty.

Quoted 38 lines
---
 arch/arm/boot/dts/rk3066a-marsboard.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/rk3066a-marsboard.dts index f766024..5999708 100644

arch/arm/boot/dts/rk3066a-marsboard.dts +14 -0
@@ -60,6 +60,14 @@
 		startup-delay-us = <100000>;
 		vin-supply = <&vcc_io>;
 	};
+
+	vsys: vsys-regulator {
+		compatible = "regulator-fixed";
+		regulator-name = "vsys";
+		regulator-min-microvolt = <5000000>;
+		regulator-max-microvolt = <5000000>;
+		regulator-boot-on;
+	};
 };
 
 &i2c1 {
@@ -72,8 +80,14 @@
 		interrupt-parent = <&gpio6>;
 		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
 
+		vcc1-supply = <&vsys>;
+		vcc2-supply = <&vsys>;
+		vcc3-supply = <&vsys>;
+		vcc4-supply = <&vsys>;
 		vcc5-supply = <&vcc_io>;
 		vcc6-supply = <&vcc_io>;
+		vcc7-supply = <&vsys>;
+		vccio-supply = <&vsys>;
 
 		regulators {
 			vcc_rtc: regulator at 0 {
#2 lore raw

PATCH 1/1 ARM: dts: rockchip: Add input voltage supply regulators in pmic for Marsboard

Oh yeah sorry about that. I thought that it was clear enough... It's noted for next patches.

Romain

2014-12-02 18:01 GMT+01:00 Heiko St?bner <[email protected]>:

Quoted 47 lines

Am Montag, 1. Dezember 2014, 18:37:26 schrieb Romain Perier:

Quoted 1 line

applied to my dts branch, after adding a oneline commit message. It's always nice to provide some sort of commit message instead of leaving it empty.

Quoted 38 lines
---
 arch/arm/boot/dts/rk3066a-marsboard.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
(quoted diff) +0 -0

b/arch/arm/boot/dts/rk3066a-marsboard.dts index f766024..5999708 100644

arch/arm/boot/dts/rk3066a-marsboard.dts +14 -0
@@ -60,6 +60,14 @@
              startup-delay-us = <100000>;
              vin-supply = <&vcc_io>;
      };
+
+     vsys: vsys-regulator {
+             compatible = "regulator-fixed";
+             regulator-name = "vsys";
+             regulator-min-microvolt = <5000000>;
+             regulator-max-microvolt = <5000000>;
+             regulator-boot-on;
+     };
 };
 
 &i2c1 {
@@ -72,8 +80,14 @@
              interrupt-parent = <&gpio6>;
              interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
 
+             vcc1-supply = <&vsys>;
+             vcc2-supply = <&vsys>;
+             vcc3-supply = <&vsys>;
+             vcc4-supply = <&vsys>;
              vcc5-supply = <&vcc_io>;
              vcc6-supply = <&vcc_io>;
+             vcc7-supply = <&vsys>;
+             vccio-supply = <&vsys>;
 
              regulators {
                      vcc_rtc: regulator at 0 {