]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
arm64: dts: rockchip: Start cooling maps numbering from zero on ROCK 5B
authorDragan Simic <dsimic@manjaro.org>
Sat, 21 Sep 2024 21:39:05 +0000 (23:39 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 30 Sep 2024 10:22:58 +0000 (12:22 +0200)
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>
Link: https://lore.kernel.org/r/335ecd5841ab55f333e17bb391d0e1264fac257b.1726954592.git.dsimic@manjaro.org
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3588-rock-5b.dts

index 966bbc582d89b89c0c4847132ce789d6af1cb847..6bd06e46a101d096ca76e77046df8b89b9194f52 100644 (file)
        };
 
        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>;
                };