From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from saturn.retrosnub.co.uk ([178.18.118.26]:46843 "EHLO saturn.retrosnub.co.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751917Ab2IHJNM (ORCPT ); Sat, 8 Sep 2012 05:13:12 -0400 Message-ID: <504B0C27.50006@kernel.org> Date: Sat, 08 Sep 2012 10:13:11 +0100 From: Jonathan Cameron MIME-Version: 1.0 To: Lars-Peter Clausen CC: Jonathan Cameron , linux-iio@vger.kernel.org, drivers@analog.com Subject: Re: [PATCH 2/2] iio:ad5446: Add device ids for ad5301/ad5311/ad5321 References: <1346749816-22877-1-git-send-email-lars@metafoo.de> <1346749816-22877-2-git-send-email-lars@metafoo.de> In-Reply-To: <1346749816-22877-2-git-send-email-lars@metafoo.de> Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-iio-owner@vger.kernel.org List-Id: linux-iio@vger.kernel.org On 09/04/2012 10:10 AM, Lars-Peter Clausen wrote: > The ad5301/ad5311/ad5321 are software compatible to the ad5602/ad5612/ad5622. > > Signed-off-by: Lars-Peter Clausen added to togreg branch of iio.git tree > --- > drivers/iio/dac/Kconfig | 8 ++++---- > drivers/iio/dac/ad5446.c | 3 +++ > 2 files changed, 7 insertions(+), 4 deletions(-) > > diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig > index 7599d62..7845263 100644 > --- a/drivers/iio/dac/Kconfig > +++ b/drivers/iio/dac/Kconfig > @@ -59,10 +59,10 @@ config AD5446 > tristate "Analog Devices AD5446 and similar single channel DACs driver" > depends on (SPI_MASTER || I2C) > help > - Say yes here to build support for Analog Devices AD5300, AD5310, AD5320, > - AD5444, AD5446, AD5450, AD5451, AD5452, AD5453, AD5512A, AD5541A, AD5542A, > - AD5543, AD5553, AD5601, AD5602, AD5611, AD5612, AD5620, AD5621, AD5622, > - AD5640, AD5660, AD5662 DACs. > + Say yes here to build support for Analog Devices AD5300, AD5301, AD5310, > + AD5311, AD5320, AD5321, AD5444, AD5446, AD5450, AD5451, AD5452, AD5453, > + AD5512A, AD5541A, AD5542A, AD5543, AD5553, AD5601, AD5602, AD5611, AD5612, > + AD5620, AD5621, AD5622, AD5640, AD5660, AD5662 DACs. > > To compile this driver as a module, choose M here: the > module will be called ad5446. > diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c > index 2b0968f..3310cbb 100644 > --- a/drivers/iio/dac/ad5446.c > +++ b/drivers/iio/dac/ad5446.c > @@ -552,6 +552,9 @@ static int __devexit ad5446_i2c_remove(struct i2c_client *i2c) > } > > static const struct i2c_device_id ad5446_i2c_ids[] = { > + {"ad5301", ID_AD5602}, > + {"ad5311", ID_AD5612}, > + {"ad5321", ID_AD5622}, > {"ad5602", ID_AD5602}, > {"ad5612", ID_AD5612}, > {"ad5622", ID_AD5622}, >