mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Stefano Manni <stefano.manni@gmail.com>
To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org,
	dlechner@baylibre.com, nuno.sa@analog.com, andy@kernel.org
Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org,
	Stefano Manni <stefano.manni@gmail.com>
Subject: [PATCH v2 2/2] iio: adc: ad799x: add reference voltage to ad7994
Date: Thu,  7 Aug 2025 09:48:50 +0200	[thread overview]
Message-ID: <20250807074850.130831-3-stefano.manni@gmail.com> (raw)
In-Reply-To: <20250807074850.130831-1-stefano.manni@gmail.com>

AD7994 supports external reference voltage on REFIN
pin so if a vref-supply has been defined it shall be
used.

Signed-off-by: Stefano Manni <stefano.manni@gmail.com>
---
 drivers/iio/adc/ad799x.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/iio/adc/ad799x.c b/drivers/iio/adc/ad799x.c
index f645995b0929..108bb22162ef 100644
--- a/drivers/iio/adc/ad799x.c
+++ b/drivers/iio/adc/ad799x.c
@@ -692,6 +692,7 @@ static const struct ad799x_chip_info ad799x_chip_info_tbl[] = {
 	},
 	[ad7994] = {
 		.num_channels = 5,
+		.has_vref = true,
 		.noirq_config = {
 			.channel = {
 				AD799X_CHANNEL(0, 12),
-- 
2.48.1


  parent reply	other threads:[~2025-08-07  7:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-08-07  7:48 [PATCH v2 0/2] iio: adc: ad799x: reference voltage capability Stefano Manni
2025-08-07  7:48 ` [PATCH v2 1/2] iio: adc: ad799x: add reference voltage capability to chip_info Stefano Manni
2025-08-07 21:05   ` Andy Shevchenko
2025-08-07  7:48 ` Stefano Manni [this message]
2025-08-07 21:06   ` [PATCH v2 2/2] iio: adc: ad799x: add reference voltage to ad7994 Andy Shevchenko
2025-08-07 15:47 ` [PATCH v2 0/2] iio: adc: ad799x: reference voltage capability David Lechner
2025-08-09 19:33   ` 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=20250807074850.130831-3-stefano.manni@gmail.com \
    --to=stefano.manni@gmail.com \
    --cc=Michael.Hennerich@analog.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@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

all inboxes | Powered by JetHome®