[PATCH v2 0/2] iio: potentiometer: Add driver support for AD5110
From: Mugilraj Dhavachelvan
Date: Mon Aug 09 2021 - 03:58:27 EST
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
--
2.25.1