[PATCH] ARM: sunxi: Add CPU regulator for cpufreq

Chen-Yu Tsai wens at csie.org
Tue Jan 12 06:17:31 PST 2016


On Tue, Jan 12, 2016 at 9:59 PM, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> The current DT doesn't have a phandle to the CPU regulator in the CPU node,
> which disables the CPU voltage scaling entirely.

Commit message doesn't say which chip (family).

ChenYu

> Add that phandle.
>
> Signed-off-by: Maxime Ripard <maxime.ripard at free-electrons.com>
> ---
>  arch/arm/boot/dts/sun5i-r8-chip.dts | 4 ++++
>  1 file changed, 4 insertions(+)
>
> diff --git a/arch/arm/boot/dts/sun5i-r8-chip.dts b/arch/arm/boot/dts/sun5i-r8-chip.dts
> index 530ab28e9ca2..f6898c6b84d4 100644
> --- a/arch/arm/boot/dts/sun5i-r8-chip.dts
> +++ b/arch/arm/boot/dts/sun5i-r8-chip.dts
> @@ -70,6 +70,10 @@
>         status = "okay";
>  };
>
> +&cpu0 {
> +       cpu-supply = <&reg_dcdc2>;
> +};
> +
>  &ehci0 {
>         status = "okay";
>  };
> --
> 2.6.4
>



More information about the linux-arm-kernel mailing list