* [PATCH] ad525x_dpot: add i2c support for AD5161
@ 2011-10-17 19:39 Peter Korsgaard
2011-10-18 0:44 ` Mike Frysinger
2011-10-18 6:17 ` Hennerich, Michael
0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2011-10-17 19:39 UTC (permalink / raw)
To: michael.hennerich, vapier, akpm, linux-kernel; +Cc: Peter Korsgaard
Commit 6c536e4ce8e (ad525x_dpot: add support for SPI parts) added support
for the AD5161 through SPI, but the device supports both I2C and SPI
(depending on the DIS pin), so add it to -i2c as well.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
---
drivers/misc/ad525x_dpot-i2c.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-i2c.c
index 4ff73c2..a39e055 100644
--- a/drivers/misc/ad525x_dpot-i2c.c
+++ b/drivers/misc/ad525x_dpot-i2c.c
@@ -98,6 +98,7 @@ static const struct i2c_device_id ad_dpot_id[] = {
{"ad5282", AD5282_ID},
{"adn2860", ADN2860_ID},
{"ad5273", AD5273_ID},
+ {"ad5161", AD5161_ID},
{"ad5171", AD5171_ID},
{"ad5170", AD5170_ID},
{"ad5172", AD5172_ID},
--
1.7.6.3
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] ad525x_dpot: add i2c support for AD5161
2011-10-17 19:39 [PATCH] ad525x_dpot: add i2c support for AD5161 Peter Korsgaard
@ 2011-10-18 0:44 ` Mike Frysinger
2011-10-18 6:17 ` Hennerich, Michael
1 sibling, 0 replies; 3+ messages in thread
From: Mike Frysinger @ 2011-10-18 0:44 UTC (permalink / raw)
To: Peter Korsgaard; +Cc: michael.hennerich, akpm, linux-kernel
Acked-by: Mike Frysinger <vapier@gentoo.org>
-mike
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [PATCH] ad525x_dpot: add i2c support for AD5161
2011-10-17 19:39 [PATCH] ad525x_dpot: add i2c support for AD5161 Peter Korsgaard
2011-10-18 0:44 ` Mike Frysinger
@ 2011-10-18 6:17 ` Hennerich, Michael
1 sibling, 0 replies; 3+ messages in thread
From: Hennerich, Michael @ 2011-10-18 6:17 UTC (permalink / raw)
To: Peter Korsgaard, vapier, akpm, linux-kernel
Peter Korsgaard wrote on 2011-10-17:
> Commit 6c536e4ce8e (ad525x_dpot: add support for SPI parts) added
> support for the AD5161 through SPI, but the device supports both I2C and
> SPI (depending on the DIS pin), so add it to -i2c as well.
>
> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
> ---
> drivers/misc/ad525x_dpot-i2c.c | 1 +
> 1 files changed, 1 insertions(+), 0 deletions(-)
> diff --git a/drivers/misc/ad525x_dpot-i2c.c b/drivers/misc/ad525x_dpot-
> i2c.c index 4ff73c2..a39e055 100644 --- a/drivers/misc/ad525x_dpot-i2c.c
> +++ b/drivers/misc/ad525x_dpot-i2c.c @@ -98,6 +98,7 @@ static const
> struct i2c_device_id ad_dpot_id[] = {
{"ad5282", AD5282_ID}, {"adn2860", ADN2860_ID}, {"ad5273", AD5273_ID},
+ {"ad5161", AD5161_ID}, {"ad5171", AD5171_ID}, {"ad5170", AD5170_ID},
{"ad5172", AD5172_ID},
Greetings,
Michael
--
Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen
Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368;
Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-18 6:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-17 19:39 [PATCH] ad525x_dpot: add i2c support for AD5161 Peter Korsgaard
2011-10-18 0:44 ` Mike Frysinger
2011-10-18 6:17 ` Hennerich, Michael
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome