[PATCH v3 0/5] media: lm3560: convert to use OF bindings

Svyatoslav Ryhel posted 5 patches 1 month, 3 weeks ago
There is a newer version of this series
.../devicetree/bindings/leds/ti,lm3560.yaml   | 131 +++++++++
drivers/media/i2c/lm3560.c                    | 250 ++++++++++++++----
include/media/i2c/lm3560.h                    |  15 --
3 files changed, 328 insertions(+), 68 deletions(-)
create mode 100644 Documentation/devicetree/bindings/leds/ti,lm3560.yaml
[PATCH v3 0/5] media: lm3560: convert to use OF bindings
Posted by Svyatoslav Ryhel 1 month, 3 weeks ago
Add missing HWEN input pin and IN supply. Fix v4l2 subdev registration.
Remove platform data and switch to OF device tree bindings.

---
Changes in v3:
- added note regarding lm3559 in the schema commit
- lm3560 power on/off functions converted to be part of PM,
  dropped redundant wrappers

Changes in v2:
- vendor properties swapped with generic LED properties
- added mutex lock usage optimization
- power supply and enable gpio commits squashed into PM
  configuration since they are both required in making
  proper on/off sequence.
---

Svyatoslav Ryhel (5):
  dt-bindings: leds: Document TI LM3560 Synchronous Boost Flash Driver
  media: i2c: lm3560: Fix v4l2 subdev registration
  media: i2c: lm3560: Optimize mutex lock usage
  media: i2c: lm3560: Convert to use OF bindings
  media: i2c: lm3560: Add support for PM features

 .../devicetree/bindings/leds/ti,lm3560.yaml   | 131 +++++++++
 drivers/media/i2c/lm3560.c                    | 250 ++++++++++++++----
 include/media/i2c/lm3560.h                    |  15 --
 3 files changed, 328 insertions(+), 68 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/leds/ti,lm3560.yaml

-- 
2.51.0
Re: [PATCH v3 0/5] media: lm3560: convert to use OF bindings
Posted by Svyatoslav Ryhel 1 month, 3 weeks ago
пт, 24 квіт. 2026 р. о 10:22 Svyatoslav Ryhel <clamor95@gmail.com> пише:
>
> Add missing HWEN input pin and IN supply. Fix v4l2 subdev registration.
> Remove platform data and switch to OF device tree bindings.
>
> ---
> Changes in v3:
> - added note regarding lm3559 in the schema commit
> - lm3560 power on/off functions converted to be part of PM,
>   dropped redundant wrappers
>
> Changes in v2:
> - vendor properties swapped with generic LED properties
> - added mutex lock usage optimization
> - power supply and enable gpio commits squashed into PM
>   configuration since they are both required in making
>   proper on/off sequence.
> ---
>
> Svyatoslav Ryhel (5):
>   dt-bindings: leds: Document TI LM3560 Synchronous Boost Flash Driver
>   media: i2c: lm3560: Fix v4l2 subdev registration
>   media: i2c: lm3560: Optimize mutex lock usage
>   media: i2c: lm3560: Convert to use OF bindings
>   media: i2c: lm3560: Add support for PM features
>
>  .../devicetree/bindings/leds/ti,lm3560.yaml   | 131 +++++++++
>  drivers/media/i2c/lm3560.c                    | 250 ++++++++++++++----
>  include/media/i2c/lm3560.h                    |  15 --
>  3 files changed, 328 insertions(+), 68 deletions(-)
>  create mode 100644 Documentation/devicetree/bindings/leds/ti,lm3560.yaml
>
> --
> 2.51.0
>

Hello Sakari! May you please not yet pick this patchset if you had
such intention. It has a few slight flaws I would like to address in
v4 next week. Thank you.
Re: [PATCH v3 0/5] media: lm3560: convert to use OF bindings
Posted by Sakari Ailus 1 month, 3 weeks ago
On Fri, Apr 24, 2026 at 07:14:06PM +0300, Svyatoslav Ryhel wrote:
> Hello Sakari! May you please not yet pick this patchset if you had
> such intention. It has a few slight flaws I would like to address in
> v4 next week. Thank you.

Ack, thanks for the info!

-- 
Sakari Ailus