leds: pwm: Add default-brightness property
Status from this message: Applied, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest posting 2/22 patches 3 repliesApplied
- v2 posting 1/22 patches 3 repliesSuperseded
- 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]
Patches in v2 posting 2/2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | dt-bindings: leds: pwm: Add default-brightness propertyDocumentation/ | +6 | 0 replies | |
| 2/2 | leds: pwm: Add optional DT property default-brightnessdrivers/ | +16 | 1 reply |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Rob Herring (Arm) |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
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