Message ID | 20220705210143.315151-3-emil.renner.berthing@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Add HiFive Unmatched LEDs | expand |
On Tue, Jul 5, 2022 at 11:01 PM Emil Renner Berthing <emil.renner.berthing@canonical.com> wrote: > 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@canonical.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds
On Tue, 05 Jul 2022 23:01:41 +0200, Emil Renner Berthing wrote: > 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@canonical.com> > --- > .../devicetree/bindings/leds/leds-pwm-multicolor.yaml | 4 ++++ > 1 file changed, 4 insertions(+) > Reviewed-by: Rob Herring <robh@kernel.org>
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:
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@canonical.com> --- .../devicetree/bindings/leds/leds-pwm-multicolor.yaml | 4 ++++ 1 file changed, 4 insertions(+)