diff mbox

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

Message ID 1417459046-13725-1-git-send-email-romain.perier@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Romain Perier Dec. 1, 2014, 6:37 p.m. UTC
Signed-off-by: Romain Perier <romain.perier@gmail.com>
---
 arch/arm/boot/dts/rk3066a-marsboard.dts | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

Comments

Heiko Stübner Dec. 2, 2014, 5:01 p.m. UTC | #1
Am Montag, 1. Dezember 2014, 18:37:26 schrieb Romain Perier:
> Signed-off-by: Romain Perier <romain.perier@gmail.com>

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.


> ---
>  arch/arm/boot/dts/rk3066a-marsboard.dts | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts
> b/arch/arm/boot/dts/rk3066a-marsboard.dts index f766024..5999708 100644
> --- a/arch/arm/boot/dts/rk3066a-marsboard.dts
> +++ b/arch/arm/boot/dts/rk3066a-marsboard.dts
> @@ -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@0 {
Romain Perier Dec. 2, 2014, 6:38 p.m. UTC | #2
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 <heiko@sntech.de>:
> Am Montag, 1. Dezember 2014, 18:37:26 schrieb Romain Perier:
>> Signed-off-by: Romain Perier <romain.perier@gmail.com>
>
> 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.
>
>
>> ---
>>  arch/arm/boot/dts/rk3066a-marsboard.dts | 14 ++++++++++++++
>>  1 file changed, 14 insertions(+)
>>
>> diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts
>> b/arch/arm/boot/dts/rk3066a-marsboard.dts index f766024..5999708 100644
>> --- a/arch/arm/boot/dts/rk3066a-marsboard.dts
>> +++ b/arch/arm/boot/dts/rk3066a-marsboard.dts
>> @@ -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@0 {
>
diff mbox

Patch

diff --git a/arch/arm/boot/dts/rk3066a-marsboard.dts b/arch/arm/boot/dts/rk3066a-marsboard.dts
index f766024..5999708 100644
--- a/arch/arm/boot/dts/rk3066a-marsboard.dts
+++ b/arch/arm/boot/dts/rk3066a-marsboard.dts
@@ -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@0 {