mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Support for Texas Instruments TPS6131X flash LED driver
@ 2025-03-18  7:28 Matthias Fend
  2025-03-18  7:28 ` [PATCH v2 1/2] dt-bindings: leds: add Texas Instruments TPS6131x " Matthias Fend
  2025-03-18  7:28 ` [PATCH v2 2/2] leds: tps6131x: add support for Texas Instruments TPS6131X " Matthias Fend
  0 siblings, 2 replies; 10+ messages in thread
From: Matthias Fend @ 2025-03-18  7:28 UTC (permalink / raw)
  To: Pavel Machek, Lee Jones, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-leds, devicetree, linux-kernel, Matthias Fend, bsp-development.geo

The TPS61310/TPS61311 is a flash LED driver with I2C interface. Its power
stage is capable of supplying a maximum total current of roughly 1500mA.
The TPS6131x provides three constant-current sinks, capable of sinking up
to 2 × 400mA (LED1 and LED3) and 800mA (LED2) in flash mode. In torch mode
each sink (LED1, LED2, LED3) supports currents up to 175m

Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
---
Changes in v2:
- Bindings: Extend device description
- Bindings: Drop unused address/size cells
- Bindings: Use fallback compatible 
- Bindings: Corrected minimum current for 50mA steps
- Bindings: Drop node label
- Fix name of REGISTER4 INDC shift define
- Save device instead i2c_client in private data
- Add comment for mutex
- Use macro to convert from uA to mA
- Use defines to describe initial register values
- Add safety delay during reset sequence
- Use fixed value enum to set the mode
- Renamed some local variables
- Re-sorted local variables
- Replaced ifdefs for V4L2_FLASH_LED_CLASS
- Improved some error messages
- Link to v1: https://lore.kernel.org/r/20250228-leds-tps6131x-v1-0-d1071d90f9ea@emfend.at

---
Matthias Fend (2):
      dt-bindings: leds: add Texas Instruments TPS6131x flash LED driver
      leds: tps6131x: add support for Texas Instruments TPS6131X flash LED driver

 .../devicetree/bindings/leds/ti,tps61310.yaml      | 120 ++++
 MAINTAINERS                                        |   7 +
 drivers/leds/flash/Kconfig                         |  11 +
 drivers/leds/flash/Makefile                        |   1 +
 drivers/leds/flash/leds-tps6131x.c                 | 794 +++++++++++++++++++++
 5 files changed, 933 insertions(+)
---
base-commit: ffd294d346d185b70e28b1a28abe367bbfe53c04
change-id: 20250227-leds-tps6131x-a7437883e400

Best regards,
-- 
Matthias Fend <matthias.fend@emfend.at>


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

end of thread, other threads:[~2025-03-23 12:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-03-18  7:28 [PATCH v2 0/2] Support for Texas Instruments TPS6131X flash LED driver Matthias Fend
2025-03-18  7:28 ` [PATCH v2 1/2] dt-bindings: leds: add Texas Instruments TPS6131x " Matthias Fend
2025-03-19  8:52   ` Krzysztof Kozlowski
2025-03-18  7:28 ` [PATCH v2 2/2] leds: tps6131x: add support for Texas Instruments TPS6131X " Matthias Fend
2025-03-18 10:41   ` kernel test robot
2025-03-19  9:03   ` Krzysztof Kozlowski
2025-03-19 16:25     ` Matthias Fend
2025-03-19 19:28       ` Krzysztof Kozlowski
2025-03-23 12:04         ` Matthias Fend
2025-03-22  7:30   ` Dan Carpenter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®