[PATCH 2/2] arm64: dts: rockchip: Label the fans on Kobol Helios64
Igor Velkov via B4 Relay
devnull+iav.iav.lv at kernel.org
Sat Oct 17 21:55:00 PDT 2026
From: Igor Velkov <iav at iav.lv>
Name each fan after the header it plugs into, so that userspace can
tell the two apart through the hwmon label attribute.
Assisted-by: LLM
Signed-off-by: Igor Velkov <iav at iav.lv>
---
arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
index 63ad79b4c8ac..a206827903e9 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-kobol-helios64.dts
@@ -70,8 +70,8 @@ clkin_gmac: external-gmac-clock {
};
fan1 {
- /* fan connected to P7 */
compatible = "pwm-fan";
+ label = "P7";
pwms = <&pwm0 0 40000 0>;
cooling-levels = <0 80 170 255>;
interrupt-parent = <&gpio4>;
@@ -81,8 +81,8 @@ fan1 {
};
fan2 {
- /* fan connected to P6 */
compatible = "pwm-fan";
+ label = "P6";
pwms = <&pwm1 0 40000 0>;
cooling-levels = <0 80 170 255>;
interrupt-parent = <&gpio4>;
--
2.43.0
More information about the Linux-rockchip
mailing list