mbox series

[0/2] iio: adc: ti-adc128s052: Add support for adc102s021 and family

Message ID 20220701042919.18180-1-nm@ti.com (mailing list archive)
Headers show
Series iio: adc: ti-adc128s052: Add support for adc102s021 and family | expand

Message

Nishanth Menon July 1, 2022, 4:29 a.m. UTC
Hi,

This is probably a continuation of [1] and has a dependency on [2].

Inspiration for this series is drivers/hwmon/adcxx.c though constrained
to the family that I had access to test with.

As stated in drivers/hwmon/adcxx.c, the family of devices are easier to
support since they all (no matter the resolution) seem to respond in 12
bits with the LSBs set to 0 for the reduced resolution devices.

Note: This series does'nt attempt to cleanup the sparse and extended
build warnings existing in the driver.

Series based on [2] and next-20220630

Nishanth Menon (2):
  dt-bindings: iio: adc: ti,adc128s052: Add adc08c and adc10c family
  iio: adc: ti-adc128s052: Add lower resolution devices support

 .../bindings/iio/adc/ti,adc128s052.yaml       |  6 +++++
 drivers/iio/adc/ti-adc128s052.c               | 26 +++++++++++++++++++
 2 files changed, 32 insertions(+)

[1] https://patchwork.kernel.org/project/linux-hwmon/patch/20181115135013.30723-2-fe@dev.tdt.de/
[2] https://lore.kernel.org/linux-iio/20220630230107.13438-1-nm@ti.com/