Skip to content

backlight: qcom-wled: Support for QCOM wled driver

Kiran Gunda dri-devel linux-arm-msm linux-devicetree linux-fbdev linux-leds lkml 5 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest8 patches 10 repliesIn review
  2. v48 patches 24 repliesSuperseded
  3. v37 patches 23 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v25 patches13 repliesSuperseded
v15 patches25 repliesSuperseded

Changes in v5 from the cover letter

- Added reviewed-by/Acked-by tags
- Fixed comments from Bjorn/Daniel/Pavel

Patches in v5 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.cDocumentation/devicetree/bindings/leds/backlight/qcom-wled.txt drivers/video/backlight/Kconfig drivers/video/backlight/Makefile +1 more+6 -61 reply
2/8backlight: qcom-wled: restructure the qcom-wled bindingsDocumentation/devicetree/bindings/leds/backlight/qcom-wled.txt+85 -251 reply
3/8backlight: qcom-wled: Add new properties for PMI8998Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt+62 -142 replies
4/8backlight: qcom-wled: Rename PM8941* to WLED3drivers/video/backlight/qcom-wled.c+125 -1232 replies
5/8backlight: qcom-wled: Restructure the driver for WLED3drivers/video/backlight/qcom-wled.c+245 -1502 replies
6/8backlight: qcom-wled: Add support for WLED4 peripheraldrivers/video/backlight/qcom-wled.c+257 -60 replies
7/8backlight: qcom-wled: add support for short circuit handlingdrivers/video/backlight/qcom-wled.c+128 -40 replies
8/8backlight: qcom-wled: Add auto string detection logicdrivers/video/backlight/qcom-wled.c+397 -52 replies

Reviews trailers per patch

7 of 8 patches have a Reviewed-by or Acked-by.

PatchBjorn AnderssonRob HerringDaniel ThompsonPavel Machek
1/8R-b A-b A-b A-b
2/8R-b R-b A-b A-b
3/8R-b R-b A-b
4/8R-b R-b A-b
5/8A-b
6/8R-b
7/8R-b
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v5 thread

Cover letter [PATCH V5 0/8] backlight: qcom-wled: Support for QCOM wled driver

This patch series renames the pm8941-wled.c driver to qcom-wled.c to add the support for multiple PMICs supported by qualcomm. This patch series supports both PM8941 and PMI8998 WLED. The PMI8998 WLED has the support to handle the OVP (over voltage protection) and the SC (short circuit protection)
interrupts. It also has the auto string detection algorithm support to configure the right strings if the user specified string configuration is in-correct. These three features are added in this series for PMI8998.

changes from v1:
- Fixed the commit message for
- backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c

Changes from v2:
- Fixed bjorn and other reviewer's comments
- Seperated the device tree bindings
- Splitted out the WLED4 changes in seperate patch
- Merged OVP and auto string detection patch

Changes from v3:
- Added Reviewed-by/Acked-by tags
- Fixed comments from Bjorn/Vinod/Rob
- Splitting the "backlight: qcom-wled: Add support for WLED4 peripheral" patch to seperate the WLED3 specific restructure.

Changes from v4:
- Added reviewed-by/Acked-by tags
- Fixed comments from Bjorn/Daniel/Pavel

Kiran Gunda (8):
backlight: qcom-wled: Rename pm8941-wled.c to qcom-wled.c
backlight: qcom-wled: restructure the qcom-wled bindings
backlight: qcom-wled: Add new properties for PMI8998
backlight: qcom-wled: Rename PM8941* to WLED3
backlight: qcom-wled: Restructure the driver for WLED3
backlight: qcom-wled: Add support for WLED4 peripheral
backlight: qcom-wled: add support for short circuit handling
backlight: qcom-wled: Add auto string detection logic

 .../bindings/leds/backlight/pm8941-wled.txt        |   42 -
 .../bindings/leds/backlight/qcom-wled.txt          |  150 +++
 drivers/video/backlight/Kconfig                    |    8 +-
 drivers/video/backlight/Makefile                   |    2 +-
 drivers/video/backlight/pm8941-wled.c              |  432 -------
 drivers/video/backlight/qcom-wled.c                | 1296 ++++++++++++++++++++
 6 files changed, 1451 insertions(+), 479 deletions(-)
 delete mode 100644 Documentation/devicetree/bindings/leds/backlight/pm8941-wled.txt
 create mode 100644 Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt
 delete mode 100644 drivers/video/backlight/pm8941-wled.c
 create mode 100644 drivers/video/backlight/qcom-wled.c
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
 a Linux Foundation Collaborative Project