iio: potentiometer: add a driver for Maxim 5432-5435
authorMartin Kaiser <martin@kaiser.cx>
Wed, 31 Jul 2019 14:07:05 +0000 (16:07 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Mon, 5 Aug 2019 13:25:08 +0000 (14:25 +0100)
commit425c6f1063955fd2335b44b6ba628de3e3a81b4d
tree7a43e9b54541f569e1adcdad81c9d838f0808fee
parenta444fa597e2a130d2c56f1bfbe131c62625d7b55
iio: potentiometer: add a driver for Maxim 5432-5435

Add a driver for the Maxim Integrated MAX5432-MAX5435 family of digital
potentiometers.

These potentiometers are connected via I2C and have 32 wiper
positions.

Supported functionality
- set the volatile wiper position
- read the potentiometer scale

Datasheet:
https://datasheets.maximintegrated.com/en/ds/MAX5432-MAX5435.pdf

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/potentiometer/Kconfig
drivers/iio/potentiometer/Makefile
drivers/iio/potentiometer/max5432.c [new file with mode: 0644]