All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846
  2015-01-29 22:07 [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846 Heiko Stübner
@ 2015-01-29 22:06 ` Daniel Lezcano
  2015-01-29 22:08 ` [PATCH 2/2] ARM: dts: rockchip: housekeeping off i2c0 on rk3288-evb boards Heiko Stübner
  2015-01-30 20:27 ` [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846 Heiko Stübner
  2 siblings, 0 replies; 4+ messages in thread
From: Daniel Lezcano @ 2015-01-29 22:06 UTC (permalink / raw)
  To: linux-arm-kernel

On 01/29/2015 11:07 PM, Heiko St?bner wrote:
> The evaluation board using the act8846 as main pmic uses two additional
> regulators to provide the cpu and gpu voltage. Add these and also add
> the link to cpu supply from vdd_cpu.
>
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>

Tested-by: Daniel Lezcano <daniel.lezcano@linaro.org>

> ---
>   arch/arm/boot/dts/rk3288-evb-act8846.dts | 25 +++++++++++++++++++++++++
>   1 file changed, 25 insertions(+)
>
> diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-evb-act8846.dts
> index a76dd44..9db02bbe 100644
> --- a/arch/arm/boot/dts/rk3288-evb-act8846.dts
> +++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts
> @@ -17,7 +17,32 @@
>   	compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
>   };
>
> +&cpu0 {
> +	cpu0-supply = <&vdd_cpu>;
> +};
> +
>   &i2c0 {
> +	vdd_cpu: syr827 at 40 {
> +		compatible = "silergy,syr827";
> +		fcs,suspend-voltage-selector = <1>;
> +		reg = <0x40>;
> +		regulator-name = "vdd_cpu";
> +		regulator-min-microvolt = <850000>;
> +		regulator-max-microvolt = <1350000>;
> +		regulator-always-on;
> +		regulator-boot-on;
> +	};
> +
> +	vdd_gpu: syr828 at 41 {
> +		compatible = "silergy,syr828";
> +		fcs,suspend-voltage-selector = <1>;
> +		reg = <0x41>;
> +		regulator-name = "vdd_gpu";
> +		regulator-min-microvolt = <850000>;
> +		regulator-max-microvolt = <1350000>;
> +		regulator-always-on;
> +	};
> +
>   	hym8563 at 51 {
>   		compatible = "haoyu,hym8563";
>   		reg = <0x51>;
>


-- 
  <http://www.linaro.org/> Linaro.org ? Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846
@ 2015-01-29 22:07 Heiko Stübner
  2015-01-29 22:06 ` Daniel Lezcano
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Heiko Stübner @ 2015-01-29 22:07 UTC (permalink / raw)
  To: linux-arm-kernel

The evaluation board using the act8846 as main pmic uses two additional
regulators to provide the cpu and gpu voltage. Add these and also add
the link to cpu supply from vdd_cpu.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm/boot/dts/rk3288-evb-act8846.dts | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-evb-act8846.dts
index a76dd44..9db02bbe 100644
--- a/arch/arm/boot/dts/rk3288-evb-act8846.dts
+++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts
@@ -17,7 +17,32 @@
 	compatible = "rockchip,rk3288-evb-act8846", "rockchip,rk3288";
 };
 
+&cpu0 {
+	cpu0-supply = <&vdd_cpu>;
+};
+
 &i2c0 {
+	vdd_cpu: syr827 at 40 {
+		compatible = "silergy,syr827";
+		fcs,suspend-voltage-selector = <1>;
+		reg = <0x40>;
+		regulator-name = "vdd_cpu";
+		regulator-min-microvolt = <850000>;
+		regulator-max-microvolt = <1350000>;
+		regulator-always-on;
+		regulator-boot-on;
+	};
+
+	vdd_gpu: syr828 at 41 {
+		compatible = "silergy,syr828";
+		fcs,suspend-voltage-selector = <1>;
+		reg = <0x41>;
+		regulator-name = "vdd_gpu";
+		regulator-min-microvolt = <850000>;
+		regulator-max-microvolt = <1350000>;
+		regulator-always-on;
+	};
+
 	hym8563 at 51 {
 		compatible = "haoyu,hym8563";
 		reg = <0x51>;
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] ARM: dts: rockchip: housekeeping off i2c0 on rk3288-evb boards
  2015-01-29 22:07 [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846 Heiko Stübner
  2015-01-29 22:06 ` Daniel Lezcano
@ 2015-01-29 22:08 ` Heiko Stübner
  2015-01-30 20:27 ` [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846 Heiko Stübner
  2 siblings, 0 replies; 4+ messages in thread
From: Heiko Stübner @ 2015-01-29 22:08 UTC (permalink / raw)
  To: linux-arm-kernel

Use the same transfer speed on both the rk808 and act8846 variants and
remove the status=okay from the rk808 one which is already set in the
shared rk3288-evb.dtsi .

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
---
 arch/arm/boot/dts/rk3288-evb-act8846.dts | 2 ++
 arch/arm/boot/dts/rk3288-evb-rk808.dts   | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/rk3288-evb-act8846.dts b/arch/arm/boot/dts/rk3288-evb-act8846.dts
index 9db02bbe..d7b8bbc 100644
--- a/arch/arm/boot/dts/rk3288-evb-act8846.dts
+++ b/arch/arm/boot/dts/rk3288-evb-act8846.dts
@@ -22,6 +22,8 @@
 };
 
 &i2c0 {
+	clock-frequency = <400000>;
+
 	vdd_cpu: syr827 at 40 {
 		compatible = "silergy,syr827";
 		fcs,suspend-voltage-selector = <1>;
diff --git a/arch/arm/boot/dts/rk3288-evb-rk808.dts b/arch/arm/boot/dts/rk3288-evb-rk808.dts
index d453ddd..3f7aa9e 100644
--- a/arch/arm/boot/dts/rk3288-evb-rk808.dts
+++ b/arch/arm/boot/dts/rk3288-evb-rk808.dts
@@ -23,7 +23,6 @@
 
 &i2c0 {
 	clock-frequency = <400000>;
-	status = "okay";
 
 	rk808: pmic at 1b {
 		compatible = "rockchip,rk808";
-- 
2.1.1

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846
  2015-01-29 22:07 [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846 Heiko Stübner
  2015-01-29 22:06 ` Daniel Lezcano
  2015-01-29 22:08 ` [PATCH 2/2] ARM: dts: rockchip: housekeeping off i2c0 on rk3288-evb boards Heiko Stübner
@ 2015-01-30 20:27 ` Heiko Stübner
  2 siblings, 0 replies; 4+ messages in thread
From: Heiko Stübner @ 2015-01-30 20:27 UTC (permalink / raw)
  To: linux-arm-kernel

Am Donnerstag, 29. Januar 2015, 23:07:47 schrieb Heiko St?bner:
> The evaluation board using the act8846 as main pmic uses two additional
> regulators to provide the cpu and gpu voltage. Add these and also add
> the link to cpu supply from vdd_cpu.
> 
> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
> ---

added both patches to my dts branch

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-30 20:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-29 22:07 [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846 Heiko Stübner
2015-01-29 22:06 ` Daniel Lezcano
2015-01-29 22:08 ` [PATCH 2/2] ARM: dts: rockchip: housekeeping off i2c0 on rk3288-evb boards Heiko Stübner
2015-01-30 20:27 ` [PATCH 1/2] ARM: dts: rockchip: add cpu and gpu regulators to rk3288-evb-act8846 Heiko Stübner

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.