[PATCH V4 0/4] Add support for WLED5

From: Kiran Gunda
Date: Mon Mar 23 2020 - 13:47:39 EST


Currently, WLED driver supports only WLED4 peripherals that is present
on pmi8998 and pm660L. This patch series converts the existing WLED4
bindings from .txt to .yaml format and adds the support for WLED5 peripheral
that is present on PM8150L.

PM8150L WLED supports the following.
- Two modulators and each sink can use any of the modulator
- Multiple CABC selection options
- Multiple brightness width selection (12 bits to 15 bits)

Changes from V1:
- Rebased on top of the below commit.
backlight: qcom-wled: Fix unsigned comparison to zero

Changes from V2:
- Addressed Bjorn's comments by splitting the WLED4 changes
in a seperate patch.
- Added WLED5 auto calibration support

Changes from V3:
- Addressed comments from Daniel Thompson and Rob Herring
- Seperated the WLED5 bindings from the driver changes
- Squashed wled5 auto string detection and wled5 basic changes
to avoid the NULL callback function pointer issue.

Kiran Gunda (3):
backlight: qcom-wled: convert the wled bindings to .yaml format
backlight: qcom-wled: Add callback functions
backlight: qcom-wled: Add WLED5 bindings

Subbaraman Narayanamurthy (1):
backlight: qcom-wled: Add support for WLED5 peripheral in PM8150L

.../bindings/leds/backlight/qcom-wled.txt | 154 ------
.../bindings/leds/backlight/qcom-wled.yaml | 223 ++++++++
drivers/video/backlight/qcom-wled.c | 613 ++++++++++++++++++---
3 files changed, 764 insertions(+), 226 deletions(-)
delete mode 100644 Documentation/devicetree/bindings/leds/backlight/qcom-wled.txt
create mode 100644 Documentation/devicetree/bindings/leds/backlight/qcom-wled.yaml

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project