Skip to content

iio: adc: ti-ads1298: add ADS1298/ADS1299 driver

Md Shofiqul Islam linux-iio lkml 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 3 repliesIn review
  2. v12 patches 6 repliesSuperseded

Changes in v2 from the cover letter

- Remove ads1299-4 and ads1299-6 variants; only ads1299 (8-channel) is supported. The -4 and -6 variants have not been tested on hardware and their channel-count difference is better handled at runtime via the ID register rather than separate compatibles.
- Remove second DT binding example (ads1299 node); one example is sufficient per binding documentation guidelines.
- Simplify vref-supply description; remove ADS1298 vs ADS1299 specifics that belong in the datasheet rather than the binding.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2dt-bindings: iio: adc: ti,ads1298: add ADS1299 EEG ADC variantsDocumentation/devicetree/bindings/iio/adc/ti,ads1298.yaml+10 -52 replies
2/2iio: adc: ti-ads1298: add ADS1299 EEG ADC family supportdrivers/iio/adc/ti-ads1298.c+65 -191 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] iio: adc: ti-ads1298: add ADS1298/ADS1299 driver

The ADS1299 is an 8-channel, 24-bit SPI ADC from Texas Instruments designed for EEG and biopotential measurement. It shares the same SPI interface and register map as the ADS1298 ECG ADC family, differing in PGA gain range (24x vs 12x) and internal reference voltage (always 2.4V).

This series adds ADS1299 support to the existing ti-ads1298 driver by extending the channel configuration and adding the compatible string to the device tree binding.

Changes in v2:
- Remove ads1299-4 and ads1299-6 variants; only ads1299 (8-channel) is supported. The -4 and -6 variants have not been tested on hardware and their channel-count difference is better handled at runtime via the ID register rather than separate compatibles.
- Remove second DT binding example (ads1299 node); one example is sufficient per binding documentation guidelines.
- Simplify vref-supply description; remove ADS1298 vs ADS1299 specifics that belong in the datasheet rather than the binding.

Md Shofiqul Islam (2):
dt-bindings: iio: adc: ti,ads1298: add ADS1299 EEG ADC variants
iio: adc: ti-ads1298: add ADS1299 EEG ADC family support

 .../bindings/iio/adc/ti,ads1298.yaml          | 15 ++--
 drivers/iio/adc/ti-ads1298.c                  | 84 ++++++++++++++-----
 2 files changed, 75 insertions(+), 24 deletions(-)
Signature · 1 line
2.51.1