devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] Add support for AD4113
@ 2024-08-09 10:33 Dumitru Ceclan via B4 Relay
  2024-08-09 10:33 ` [PATCH v2 1/2] dt-bindings: adc: ad7173: add support for ad4113 Dumitru Ceclan via B4 Relay
  2024-08-09 10:33 ` [PATCH v2 2/2] iio: " Dumitru Ceclan via B4 Relay
  0 siblings, 2 replies; 13+ messages in thread
From: Dumitru Ceclan via B4 Relay @ 2024-08-09 10:33 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: mitrutzceclan, linux-iio, devicetree, linux-kernel,
	Dumitru Ceclan

This patch series adds support for the AD4113 ADC within the existing
AD7173 driver.

The AD4113 is a low power, low noise, 16-bit, Σ-Δ analog-to-digital
converter (ADC) that integrates an analog front end (AFE) for four
fully differential or eight single-ended inputs.

The part is not released yet and the documentation is not public.
Register map is identical to AD4114 besides the lower width data
register and the GPIO register.

Particularities of this model:
- 16 bit data register
- no temperature sensor
- no current inputs
- input buffers
- internal reference
- external reference REF-/REF+
- no second external reference REF2-/REF2+
- no AVDD2 supply
- 2 GPIO pins with config bits starting at a higher position in register
- 8 VINx inputs with voltage divider
- 16 channel registers and 8 setup registers

Signed-off-by: Dumitru Ceclan <dumitru.ceclan@analog.com>
---
Changes in v2:
- correctly set realbits and storagebits to 16 in iio_chan_spec
- describe bindings restrictions in commit message due to lack of
  sufficient diff context
- describe model differences better in cover letter
- Link to v1: https://lore.kernel.org/r/20240807-ad4113-v1-0-2d338f702c7b@analog.com

---
Dumitru Ceclan (2):
      dt-bindings: adc: ad7173: add support for ad4113
      iio: adc: ad7173: add support for ad4113

 .../devicetree/bindings/iio/adc/adi,ad7173.yaml    |  3 ++
 drivers/iio/adc/ad7173.c                           | 36 +++++++++++++++++++++-
 2 files changed, 38 insertions(+), 1 deletion(-)
---
base-commit: 1c61e13d7dc9003662bd7fd6064dfea67e64b014
change-id: 20240725-ad4113-baa63ff99245

Best regards,
-- 
Dumitru Ceclan <dumitru.ceclan@analog.com>



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

end of thread, other threads:[~2024-08-17 10:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-09 10:33 [PATCH v2 0/2] Add support for AD4113 Dumitru Ceclan via B4 Relay
2024-08-09 10:33 ` [PATCH v2 1/2] dt-bindings: adc: ad7173: add support for ad4113 Dumitru Ceclan via B4 Relay
2024-08-09 14:21   ` Conor Dooley
2024-08-09 14:32     ` Ceclan, Dumitru
2024-08-09 15:09       ` Conor Dooley
2024-08-17 10:12         ` Jonathan Cameron
2024-08-09 10:33 ` [PATCH v2 2/2] iio: " Dumitru Ceclan via B4 Relay
2024-08-09 12:26   ` Nuno Sá
2024-08-09 12:32     ` Ceclan, Dumitru
2024-08-09 14:12       ` Nuno Sá
2024-08-09 14:30   ` Christophe JAILLET
2024-08-09 14:40     ` Ceclan, Dumitru
2024-08-09 15:34       ` Christophe JAILLET

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