[PATCH] arm64: dts: rockchip: Start cooling maps numbering from zero on ROCK 5B

Dragan Simic posted 1 patch 2 months, 1 week ago
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
[PATCH] arm64: dts: rockchip: Start cooling maps numbering from zero on ROCK 5B
Posted by Dragan Simic 2 months, 1 week ago
The package cooling maps for the Radxa ROCK 5B were mistakenly named map1
and map2.  Their numbering should start from zero instead, because there are
no package cooling maps defined in the parent RK3588 SoC dtsi file, so let's
rename these cooling maps to map0 and map1.

Fixes: 4a152231b050 ("arm64: dts: rockchip: enable automatic fan control on Rock 5B")
Signed-off-by: Dragan Simic <dsimic@manjaro.org>
---
 arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
index 966bbc582d89..6bd06e46a101 100644
--- a/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts
@@ -304,12 +304,12 @@ package_fan1: package-fan1 {
 	};
 
 	cooling-maps {
-		map1 {
+		map0 {
 			trip = <&package_fan0>;
 			cooling-device = <&fan THERMAL_NO_LIMIT 1>;
 		};
 
-		map2 {
+		map1 {
 			trip = <&package_fan1>;
 			cooling-device = <&fan 2 THERMAL_NO_LIMIT>;
 		};
Re: [PATCH] arm64: dts: rockchip: Start cooling maps numbering from zero on ROCK 5B
Posted by Heiko Stuebner 1 month, 4 weeks ago
On Sat, 21 Sep 2024 23:39:05 +0200, Dragan Simic wrote:
> The package cooling maps for the Radxa ROCK 5B were mistakenly named map1
> and map2.  Their numbering should start from zero instead, because there are
> no package cooling maps defined in the parent RK3588 SoC dtsi file, so let's
> rename these cooling maps to map0 and map1.
> 
> 

Applied, thanks!

[1/1] arm64: dts: rockchip: Start cooling maps numbering from zero on ROCK 5B
      commit: 6be82067254cba14f7b9ca00613bdb7caac9501f

Best regards,
-- 
Heiko Stuebner <heiko@sntech.de>