[PATCH v2 2/6] ARM: dts: rockchip: add cpu-supply property for cpu node of rk3229-evb
Heiko Stuebner
heiko at sntech.de
Wed Jul 12 16:56:45 PDT 2017
Am Mittwoch, 5. Juli 2017, 16:30:17 CEST schrieb Frank Wang:
> From: Finley Xiao <finley.xiao at 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 at 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
More information about the Linux-rockchip
mailing list