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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx/
[2] https://lore.kernel.org/linux-iio/20220630230107.13438-1-nm@xxxxxx/
-- 
2.31.1




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux