1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-15 04:42:02 +00:00
openmptcprouter/6.6/target/linux/bcm27xx/patches-6.6/0787-overlays-rpi-poe-Add-PWM-polarity-value.patch
Ycarus (Yannick Chabanois) 12de1d2995 Add RPI kernel 6.6 support
2024-04-05 20:55:33 +02:00

29 lines
941 B
Diff

From e951bdb8b1b93e288c0147a722a22017d63e3f17 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Fri, 8 Dec 2023 15:16:39 +0000
Subject: [PATCH 0787/1002] overlays: rpi-poe: Add PWM polarity value
Newer kernels expect PWM references to include a polarity value as the
third parameter.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/overlays/rpi-poe-overlay.dts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts b/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
index a4530c10dd42..cfd9fe37e108 100644
--- a/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
+++ b/arch/arm/boot/dts/overlays/rpi-poe-overlay.dts
@@ -14,7 +14,7 @@ fan: pwm-fan {
compatible = "pwm-fan";
cooling-levels = <0 1 10 100 255>;
#cooling-cells = <2>;
- pwms = <&fwpwm 0 80000>;
+ pwms = <&fwpwm 0 80000 0>;
};
};
};
--
2.44.0