aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/iio/potentiometer/Kconfig
diff options
context:
space:
mode:
authorChris Coffey <cmc@babblebit.net>2018-11-20 14:17:13 +0000
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2018-11-25 12:35:26 +0000
commit092cb71a604e2d8dd3b79fddef779a2d4aaad5a8 (patch)
tree16dca56cdeabe06f9b4de60b20d05c38ebfd4f8d /drivers/iio/potentiometer/Kconfig
parentdt-bindings: iio: potentiometer: Add Microchip MCP41xxx/42xxx (diff)
downloadlinux-dev-092cb71a604e2d8dd3b79fddef779a2d4aaad5a8.tar.xz
linux-dev-092cb71a604e2d8dd3b79fddef779a2d4aaad5a8.zip
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/Kconfig12
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