devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Add driver for the TI TLA2528 i2c ADC
@ 2025-12-23 15:55 Maxime Chevallier
  2025-12-23 15:55 ` [PATCH 1/2] dt-bindings: iio: adc: add Texas Instruments TLA 2528 Maxime Chevallier
  2025-12-23 15:55 ` [PATCH 2/2] iio: adc: add driver for Texas Instruments TLA2528 adc Maxime Chevallier
  0 siblings, 2 replies; 22+ messages in thread
From: Maxime Chevallier @ 2025-12-23 15:55 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, nuno.sa, Andy Shevchenko,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley, Marcelo Schmitt,
	Matti Vaittinen, Antoniu Miclaus, Angelo Dureghello,
	Tobias Sperling, Eason Yang, Marilene Andrade Garcia,
	Cosmin Tanislav, duje, herve.codina, Rodolfo Giometti
  Cc: Maxime Chevallier, linux-iio, devicetree, linux-kernel,
	thomas.petazzoni

Hi everyone,

This series is a resurection of a patch sent by Rodolfo Giometti that
adds support for the Texas Instruments TLA2528 8-channel 12bit ADC
accessed over i2c : [1]

With Rodolfo's permission, I've picked up the driver where it was left,
and made some changes :

 - All reviews that were made by Jonathan back in 2021 were addressed
 - I've updated the way we manage the regulator, using the newer
   devm_regulator_get_enable_read_voltage() helper
 - There was a bit of renaming for internal variables
 - I simplified a bit the probe/remove by using devm_iio_device_register
 - I've added a binding :)

This was tested on a custom board based on imx93, with a 3v3 ref supply.

Thanks Rodolfo for letting me give another shot at getting this driver
upstream, and to all the reviewers and maintainers that were involved in
the first round of reviews a few years ago.

Maxime

[1] : https://lore.kernel.org/linux-iio/20210802130441.972978-1-giometti@enneenne.com/

Maxime Chevallier (2):
  dt-bindings: iio: adc: add Texas Instruments TLA 2528
  iio: adc: add driver for Texas Instruments TLA2528 adc

 .../bindings/iio/adc/ti,tla2528.yaml          |  48 ++++
 MAINTAINERS                                   |   7 +
 drivers/iio/adc/Kconfig                       |  10 +
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/ti-tla2528.c                  | 209 ++++++++++++++++++
 5 files changed, 275 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,tla2528.yaml
 create mode 100644 drivers/iio/adc/ti-tla2528.c

-- 
2.49.0


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

end of thread, other threads:[~2026-01-05 10:27 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-12-23 15:55 [PATCH 0/2] Add driver for the TI TLA2528 i2c ADC Maxime Chevallier
2025-12-23 15:55 ` [PATCH 1/2] dt-bindings: iio: adc: add Texas Instruments TLA 2528 Maxime Chevallier
2025-12-23 18:26   ` David Lechner
2025-12-29  8:04     ` Matti Vaittinen
2025-12-29  9:31       ` Andy Shevchenko
2025-12-29 13:23         ` Matti Vaittinen
2026-01-05  9:17           ` Maxime Chevallier
2026-01-05  9:18     ` Maxime Chevallier
2025-12-23 15:55 ` [PATCH 2/2] iio: adc: add driver for Texas Instruments TLA2528 adc Maxime Chevallier
2025-12-23 17:12   ` Maxime Chevallier
2025-12-23 17:33     ` David Lechner
2025-12-27 14:43       ` Andy Shevchenko
2025-12-23 18:26   ` David Lechner
2026-01-05 10:11     ` Maxime Chevallier
2025-12-27 18:42   ` Jonathan Cameron
2026-01-05 10:16     ` Maxime Chevallier
2025-12-29  8:20   ` Matti Vaittinen
2025-12-31 17:12     ` Jonathan Cameron
2026-01-02  7:13       ` Matti Vaittinen
2026-01-05 10:25     ` Maxime Chevallier
2025-12-29  9:39   ` Andy Shevchenko
2026-01-05 10:27     ` Maxime Chevallier

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).