linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Nuno Sá" <noname.nuno@gmail.com>
To: David Lechner <dlechner@baylibre.com>,
	nuno.sa@analog.com,  linux-iio@vger.kernel.org
Cc: Michael Hennerich <Michael.Hennerich@analog.com>,
	Jonathan Cameron <jic23@kernel.org>,
	Andy Shevchenko <andy@kernel.org>
Subject: Re: [PATCH] iio: dac: ad5446: Add AD5542 to the spi id table
Date: Wed, 15 Oct 2025 09:08:36 +0100	[thread overview]
Message-ID: <ed298de2b13040534bb25bd186111f4761d574df.camel@gmail.com> (raw)
In-Reply-To: <03b3c597-0576-4468-a23e-cf6a4b7daf86@baylibre.com>

On Tue, 2025-10-14 at 12:15 -0500, David Lechner wrote:
> On 10/14/25 11:11 AM, Nuno Sá via B4 Relay wrote:
> > From: Michael Hennerich <michael.hennerich@analog.com>
> > 
> > This adds support for the AD5542 single channel Current Source and
> > Voltage Output DACs.
> > 
> > It is similar to the AD5542A model so just use the same id.
> > 
> > Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
> > Signed-off-by: Nuno Sá <nuno.sa@analog.com>
> > ---
> >  drivers/iio/dac/ad5446.c | 1 +
> >  1 file changed, 1 insertion(+)
> > 
> > diff --git a/drivers/iio/dac/ad5446.c b/drivers/iio/dac/ad5446.c
> > index ad304b0fec08..6e4103f4afcb 100644
> > --- a/drivers/iio/dac/ad5446.c
> > +++ b/drivers/iio/dac/ad5446.c
> > @@ -422,6 +422,7 @@ static const struct spi_device_id ad5446_spi_ids[] = {
> >  	{"ad5512a", ID_AD5512A},
> >  	{"ad5541a", ID_AD5541A},
> >  	{"ad5542a", ID_AD5541A}, /* ad5541a and ad5542a are compatible */
> > +	{"ad5542", ID_AD5541A}, /* ad5541a and ad5542a are compatible */
> 
> Should the comment say ad5542 instead of ad5542a?

Yes.

> 
> >  	{"ad5543", ID_AD5541A}, /* ad5541a and ad5543 are compatible */
> >  	{"ad5553", ID_AD5553},
> >  	{"ad5600", ID_AD5600},
> > 
> > ---
> > base-commit: 4b17a60d1e1c2d9d2ccbd58642f6f4ac2fa364ba
> > change-id: 20251014-dev-add-ad5542-8c8934de80ee
> > --
> > 
> > Thanks!
> > - Nuno Sá
> > 
> > 
> 
> Interesting... no devicetree bindings for these chips?

This driver is old enough where things were less strict (I guess) and it seems
no one added bindings for this.

- Nuno Sá

  reply	other threads:[~2025-10-15  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-10-14 16:11 [PATCH] iio: dac: ad5446: Add AD5542 to the spi id table Nuno Sá via B4 Relay
2025-10-14 17:15 ` David Lechner
2025-10-15  8:08   ` Nuno Sá [this message]
2025-10-18 16:34     ` Jonathan Cameron

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=ed298de2b13040534bb25bd186111f4761d574df.camel@gmail.com \
    --to=noname.nuno@gmail.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=nuno.sa@analog.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).