From d3e74b2a709d2e9888845b9833b501c124c330ce Mon Sep 17 00:00:00 2001 From: Zhaoming Luo Date: Tue, 28 Apr 2026 17:40:15 +0800 Subject: [PATCH] arm64: dts: rockchip: cm3j-rpi-cm4: use emc2305,* The microchip,emc2301 driver accepts the following properties[0]: emc2305,cooling-levels emc2305,pwm-max emc2305,pwm-min emc2305,pwm-channel Because `of_property_read_u8`[0] is used, the 8 bits type needs to be explicitly stated. [0]: https://github.com/radxa/kernel/blob/e7976b5c9bd2f34e21d3cc871f54d67470e1ec42/drivers/hwmon/emc2305.c#L311-L333 Signed-off-by: Zhaoming Luo --- .../dts/rockchip/rk3568-radxa-cm3j-rpi-cm4-io.dts | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3j-rpi-cm4-io.dts b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3j-rpi-cm4-io.dts index 077a22c5e80d8..12a3e56b9a3dc 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3j-rpi-cm4-io.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-radxa-cm3j-rpi-cm4-io.dts @@ -141,15 +141,11 @@ status = "okay"; compatible = "microchip,emc2301"; reg = <0x2f>; - #address-cells = <1>; - #size-cells = <0>; #cooling-cells = <2>; - microchip,pwm-separate; - microchip,cooling-levels = <10>; - channel@0 { - reg = <0>; - pwm-min = <0>; - }; + emc2305,pwm-min = /bits/ 8 <0>; + emc2305,pwm-max = /bits/ 8 <255>; + emc2305,pwm-channel = /bits/ 8 <0>; + emc2305,cooling-levels = /bits/ 8 <10>; }; pcf85063: pcf85063@51 {