summary refs log tree commit diff
path: root/drivers/iio/Makefile
diff options
context:
space:
mode:
authorPeter Rosin <peda@axentia.se>2015-09-23 16:26:23 +0200
committerJonathan Cameron <jic23@kernel.org>2015-09-30 18:20:53 +0100
commitc05dc2cce7422a5c05db470572b22fcd855f8cd7 (patch)
tree25a695f7a6868421d42c279b2cf7218e2bcbb519 /drivers/iio/Makefile
parentb15aef8d5b8e9edd325c86ba5c78deca66c5ccb6 (diff)
downloadlinux-c05dc2cce7422a5c05db470572b22fcd855f8cd7.tar.gz
iio: mcp4531: Driver for Microchip digital potentiometers
Add support for Microchip digital potentiometers and rheostats
	MCP4531, MCP4532, MCP4551, MCP4552
	MCP4631, MCP4632, MCP4651, MCP4652

DEVICE   Wipers  Steps  Resistor Opts (kOhm)  i2c address
MCP4531  1       129    5, 10, 50, 100        010111x
MCP4532  1       129    5, 10, 50, 100        01011xx
MCP4551  1       257    5, 10, 50, 100        010111x
MCP4552  1       257    5, 10, 50, 100        01011xx
MCP4631  2       129    5, 10, 50, 100        0101xxx
MCP4632  2       129    5, 10, 50, 100        01011xx
MCP4651  2       257    5, 10, 50, 100        0101xxx
MCP4652  2       257    5, 10, 50, 100        01011xx

Datasheet: http://www.microchip.com/downloads/en/DeviceDoc/22096b.pdf

Signed-off-by: Peter Rosin <peda@axentia.se>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/Makefile')
-rw-r--r--drivers/iio/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/Makefile b/drivers/iio/Makefile
index e2100554e3b4..aeca7269fe44 100644
--- a/drivers/iio/Makefile
+++ b/drivers/iio/Makefile
@@ -23,6 +23,7 @@ obj-y += imu/
 obj-y += light/
 obj-y += magnetometer/
 obj-y += orientation/
+obj-y += potentiometer/
 obj-y += pressure/
 obj-y += proximity/
 obj-y += temperature/