diff options
author | Chris Coffey <cmc@babblebit.net> | 2018-11-20 17:17:13 +0300 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-25 15:35:26 +0300 |
commit | 092cb71a604e2d8dd3b79fddef779a2d4aaad5a8 (patch) | |
tree | 16dca56cdeabe06f9b4de60b20d05c38ebfd4f8d /drivers/iio/potentiometer/Kconfig | |
parent | f71b3c99128bae93c1b4262fc4f639652bb04e1e (diff) | |
download | linux-092cb71a604e2d8dd3b79fddef779a2d4aaad5a8.tar.xz |
iio: potentiometer: Add driver for Microchip MCP41xxx/42xxx
This patch adds driver support for the Microchip MCP41xxx/42xxx family
of digital potentiometers:
DEVICE Wipers Positions Resistance (kOhm)
MCP41010 1 256 10
MCP41050 1 256 50
MCP41100 1 256 100
MCP42010 2 256 10
MCP42050 2 256 50
MCP42100 2 256 100
Datasheet: http://ww1.microchip.com/downloads/en/devicedoc/11195c.pdf
Signed-off-by: Chris Coffey <cmc@babblebit.net>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio/potentiometer/Kconfig')
-rw-r--r-- | drivers/iio/potentiometer/Kconfig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/drivers/iio/potentiometer/Kconfig b/drivers/iio/potentiometer/Kconfig index 79ec2eba4969..6303cbe79903 100644 --- a/drivers/iio/potentiometer/Kconfig +++ b/drivers/iio/potentiometer/Kconfig @@ -90,6 +90,18 @@ config MCP4531 To compile this driver as a module, choose M here: the module will be called mcp4531. +config MCP41010 + tristate "Microchip MCP41xxx/MCP42xxx Digital Potentiometer driver" + depends on SPI + help + Say yes here to build support for the Microchip + MCP41010, MCP41050, MCP41100, + MCP42010, MCP42050, MCP42100 + digital potentiometer chips. + + To compile this driver as a module, choose M here: the + module will be called mcp41010. + config TPL0102 tristate "Texas Instruments digital potentiometer driver" depends on I2C |