devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1 0/3] iio: adc: ti-ads7924: add ADS7924 driver
@ 2022-12-22 20:36 Hugo Villeneuve
  2022-12-22 20:36 ` [PATCH v1 1/3] iio: adc: Kconfig: add SPI interface mention to AD7924 description Hugo Villeneuve
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Hugo Villeneuve @ 2022-12-22 20:36 UTC (permalink / raw)
  To: hvilleneuve, jic23, lars, robh+dt, krzysztof.kozlowski+dt
  Cc: linux-iio, devicetree, linux-kernel, hugo

From: Hugo Villeneuve <hvilleneuve@dimonoff.com>

Hello,
this patch series adds the driver for the Texas Instruments ADS7924.

The Texas Instruments ADS7924 is a 4 channels, 12-bit analog to
digital converter (ADC) with an I2C interface.

Patch 1 adds a Kconfig comment to help differentiate between the Analog
      Devices AD7924 (SPI) and the TI ADS7924 (I2C).

Patch 2 contains the driver for the ADS7924.

Patch 3 add the dt-bindings for the ADS7924.

I have tested the driver using the Texas Instruments ADS7924EVM board connected
to a Variscite Symphony EVK with a IMX8MN NANO SOM:
  - Tested reset pin Ok
  - Tested regulator setup Ok
  - Tested reading sysfs in_voltage_scale Ok
  - Tested reading sysfs in_voltageX_raw (x=0 to 3) Ok


Thank you.

Hugo Villeneuve (3):
  iio: adc: Kconfig: add SPI interface mention to AD7924 description
  iio: adc: ti-ads7924: add ADS7924 driver
  dt-bindings: iio: adc: add ADS7924

 .../bindings/iio/adc/ti,ads7924.yaml          | 103 ++++
 MAINTAINERS                                   |   7 +
 drivers/iio/adc/Kconfig                       |  15 +-
 drivers/iio/adc/Makefile                      |   1 +
 drivers/iio/adc/ti-ads7924.c                  | 514 ++++++++++++++++++
 5 files changed, 639 insertions(+), 1 deletion(-)
 create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads7924.yaml
 create mode 100644 drivers/iio/adc/ti-ads7924.c


base-commit: 4652bc537a2e0b44959489f45e4684fa4f143a45
-- 
2.30.2


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

end of thread, other threads:[~2023-01-10 15:39 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-22 20:36 [PATCH v1 0/3] iio: adc: ti-ads7924: add ADS7924 driver Hugo Villeneuve
2022-12-22 20:36 ` [PATCH v1 1/3] iio: adc: Kconfig: add SPI interface mention to AD7924 description Hugo Villeneuve
2022-12-23 14:12   ` Jonathan Cameron
2022-12-23 18:52     ` Hugo Villeneuve
2022-12-30 18:03       ` Jonathan Cameron
2022-12-22 20:36 ` [PATCH v1 2/3] iio: adc: ti-ads7924: add ADS7924 driver Hugo Villeneuve
2022-12-23 14:47   ` Jonathan Cameron
2023-01-10 15:38     ` Hugo Villeneuve
2022-12-22 20:36 ` [PATCH v1 3/3] dt-bindings: iio: adc: add ADS7924 Hugo Villeneuve
2022-12-23  8:19   ` Krzysztof Kozlowski
2022-12-23 14:09     ` Jonathan Cameron
2022-12-23 17:56       ` Hugo Villeneuve
2022-12-23 14:50   ` Jonathan Cameron
2022-12-23 19:24     ` Hugo Villeneuve

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