2022-07-05 21:21:37

by Emil Renner Berthing

[permalink] [raw]
Subject: [PATCH v1 2/4] dt-bindings: leds: pwm-multicolor: Add active-low property

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 <[email protected]>
---
.../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.37.0


2022-07-06 07:38:32

by Geert Uytterhoeven

[permalink] [raw]
Subject: Re: [PATCH v1 2/4] dt-bindings: leds: pwm-multicolor: Add active-low property

On Tue, Jul 5, 2022 at 11:01 PM Emil Renner Berthing
<[email protected]> 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 <[email protected]>

Reviewed-by: Geert Uytterhoeven <[email protected]>

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

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

2022-07-06 16:56:12

by Rob Herring (Arm)

[permalink] [raw]
Subject: Re: [PATCH v1 2/4] dt-bindings: leds: pwm-multicolor: Add active-low property

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 <[email protected]>
> ---
> .../devicetree/bindings/leds/leds-pwm-multicolor.yaml | 4 ++++
> 1 file changed, 4 insertions(+)
>

Reviewed-by: Rob Herring <[email protected]>