iio: potentiometer: add driver for Maxim Integrated DS1803
authorSlawomir Stepien <sst@poczta.fm>
Sun, 10 Apr 2016 11:23:09 +0000 (13:23 +0200)
committerJonathan Cameron <jic23@kernel.org>
Sun, 10 Apr 2016 11:34:09 +0000 (12:34 +0100)
commitfbbc5e7044f761652e1e83037bd90574976337a3
tree1187bd9dea386519803e48ac1b210d3f64f53185
parent148e45dc87cb76ba89e80da264bc692cc91a5149
iio: potentiometer: add driver for Maxim Integrated DS1803

The following functions are supported:
 - write, read potentiometer value
 - potentiometer scale

Datasheet: https://datasheets.maximintegrated.com/en/ds/DS1803.pdf

Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Documentation/devicetree/bindings/iio/potentiometer/ds1803.txt [new file with mode: 0644]
drivers/iio/potentiometer/Kconfig
drivers/iio/potentiometer/Makefile
drivers/iio/potentiometer/ds1803.c [new file with mode: 0644]