From: Jonathan Cameron <jic23@kernel.org>
To: Lukas Wunner <lukas@wunner.de>
Cc: Hartmut Knaack <knaack.h@gmx.de>,
Lars-Peter Clausen <lars@metafoo.de>,
Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
"Andrew F. Davis" <afd@ti.com>,
Michael Hennerich <Michael.Hennerich@analog.com>,
Daniel Mack <daniel@zonque.org>, Arnd Bergmann <arnd@arndb.de>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-iio@vger.kernel.org
Subject: Re: [PATCH 1/2] iio: dac: ad5446: Add IDs of compatible Texas Instruments chips
Date: Sun, 10 Sep 2017 16:14:30 +0100 [thread overview]
Message-ID: <20170910161430.59e9a3f9@archlinux> (raw)
In-Reply-To: <be82f31ef2f0f39c7893b42dfe46c7235ea6144a.1504604178.git.lukas@wunner.de>
On Tue, 5 Sep 2017 11:44:00 +0200
Lukas Wunner <lukas@wunner.de> wrote:
> The Texas Instruments DAC081S101, DAC101S101 and DAC121S101 have the
> exact same pinout, programming interface and power-down modes as the
> AD5300, AD5310 and AD5320, respectively, and their datasheets declare
> them "a direct replacement" for the Analog Devices chips. This may
> not be immediately obvious to a casual observer, so add them to the
> supported modalias strings.
>
> Datasheets:
> http://www.ti.com/lit/ds/symlink/dac081s101.pdf
> http://www.ti.com/lit/ds/symlink/dac101s101.pdf
> http://www.ti.com/lit/ds/symlink/dac121s101.pdf
> http://www.analog.com/media/en/technical-documentation/data-sheets/AD5300.pdf
> http://www.analog.com/media/en/technical-documentation/data-sheets/AD5310.pdf
> http://www.analog.com/media/en/technical-documentation/data-sheets/AD5320.pdf
>
> Signed-off-by: Lukas Wunner <lukas@wunner.de>
Applied to the togreg branch of iio.git and will be pushed out as testing
for the autobuilders to play with.
Thanks,
Jonathan
> ---
> drivers/iio/dac/Kconfig | 3 ++-
> drivers/iio/dac/ad5446.c | 3 +++
> 2 files changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/drivers/iio/dac/Kconfig b/drivers/iio/dac/Kconfig
> index 716fcb1610dd..a411b2d59510 100644
> --- a/drivers/iio/dac/Kconfig
> +++ b/drivers/iio/dac/Kconfig
> @@ -60,7 +60,8 @@ config AD5446
> 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, AD5641, AD5660, AD5662 DACs.
> + AD5620, AD5621, AD5622, AD5640, AD5641, AD5660, AD5662 DACs
> + as well as Texas Instruments DAC081S101, DAC101S101, DAC121S101.
>
> 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 c6c22f3520eb..3f6465de39de 100644
> --- a/drivers/iio/dac/ad5446.c
> +++ b/drivers/iio/dac/ad5446.c
> @@ -460,6 +460,9 @@ static const struct spi_device_id ad5446_spi_ids[] = {
> {"ad5660-2500", ID_AD5660_2500},
> {"ad5660-1250", ID_AD5660_1250},
> {"ad5662", ID_AD5662},
> + {"dac081s101", ID_AD5300}, /* compatible Texas Instruments chips */
> + {"dac101s101", ID_AD5310},
> + {"dac121s101", ID_AD5320},
> {}
> };
> MODULE_DEVICE_TABLE(spi, ad5446_spi_ids);
prev parent reply other threads:[~2017-09-10 15:14 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-05 9:44 [PATCH 1/2] iio: dac: ad5446: Add IDs of compatible Texas Instruments chips Lukas Wunner
2017-09-05 9:44 ` [PATCH 2/2] drivers: misc: ti_dac7512: Remove duplicate driver Lukas Wunner
2017-09-05 9:56 ` Arnd Bergmann
2017-09-05 10:11 ` Lukas Wunner
2017-09-05 10:28 ` Daniel Mack
2017-09-05 13:01 ` Arnd Bergmann
2017-09-10 15:19 ` Jonathan Cameron
2017-09-10 18:43 ` Lukas Wunner
2017-09-11 8:41 ` Jonathan Cameron
2017-09-12 10:12 ` Jonathan Cameron
2017-09-10 15:14 ` Jonathan Cameron [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170910161430.59e9a3f9@archlinux \
--to=jic23@kernel.org \
--cc=Michael.Hennerich@analog.com \
--cc=afd@ti.com \
--cc=arnd@arndb.de \
--cc=daniel@zonque.org \
--cc=gregkh@linuxfoundation.org \
--cc=knaack.h@gmx.de \
--cc=lars@metafoo.de \
--cc=linux-iio@vger.kernel.org \
--cc=lukas@wunner.de \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.