[RFC PATCH 0/5] iio: adc: Add initial support for TI ADS1262

Sayyad Abid
2025-05-01T10:01:29Z

The ADS1262 is a 32-bit, high-resolution delta-sigma ADC communicating
over SPI. It's designed for precision measurements.

This initial driver provides the basic functionality needed to:
- Probe and register the device via SPI.
- Expose standard IIO channels for reading raw voltage samples.

Basic testing was performed on a Raspberry Pi Zero 2W using the hardware
SPI0 interface. The connections used were:

+-----------------+ +-----------------+
| RPi Zero 2W | | TI ADS1262 |
| (SPI0 Pins) | | |
|-----------------| |-----------------|
| MOSI |----------->| DIN |
| MISO |<-----------| DOUT/DRDY |
| SCLK |----------->| SCLK |
| CE0 |----------->| /CS |
| 5V |----------->| DVDD, AVDD |
| GND |----------->| DGND, AGND |
+-----------------+ +-----------------+

I would greatly appreciate any feedback on the driver structure,
IIO integration, SPI communication handling, or any potential issues
or areas for improvement you might spot.

This series is broken down as follows:
Patch 1: Adds the core driver code (ti-ads1262.c).
Patch 2: Adds the Kconfig option.
Patch 3: Adds the Makefile entry for compilation.
Patch 4: Adds the MAINTAINERS entry.

Thanks for your time and consideration.

Sayyad Abid (5):
iio: adc: ti-ads1262.c: add initial driver for TI ADS1262 ADC
iio: adc: Kconfig: add Kconfig entry for TI ADS1262 driver
iio: adc: Makefile: add compile support for TI ADS1262 driver
MAINTAINERS: add entry for TI ADS1262 ADC driver
dt-bindings: iio: adc: add bindings for TI ADS1262

.../bindings/iio/adc/ti,ads1262.yaml | 189 ++++++++
MAINTAINERS | 7 +
drivers/iio/adc/Kconfig | 12 +
drivers/iio/adc/Makefile | 1 +
drivers/iio/adc/ti-ads1262.c | 438 ++++++++++++++++++
5 files changed, 647 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/adc/ti,ads1262.yaml
create mode 100644 drivers/iio/adc/ti-ads1262.c

--
2.39.5