d042310d60d716ea7572f32928112af6cad0284c
[openwrt/staging/jow.git] /
1 From dbddf5d0389a11cc403289fbb55eb5740ff3ea46 Mon Sep 17 00:00:00 2001
2 From: Dave Stevenson <dave.stevenson@raspberrypi.com>
3 Date: Fri, 21 Apr 2023 15:51:56 +0100
4 Subject: [PATCH] dtoverlays: Change i2c-fan pwm-max/min overrides to
5 u8
6
7 The driver is only reading a u8, so change the overlay to match.
8
9 Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
10 ---
11 arch/arm/boot/dts/overlays/i2c-fan-overlay.dts | 4 ++--
12 1 file changed, 2 insertions(+), 2 deletions(-)
13
14 --- a/arch/arm/boot/dts/overlays/i2c-fan-overlay.dts
15 +++ b/arch/arm/boot/dts/overlays/i2c-fan-overlay.dts
16 @@ -94,8 +94,8 @@
17 i2c6 = <&frag100>, "target?=0",
18 <&frag100>, "target-path=i2c6";
19 addr = <&emc2301>,"reg:0";
20 - minpwm = <&emc2301>,"emc2305,pwm-min;0";
21 - maxpwm = <&emc2301>,"emc2305,pwm-max;0";
22 + minpwm = <&emc2301>,"emc2305,pwm-min.0";
23 + maxpwm = <&emc2301>,"emc2305,pwm-max.0";
24 midtemp = <&fanmid0>,"temperature:0";
25 midtemp_hyst = <&fanmid0>,"hysteresis:0";
26 maxtemp = <&fanmax0>,"temperature:0";