diff mbox series

[v3,03/11] ARM: dts: sun8i: sina33: add cpu-supply

Message ID 20170321153611.16228-4-quentin.schulz@free-electrons.com
State Accepted
Commit bc57e37e32186e4914ed0af832c1d7d71aa4cefb
Headers show
Series None | expand

Commit Message

Quentin Schulz March 21, 2017, 3:36 p.m. UTC
This adds the cpu-supply DT property to the cpu0 DT node needed by
the board to adapt the regulator voltage depending on the currently used
OPP.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

---
 arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.9.3

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

Comments

Maxime Ripard March 22, 2017, 7:17 a.m. UTC | #1
On Wed, Mar 22, 2017 at 11:33:15AM +0800, Chen-Yu Tsai wrote:
> On Tue, Mar 21, 2017 at 11:36 PM, Quentin Schulz

> <quentin.schulz@free-electrons.com> wrote:

> > This adds the cpu-supply DT property to the cpu0 DT node needed by

> > the board to adapt the regulator voltage depending on the currently used

> > OPP.

> >

> > Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>

> 

> Acked-by: Chen-Yu Tsai <wens@csie.org>


Applied, thanks!
Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
index cde14b3..d84f1bd 100644
--- a/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
+++ b/arch/arm/boot/dts/sun8i-a33-sinlinx-sina33.dts
@@ -83,6 +83,10 @@ 
 	status = "okay";
 };
 
+&cpu0 {
+	cpu-supply = <&reg_dcdc3>;
+};
+
 &de {
 	status = "okay";
 };