Skip to content

leds: pwm: Add default-brightness property

George Stark linux-devicetree linux-leds lkml 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/22 patches 3 repliesApplied
  2. v2 posting 1/22 patches 3 repliesSuperseded
  3. v12 patches 3 repliesSuperseded

Changes in v2 from the cover letter

leds: pwm: Add optional DT property default-brightness
- refactor patch to make it more accurate
link to v1: [1]

[1] https://lore.kernel.org/lkml/[email protected]/T/

Patches in v2 posting 2/2 Applied

#Subject and filesSizeRepliesApplied
1/2dt-bindings: leds: pwm: Add default-brightness propertyDocumentation/devicetree/bindings/leds/leds-pwm.yaml+6 -00 replies
2/2leds: pwm: Add optional DT property default-brightnessdrivers/leds/leds-pwm.c+16 -11 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRob Herring (Arm)
1/2A-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [RESEND PATCH v2 0/2] leds: pwm: Add default-brightness property

led-pwm driver supports default-state DT property and if that state is on then the driver during initialization turns on the LED setting maximum brightness. Sometimes it's desirable to use lower initial brightness.
This patch series adds support for DT property default-brightness.

Things to discuss:
If such a property is acceptable it could be moved to leds/common.yaml due to several drivers support multiple brightness levels and could support the property too.

Changes in v2:
leds: pwm: Add optional DT property default-brightness
- refactor patch to make it more accurate
link to v1: [1]

[1] https://lore.kernel.org/lkml/[email protected]/T/

George Stark (2):
dt-bindings: leds: pwm: Add default-brightness property
leds: pwm: Add optional DT property default-brightness

 .../devicetree/bindings/leds/leds-pwm.yaml      |  6 ++++++
 drivers/leds/leds-pwm.c                         | 17 ++++++++++++++++-
 2 files changed, 22 insertions(+), 1 deletion(-)

--
2.25.1