summaryrefslogtreecommitdiffstats
path: root/drivers/misc/ad525x_dpot-spi.c
diff options
context:
space:
mode:
authorMichael Hennerich <michael.hennerich@analog.com>2010-10-26 14:22:36 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-26 16:52:14 -0700
commita4bd394956f20d0bfc0ca6ecfac2af4150da274a (patch)
tree5513a0ad4c7cedeb98fc0c521ff13d39752e729d /drivers/misc/ad525x_dpot-spi.c
parent5f400cf40fc703673aa791966ffb1c628c1ff45a (diff)
downloadlinux-a4bd394956f20d0bfc0ca6ecfac2af4150da274a.tar.gz
linux-a4bd394956f20d0bfc0ca6ecfac2af4150da274a.tar.bz2
linux-a4bd394956f20d0bfc0ca6ecfac2af4150da274a.zip
drivers/misc/ad525x_dpot.c: new features
Add support for AD5270, AD5271, AD5272, AD5274 digital potentiometers. Add 20-TP feature for AD5291 and AD5292 parts, and update feature list. AD5291 rdac read back must be shifted by two. Signed-off-by: Michael Hennerich <michael.hennerich@analog.com> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Chris Verges <chrisv@cyberswitching.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/misc/ad525x_dpot-spi.c')
-rw-r--r--drivers/misc/ad525x_dpot-spi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/misc/ad525x_dpot-spi.c b/drivers/misc/ad525x_dpot-spi.c
index 6cfcb636577a..7f9a55afe05d 100644
--- a/drivers/misc/ad525x_dpot-spi.c
+++ b/drivers/misc/ad525x_dpot-spi.c
@@ -38,6 +38,8 @@ static const struct ad_dpot_id ad_dpot_spi_devlist[] = {
{.name = "ad8402", .devid = AD8402_ID},
{.name = "ad8403", .devid = AD8403_ID},
{.name = "adn2850", .devid = ADN2850_ID},
+ {.name = "ad5270", .devid = AD5270_ID},
+ {.name = "ad5271", .devid = AD5271_ID},
{}
};