linux-fbdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 0/2] backlight: Add new lm3509 backlight driver
@ 2024-03-30 14:59 Patrick Gansterer
  2024-03-30 14:59 ` [PATCH v5 1/2] dt-bindings: backlight: Add Texas Instruments LM3509 Patrick Gansterer
  2024-03-30 14:59 ` [PATCH v5 2/2] backlight: Add new lm3509 backlight driver Patrick Gansterer
  0 siblings, 2 replies; 5+ messages in thread
From: Patrick Gansterer @ 2024-03-30 14:59 UTC (permalink / raw)
  To: dri-devel, linux-leds, devicetree, linux-kernel, linux-fbdev
  Cc: Patrick Gansterer, Lee Jones, Daniel Thompson, Jingoo Han,
	Pavel Machek, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
	Helge Deller, Sam Ravnborg

This is a general driver for LM3509 backlight chip of TI.
LM3509 is High Efficiency Boost for White LEDs and/or OLED Displays with
Dual Current Sinks. This driver supports OLED/White LED select, brightness
control and sub/main control.
The datasheet can be found at http://www.ti.com/product/lm3509.
---
Changes in v5:
  Renamed lm3509_bl_led_pdata to lm3509_bl_led_data
  Set backlight_properties.scale to BACKLIGHT_SCALE_NON_LINEAR
  Add dev_err_probe() for first write to a register
  Use dev_err_probe() instead of dev_err()

v4: https://lore.kernel.org/all/20240310135344.3455294-1-paroga@paroga.com/

Changes in v4:
  Use backlight_*() to access backlight_device
  Do not set backlight_properties.power

v3: https://lore.kernel.org/all/20240309132521.1290173-1-paroga@paroga.com/

Changes in v3:
  Improved device tree bindings documentation

v2: https://lore.kernel.org/all/20240308215617.1729664-1-paroga@paroga.com/

Changes in v2:
  Add device tree nodes for each output
  Addressed multiple smaller review comments

v1: https://lore.kernel.org/all/20240302212757.1871164-1-paroga@paroga.com/

Patrick Gansterer (2):
  dt-bindings: backlight: Add Texas Instruments LM3509
  backlight: Add new lm3509 backlight driver

 .../bindings/leds/backlight/ti,lm3509.yaml    | 139 +++++++
 drivers/video/backlight/Kconfig               |   7 +
 drivers/video/backlight/Makefile              |   1 +
 drivers/video/backlight/lm3509_bl.c           | 340 ++++++++++++++++++
 4 files changed, 487 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/leds/backlight/ti,lm3509.yaml
 create mode 100644 drivers/video/backlight/lm3509_bl.c

-- 
2.44.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-02 10:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-03-30 14:59 [PATCH v5 0/2] backlight: Add new lm3509 backlight driver Patrick Gansterer
2024-03-30 14:59 ` [PATCH v5 1/2] dt-bindings: backlight: Add Texas Instruments LM3509 Patrick Gansterer
2024-04-01 13:03   ` Rob Herring
2024-03-30 14:59 ` [PATCH v5 2/2] backlight: Add new lm3509 backlight driver Patrick Gansterer
2024-04-02 10:52   ` Daniel Thompson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).