openwrt/target/linux/bcm27xx/patches-6.6/950-0788-ARM-dts-bcm2712-PWM-references-include-polarity.patch
Álvaro Fernández Rojas 8c405cdccc bcm27xx: add 6.6 kernel patches
The patches were generated from the RPi repo with the following command:
git format-patch v6.6.34..rpi-6.1.y

Some patches needed rebasing and, as usual, the applied and reverted, wireless
drivers, Github workflows, READMEs and defconfigs patches were removed.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2024-06-18 18:52:49 +02:00

24 lines
726 B
Diff

From d8be616ac9444f9dfef9e027fccad8c379b49433 Mon Sep 17 00:00:00 2001
From: Phil Elwell <phil@raspberrypi.com>
Date: Fri, 8 Dec 2023 15:29:38 +0000
Subject: [PATCH 0788/1085] ARM: dts: bcm2712: PWM references include polarity
Increase #pwm-cells to 3 to allow for the extra polarity word.
Signed-off-by: Phil Elwell <phil@raspberrypi.com>
---
arch/arm/boot/dts/broadcom/bcm2712.dtsi | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/arch/arm/boot/dts/broadcom/bcm2712.dtsi
+++ b/arch/arm/boot/dts/broadcom/bcm2712.dtsi
@@ -628,7 +628,7 @@
pwm_aon: pwm@7d517a80 {
compatible = "brcm,bcm7038-pwm";
reg = <0x7d517a80 0x28>;
- #pwm-cells = <2>;
+ #pwm-cells = <3>;
clocks = <&clk_27MHz>;
};