[PATCH V10 0/8] backlight: qcom-wled: Support for QCOM wled driver

Kiran Gunda
2019-11-01T06:27:41Z

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

Changes from v5:
- Fixed comments from Bjorn/Pavel

Changes from v5/v6:
- Fixed comments from Bjorn/Pavel on V5 series, which were missed in V6 series
- Patch 1 and 2, mentioned below, from V6 series are picked by Pavel In next.
Hence, dropped them in this series.
https://lore.kernel.org/patchwork/patch/1132467/
https://lore.kernel.org/patchwork/patch/1132468/

Changes from v7:
- Addressed comments from Daniel Thompson/Lee Jones
- Patch 1 and 2, mentioned below, from V6 series are picked by Pavel In next.
Hence, dropped them in this series.
https://lore.kernel.org/patchwork/patch/1132467/
https://lore.kernel.org/patchwork/patch/1132468/

Changes from v8:
- Addressed a comment from Daniel Thompson on patch 6
- Added Reviewed-by tag of Daniel Thompson on patch 4
- Patch 1 and 2, mentioned below, from V6 series are picked by Pavel In next.
Hence, dropped them in this series.
https://lore.kernel.org/patchwork/patch/1132467/
https://lore.kernel.org/patchwork/patch/1132468/

Changes from v9:
- Added back the below dropped out patches to this series.
https://lore.kernel.org/patchwork/patch/1132467/
https://lore.kernel.org/patchwork/patch/1132468/
- Added Reviewed-by tag of Daniel Thompson on patch 8

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 | 154 +++
drivers/video/backlight/Kconfig | 8 +-
drivers/video/backlight/Makefile | 2 +-
drivers/video/backlight/pm8941-wled.c | 424 -------
drivers/video/backlight/qcom-wled.c | 1296 ++++++++++++++++++++
6 files changed, 1455 insertions(+), 471 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