2023-05-19 18:28:30

by Artur Weber

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

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 <[email protected]>

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



2023-06-13 22:28:29

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH v2 0/4] video: backlight: lp855x: modernize bindings

On Fri, 19 May 2023 20:07:24 +0200, Artur Weber wrote:
> 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 <[email protected]>
>
> [...]

Applied, thanks!

[4/4] arm64: dts: adapt to LP855X bindings changes
commit: ebdcfc8c42c2b9d5ca1b27d8ee558eefb3e904d8

Best regards,
--
Bjorn Andersson <[email protected]>

2023-06-15 16:43:17

by Bjorn Andersson

[permalink] [raw]
Subject: Re: (subset) [PATCH v2 0/4] video: backlight: lp855x: modernize bindings

On Tue, Jun 13, 2023 at 03:30:10PM -0700, Bjorn Andersson wrote:
> On Fri, 19 May 2023 20:07:24 +0200, Artur Weber wrote:
> > 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 <[email protected]>
> >
> > [...]
>
> Applied, thanks!
>
> [4/4] arm64: dts: adapt to LP855X bindings changes
> commit: ebdcfc8c42c2b9d5ca1b27d8ee558eefb3e904d8
>

Sorry, that was not for me to pick up. So I've dropped this change
again.

Please note that all other changes to the affected file is prefixed
"arm64: tegra:". Following this is a good idea, and would have helped me
not accidentally pick this change.

Regards,
Bjorn

> Best regards,
> --
> Bjorn Andersson <[email protected]>

2023-07-21 15:52:56

by Thierry Reding

[permalink] [raw]
Subject: Re: (subset) [PATCH v2 0/4] video: backlight: lp855x: modernize bindings

From: Thierry Reding <[email protected]>


On Fri, 19 May 2023 20:07:24 +0200, Artur Weber wrote:
> 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 <[email protected]>
>
> [...]

Applied, thanks!

[4/4] arm64: dts: adapt to LP855X bindings changes
commit: faae0778fa10fa4e8909fe9164f06acab170f1e9

Best regards,
--
Thierry Reding <[email protected]>