2021-11-25 13:12:46

by Viacheslav

[permalink] [raw]
Subject: [PATCH] arm64: meson: fix dts for JetHub D1

Fix misplace of cpu_cooling_maps for JetHub D1, move it to right place.

Signed-off-by: Vyacheslav Bocharov <[email protected]>
---
.../amlogic/meson-axg-jethome-jethub-j100.dts | 30 +++++++++----------
1 file changed, 15 insertions(+), 15 deletions(-)

diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts
index 52ebe371df26..561eec21b4de 100644
--- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts
+++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts
@@ -134,23 +134,23 @@ cpu_critical: cpu-critical {
type = "critical";
};
};
- };

- cpu_cooling_maps: cooling-maps {
- map0 {
- trip = <&cpu_passive>;
- cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
- <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
- <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
- <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
- };
+ cpu_cooling_maps: cooling-maps {
+ map0 {
+ trip = <&cpu_passive>;
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };

- map1 {
- trip = <&cpu_hot>;
- cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
- <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
- <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
- <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ map1 {
+ trip = <&cpu_hot>;
+ cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
+ <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
+ };
};
};
};
--
2.30.2



2021-11-30 10:38:29

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] arm64: meson: fix dts for JetHub D1

On 25/11/2021 14:02, Vyacheslav Bocharov wrote:
> Fix misplace of cpu_cooling_maps for JetHub D1, move it to right place.
>
> Signed-off-by: Vyacheslav Bocharov <[email protected]>
> ---
> .../amlogic/meson-axg-jethome-jethub-j100.dts | 30 +++++++++----------
> 1 file changed, 15 insertions(+), 15 deletions(-)
>
> diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts
> index 52ebe371df26..561eec21b4de 100644
> --- a/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts
> +++ b/arch/arm64/boot/dts/amlogic/meson-axg-jethome-jethub-j100.dts
> @@ -134,23 +134,23 @@ cpu_critical: cpu-critical {
> type = "critical";
> };
> };
> - };
>
> - cpu_cooling_maps: cooling-maps {
> - map0 {
> - trip = <&cpu_passive>;
> - cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> - <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> - <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> - <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> - };
> + cpu_cooling_maps: cooling-maps {
> + map0 {
> + trip = <&cpu_passive>;
> + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> + };
>
> - map1 {
> - trip = <&cpu_hot>;
> - cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> - <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> - <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> - <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> + map1 {
> + trip = <&cpu_hot>;
> + cooling-device = <&cpu0 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu1 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu2 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>,
> + <&cpu3 THERMAL_NO_LIMIT THERMAL_NO_LIMIT>;
> + };
> };
> };
> };
>

Reviewed-by: Neil Armstrong <[email protected]>

2021-11-30 10:43:22

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] arm64: meson: fix dts for JetHub D1

Hi,

On Thu, 25 Nov 2021 16:02:47 +0300, Vyacheslav Bocharov wrote:
> Fix misplace of cpu_cooling_maps for JetHub D1, move it to right place.
>
>

Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.17/dt64)

[1/1] arm64: meson: fix dts for JetHub D1
https://git.kernel.org/amlogic/c/03caf87822220b4e22c349d170881d122df0b349

--
Neil

2021-11-30 18:49:24

by Viacheslav

[permalink] [raw]
Subject: Re: [PATCH] arm64: meson: fix dts for JetHub D1



30.11.2021 13:43, Neil Armstrong пишет:
> Hi,
>
> On Thu, 25 Nov 2021 16:02:47 +0300, Vyacheslav Bocharov wrote:
>> Fix misplace of cpu_cooling_maps for JetHub D1, move it to right place.
>>
>>
>
> Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.17/dt64)
Thanks. Could the patch get into 5.16?

>
> [1/1] arm64: meson: fix dts for JetHub D1
> https://git.kernel.org/amlogic/c/03caf87822220b4e22c349d170881d122df0b349
>

2021-12-01 09:26:27

by Neil Armstrong

[permalink] [raw]
Subject: Re: [PATCH] arm64: meson: fix dts for JetHub D1

On 30/11/2021 19:48, Vyacheslav wrote:
>
>
> 30.11.2021 13:43, Neil Armstrong пишет:
>> Hi,
>>
>> On Thu, 25 Nov 2021 16:02:47 +0300, Vyacheslav Bocharov wrote:
>>> Fix misplace of cpu_cooling_maps for JetHub D1, move it to right place.
>>>
>>>
>>
>> Thanks, Applied to https://git.kernel.org/pub/scm/linux/kernel/git/amlogic/linux.git (v5.17/dt64)
> Thanks. Could the patch get into 5.16?
>
>>
>> [1/1] arm64: meson: fix dts for JetHub D1
>>        https://git.kernel.org/amlogic/c/03caf87822220b4e22c349d170881d122df0b349
>>

Moved to v5.16/fixes with fixes tag:
Fixes: 8e279fb29039 ("arm64: dts: meson-axg: add support for JetHub D1")

Neil