diff options
author | Slawomir Stepien <sst@poczta.fm> | 2016-04-10 13:23:09 +0200 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-10 12:34:09 +0100 |
commit | fbbc5e7044f761652e1e83037bd90574976337a3 (patch) | |
tree | 1187bd9dea386519803e48ac1b210d3f64f53185 /drivers/iio/potentiometer/Kconfig | |
parent | 148e45dc87cb76ba89e80da264bc692cc91a5149 (diff) | |
download | blackbird-op-linux-fbbc5e7044f761652e1e83037bd90574976337a3.tar.gz blackbird-op-linux-fbbc5e7044f761652e1e83037bd90574976337a3.zip |
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>
Diffstat (limited to 'drivers/iio/potentiometer/Kconfig')
-rw-r--r-- | drivers/iio/potentiometer/Kconfig | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/iio/potentiometer/Kconfig b/drivers/iio/potentiometer/Kconfig index 7ea069bbca2d..6acb23810bb4 100644 --- a/drivers/iio/potentiometer/Kconfig +++ b/drivers/iio/potentiometer/Kconfig @@ -5,6 +5,16 @@ menu "Digital potentiometers" +config DS1803 + tristate "Maxim Integrated DS1803 Digital Potentiometer driver" + depends on I2C + help + Say yes here to build support for the Maxim Integrated DS1803 + digital potentiomenter chip. + + To compile this driver as a module, choose M here: the + module will be called ds1803. + config MCP4131 tristate "Microchip MCP413X/414X/415X/416X/423X/424X/425X/426X Digital Potentiometer driver" depends on SPI |