[PATCH v2 0/4] video: backlight: lp855x: modernize bindings

From: Artur Weber
Date: Fri May 19 2023 - 14:09:23 EST


Convert TI LP855X backlight controller bindings from TXT to YAML and,
while we're at it, rework some of the code related to PWM handling.
Also correct existing DTS files to avoid introducing new dtb_check
errors.

Signed-off-by: Artur Weber <aweber.kernel@xxxxxxxxx>

Changed in v2:
- Added additionalProperties to ROM patternProperties in DT binding

Artur Weber (4):
dt-bindings: backlight: lp855x: convert to YAML and modernize
video: backlight: lp855x: get PWM for PWM mode during probe
ARM: dts: adapt to LP855X bindings changes
arm64: dts: adapt to LP855X bindings changes

.../leds/backlight/lp855x-backlight.yaml | 149 ++++++++++++++++++
.../bindings/leds/backlight/lp855x.txt | 72 ---------
.../dts/qcom-apq8026-samsung-matisse-wifi.dts | 1 -
...-msm8974pro-sony-xperia-shinano-castor.dts | 23 +--
.../boot/dts/nvidia/tegra210-p2371-2180.dts | 6 +-
drivers/video/backlight/lp855x_bl.c | 48 +++---
6 files changed, 189 insertions(+), 110 deletions(-)
create mode 100644 Documentation/devicetree/bindings/leds/backlight/lp855x-backlight.yaml
delete mode 100644 Documentation/devicetree/bindings/leds/backlight/lp855x.txt


base-commit: fb200218b40b7864f64f1a47de61e035d8934e92
--
2.40.1