diff options
author | Slawomir Stepien <sst@poczta.fm> | 2016-03-23 09:57:20 +0100 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2016-04-03 11:13:42 +0100 |
commit | 22d199a53910e2b1666bf873f10779a66844c126 (patch) | |
tree | 18bc5d925c377bad047e49d142195725b704383e /drivers/iio/potentiometer/Kconfig | |
parent | 6154a108faafe5f7fe08cee933b899b013b457d9 (diff) |
iio: potentiometer: add driver for Microchip MCP413X/414X/415X/416X/423X/424X/425X/426X
The following functionalities are supported:
- write, read from volatile memory
Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/22060b.pdf
Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Reviewed-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/potentiometer/Kconfig')
-rw-r--r-- | drivers/iio/potentiometer/Kconfig | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/drivers/iio/potentiometer/Kconfig b/drivers/iio/potentiometer/Kconfig index ffc735c168fb..7ea069bbca2d 100644 --- a/drivers/iio/potentiometer/Kconfig +++ b/drivers/iio/potentiometer/Kconfig @@ -5,6 +5,24 @@ menu "Digital potentiometers" +config MCP4131 + tristate "Microchip MCP413X/414X/415X/416X/423X/424X/425X/426X Digital Potentiometer driver" + depends on SPI + help + Say yes here to build support for the Microchip + MCP4131, MCP4132, + MCP4141, MCP4142, + MCP4151, MCP4152, + MCP4161, MCP4162, + MCP4231, MCP4232, + MCP4241, MCP4242, + MCP4251, MCP4252, + MCP4261, MCP4262, + digital potentiomenter chips. + + To compile this driver as a module, choose M here: the + module will be called mcp4131. + config MCP4531 tristate "Microchip MCP45xx/MCP46xx Digital Potentiometer driver" depends on I2C |