[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20201208095200.lkyxqzgh5wzjjz7c@gilmour>
Date: Tue, 8 Dec 2020 10:52:00 +0100
From: Maxime Ripard <maxime@...no.tech>
To: Shuosheng Huang <huangshuosheng@...winnertech.com>
Cc: robh+dt@...nel.org, wens@...e.org, jernej.skrabec@...l.net,
tiny.windzz@...il.com, devicetree@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v4 6/6] arm64: dts: allwinner: a100: Enable cpufreq on
a100
On Tue, Dec 08, 2020 at 03:21:38PM +0800, Shuosheng Huang wrote:
> Enable cpufreq for all CPU cores on a100.
>
> Signed-off-by: Shuosheng Huang <huangshuosheng@...winnertech.com>
> ---
> .../allwinner/sun50i-a100-allwinner-perf1.dts | 16 ++++++++++++++++
> arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi | 6 +++---
> 2 files changed, 19 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
> index 301793c72cb7..62a770f1a979 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100-allwinner-perf1.dts
> @@ -21,6 +21,22 @@ chosen {
> };
> };
>
> +&cpu0 {
> + cpu-supply = <®_dcdc2>;
> +};
> +
> +&cpu1 {
> + cpu-supply = <®_dcdc2>;
> +};
> +
> +&cpu2 {
> + cpu-supply = <®_dcdc2>;
> +};
> +
> +&cpu3 {
> + cpu-supply = <®_dcdc2>;
> +};
> +
> &pio {
> vcc-pb-supply = <®_dcdc1>;
> vcc-pc-supply = <®_eldo1>;
> diff --git a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
> index 8f370a175ce6..c6ff172bf599 100644
> --- a/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
> +++ b/arch/arm64/boot/dts/allwinner/sun50i-a100.dtsi
> @@ -26,7 +26,7 @@ cpu0: cpu@0 {
> clocks = <&ccu CLK_CPUX>;
> };
>
> - cpu@1 {
> + cpu1: cpu@1 {
You're using these labels in the previous patch, it should be added there.
Maxime
Download attachment "signature.asc" of type "application/pgp-signature" (229 bytes)
Powered by blists - more mailing lists