lkml.org 
[lkml]   [2023]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] arm64: dts: mediatek: Add cpufreq nodes for MT8192
From
Il 20/02/23 03:19, Allen-KH Cheng ha scritto:
> Add the cpufreq nodes for MT8192 SoC.
>
> Signed-off-by: Allen-KH Cheng <allen-kh.cheng@mediatek.com>
> ---
> Fix a address warning on dtbs_check
> https://patchwork.kernel.org/project/linux-mediatek/patch/1609223471-24325-1-git-send-email-andrew-sh.cheng@mediatek.com/
> [Allen-KH Cheng <allen-kh.cheng@mediatek.com>]
> ---
> ---
> arch/arm64/boot/dts/mediatek/mt8192.dtsi | 14 ++++++++++++++
> 1 file changed, 14 insertions(+)
>
> diff --git a/arch/arm64/boot/dts/mediatek/mt8192.dtsi b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> index 424fc89cc6f7..181ec2db7a69 100644
> --- a/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> +++ b/arch/arm64/boot/dts/mediatek/mt8192.dtsi
> @@ -55,6 +55,7 @@ cpu0: cpu@0 {
> clock-frequency = <1701000000>;
> cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
> next-level-cache = <&l2_0>;
> + performance-domains = <&performance 1>;

There's a mistake here: this should be <&performance 0>;

> capacity-dmips-mhz = <530>;
> };
>
> @@ -66,6 +67,7 @@ cpu1: cpu@100 {
> clock-frequency = <1701000000>;
> cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
> next-level-cache = <&l2_0>;
> + performance-domains = <&performance 1>;

Same here

> capacity-dmips-mhz = <530>;
> };
>
> @@ -77,6 +79,7 @@ cpu2: cpu@200 {
> clock-frequency = <1701000000>;
> cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
> next-level-cache = <&l2_0>;
> + performance-domains = <&performance 1>;

and here

> capacity-dmips-mhz = <530>;
> };
>
> @@ -88,6 +91,7 @@ cpu3: cpu@300 {
> clock-frequency = <1701000000>;
> cpu-idle-states = <&cpu_sleep_l &cluster_sleep_l>;
> next-level-cache = <&l2_0>;
> + performance-domains = <&performance 1>;

....and here.

Regards,
Angelo

\
 
 \ /
  Last update: 2023-03-27 00:28    [W:0.065 / U:0.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site