Message ID | 1499243421-21460-3-git-send-email-frank.wang@rock-chips.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Am Mittwoch, 5. Juli 2017, 16:30:17 CEST schrieb Frank Wang: > From: Finley Xiao <finley.xiao@rock-chips.com> > > This patch adds the cpu-supply property so that cpu can do dvfs > on rk3229-evb board. > > Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> > --- > arch/arm/boot/dts/rk3229-evb.dts | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts > index 394be63..17385d8 100644 > --- a/arch/arm/boot/dts/rk3229-evb.dts > +++ b/arch/arm/boot/dts/rk3229-evb.dts > @@ -141,6 +141,10 @@ > }; > }; > > +&cpu0 { > + cpu-supply = <&vdd_arm>; > +}; > + applied for 4.14 after adding the same for cpu1-cpu3 . The supply is a property of the cpu-core, so each should have the reference even though the Linux cpufreq driver taking the regulator from cpu0. Heiko
diff --git a/arch/arm/boot/dts/rk3229-evb.dts b/arch/arm/boot/dts/rk3229-evb.dts index 394be63..17385d8 100644 --- a/arch/arm/boot/dts/rk3229-evb.dts +++ b/arch/arm/boot/dts/rk3229-evb.dts @@ -141,6 +141,10 @@ }; }; +&cpu0 { + cpu-supply = <&vdd_arm>; +}; + &gmac { assigned-clocks = <&cru SCLK_MAC_EXTCLK>, <&cru SCLK_MAC>; assigned-clock-parents = <&ext_gmac>, <&cru SCLK_MAC_EXTCLK>;