lkml.org 
[lkml]   [2017]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH v2 2/6] ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb
Date
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

\
 
 \ /
  Last update: 2017-07-13 01:57    [W:0.077 / U:1.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site