[SRU][K][PATCH 1/3] dt-bindings: leds: pwm-multicolor: Add active-low property
Emil Renner Berthing
emil.renner.berthing at canonical.com
Wed Aug 24 11:05:05 UTC 2022
BugLink: https://bugs.launchpad.net/bugs/1987513
Add the active-low property to LEDs that are part of a multicolor LED
just like the regular PWM LEDs have.
Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas at glider.be>
Signed-off-by: Pavel Machek <pavel at ucw.cz>
(cherry picked from commit 83543c6e54b9dd18950533fff730e68c19cc053a)
Signed-off-by: Emil Renner Berthing <emil.renner.berthing at canonical.com>
---
.../devicetree/bindings/leds/leds-pwm-multicolor.yaml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml b/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml
index 6625a528f727..8d614eaf5c5e 100644
--- a/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml
+++ b/Documentation/devicetree/bindings/leds/leds-pwm-multicolor.yaml
@@ -33,6 +33,10 @@ properties:
pwm-names: true
+ active-low:
+ description: For PWMs where the LED is wired to supply rather than ground.
+ type: boolean
+
color: true
required:
--
2.36.1
More information about the kernel-team
mailing list