overlays: Correct for #pwm-cells = 3
authorPhil Elwell <phil@raspberrypi.com>
Mon, 18 Sep 2023 15:39:33 +0000 (16:39 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:33:39 +0000 (11:33 +0000)
An upstream commit changed #pwm-cells for the BCM2835 PWMs to 3, so as
to accomodate the polarity. Add a zero to all references to the PWMs
to indicate normal polarity.

Signed-off-by: Phil Elwell <phil@raspberrypi.com>
arch/arm/boot/dts/overlays/cutiepi-panel-overlay.dts
arch/arm/boot/dts/overlays/mipi-dbi-spi-overlay.dts
arch/arm/boot/dts/overlays/pwm-ir-tx-overlay.dts
arch/arm/boot/dts/overlays/vc4-kms-dpi.dtsi
arch/arm/boot/dts/overlays/watterott-display-overlay.dts

index 6f9694e..d14c369 100644 (file)
@@ -60,7 +60,7 @@
                 compatible = "pwm-backlight";
                 brightness-levels = <0 6 8 12 16 24 32 40 48 64 96 128 160 192 224 255>;
                 default-brightness-level = <6>;
-                pwms = <&pwm 0 200000>;
+                pwms = <&pwm 0 200000 0>;
                 power-supply = <&vdd_3v3_reg>;
                 status = "okay";
             };
index 040f76d..63fb3a5 100644 (file)
@@ -81,7 +81,7 @@
                                compatible = "pwm-backlight";
                                brightness-levels = <0 6 8 12 16 24 32 40 48 64 96 128 160 192 224 255>;
                                default-brightness-level = <15>;
-                               pwms = <&pwm 0 200000>;
+                               pwms = <&pwm 0 200000 0>;
                        };
                };
        };
index 119caf7..33597eb 100644 (file)
@@ -28,7 +28,7 @@
                __overlay__ {
                        pwm-ir-transmitter {
                                compatible = "pwm-ir-tx";
-                               pwms = <&pwm 0 100>;
+                               pwms = <&pwm 0 100 0>;
                        };
                };
        };
index 27bb765..67c884d 100644 (file)
@@ -66,7 +66,7 @@
                                compatible = "pwm-backlight";
                                brightness-levels = <0 6 8 12 16 24 32 40 48 64 96 128 160 192 224 255>;
                                default-brightness-level = <16>;
-                               pwms = <&pwm 0 200000>;
+                               pwms = <&pwm 0 200000 0>;
                        };
                };
        };
index c0e20af..4388706 100644 (file)
                                compatible = "pwm-backlight";
                                brightness-levels = <0 6 8 12 16 24 32 40 48 64 96 128 160 192 224 255>;
                                default-brightness-level = <16>;
-                               pwms = <&pwm 0 200000>;
+                               pwms = <&pwm 0 200000 0>;
                        };
                };
        };