mbox series

[v2,0/2] iio: potentiometer: Add driver support for AD5110

Message ID 20210809075745.160042-1-dmugil2000@gmail.com (mailing list archive)
Headers show
Series iio: potentiometer: Add driver support for AD5110 | expand

Message

Mugilraj Dhavachelvan Aug. 9, 2021, 7:57 a.m. UTC
Add dt-bindings and driver support for AD5110, a Nonvolatile 
Digital Potentiometer.

Changes since v1:
 - Drop 'shared_by_type' since it's a single channel
 - Add error check for i2c read/write data bytes
 - Simplified calculation for tolerance
 - Add shift for eeprom wiper pos read
 - Change new custom ABI to existing ABI
 - Allow top-scale mode by writting max_pos to val

Mugilraj Dhavachelvan (2):
  dt-bindings: iio: potentiometer: Add AD5110 in trivial-devices
  iio: potentiometer: Add driver support for AD5110

 .../devicetree/bindings/trivial-devices.yaml  |   2 +
 MAINTAINERS                                   |   6 +
 drivers/iio/potentiometer/Kconfig             |  10 +
 drivers/iio/potentiometer/Makefile            |   1 +
 drivers/iio/potentiometer/ad5110.c            | 339 ++++++++++++++++++
 5 files changed, 358 insertions(+)
 create mode 100644 drivers/iio/potentiometer/ad5110.c