From: Pop Ioan Daniel <pop.ioan-daniel@analog.com>
To: <jic23@kernel.org>
Cc: "Nuno Sá" <nuno.sa@analog.com>,
"Michael Hennerich" <Michael.Hennerich@analog.com>,
"David Lechner" <dlechner@baylibre.com>,
"Andy Shevchenko" <andy@kernel.org>,
"Rob Herring" <robh@kernel.org>,
"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
"Conor Dooley" <conor+dt@kernel.org>,
"Dragos Bogdan" <dragos.bogdan@analog.com>,
linux@analog.com, linux-iio@vger.kernel.org,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
"Pop Ioan Daniel" <pop.ioan-daniel@analog.com>
Subject: [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812
Date: Mon, 2 Nov 2026 14:13:52 +0200 [thread overview]
Message-ID: <20261102121352.23741-3-pop.ioan-daniel@analog.com> (raw)
In-Reply-To: <20261102121352.23741-1-pop.ioan-daniel@analog.com>
Add a chip information structure and a device tree match table entry
for each of the ADuM7801, ADuM7802, ADuM7811 and ADuM7812. These parts
are handled the same way as the existing ADuM770x devices and differ
only in their full-scale input range: ±320 mV for the ADuM7801 and
ADuM7811, and ±64 mV for the ADuM7802 and ADuM7812.
Also list the new parts in the Kconfig help text.
Signed-off-by: Pop Ioan Daniel <pop.ioan-daniel@analog.com>
---
drivers/iio/adc/Kconfig | 3 ++-
drivers/iio/adc/ad7405.c | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 1 deletion(-)
diff --git a/drivers/iio/adc/Kconfig b/drivers/iio/adc/Kconfig
index f8456c8039883..0458b326e153b 100644
--- a/drivers/iio/adc/Kconfig
+++ b/drivers/iio/adc/Kconfig
@@ -359,7 +359,8 @@ config AD7405
depends on IIO_BACKEND
help
Say yes here to build support for Analog Devices AD7405, ADUM7701,
- ADUM7702, ADUM7703 analog to digital converters (ADC).
+ ADUM7702, ADUM7703, ADUM7801, ADUM7802, ADUM7811, ADUM7812 analog
+ to digital converters (ADC).
To compile this driver as a module, choose M here: the module will be
called ad7405.
diff --git a/drivers/iio/adc/ad7405.c b/drivers/iio/adc/ad7405.c
index 0996f48d76f1e..ee9873b47a84f 100644
--- a/drivers/iio/adc/ad7405.c
+++ b/drivers/iio/adc/ad7405.c
@@ -158,6 +158,26 @@ static const struct ad7405_chip_info adum7703_chip_info = {
.full_scale_mv = 320,
};
+static const struct ad7405_chip_info adum7801_chip_info = {
+ .name = "adum7801",
+ .full_scale_mv = 320,
+};
+
+static const struct ad7405_chip_info adum7802_chip_info = {
+ .name = "adum7802",
+ .full_scale_mv = 64,
+};
+
+static const struct ad7405_chip_info adum7811_chip_info = {
+ .name = "adum7811",
+ .full_scale_mv = 320,
+};
+
+static const struct ad7405_chip_info adum7812_chip_info = {
+ .name = "adum7812",
+ .full_scale_mv = 64,
+};
+
static const char * const ad7405_power_supplies[] = {
"vdd1", "vdd2",
};
@@ -232,6 +252,10 @@ static const struct of_device_id ad7405_of_match[] = {
{ .compatible = "adi,adum7701", .data = &adum7701_chip_info, },
{ .compatible = "adi,adum7702", .data = &adum7702_chip_info, },
{ .compatible = "adi,adum7703", .data = &adum7703_chip_info, },
+ { .compatible = "adi,adum7801", .data = &adum7801_chip_info, },
+ { .compatible = "adi,adum7802", .data = &adum7802_chip_info, },
+ { .compatible = "adi,adum7811", .data = &adum7811_chip_info, },
+ { .compatible = "adi,adum7812", .data = &adum7812_chip_info, },
{ }
};
MODULE_DEVICE_TABLE(of, ad7405_of_match);
--
2.34.1
next prev parent reply other threads:[~2026-11-02 12:14 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-02 12:13 [PATCH 0/2] iio: adc: ad7405: Add ADuM7801/7802/7811/7812 support Pop Ioan Daniel
2026-11-02 12:13 ` [PATCH 1/2] dt-bindings: " Pop Ioan Daniel
2026-11-02 19:34 ` Conor Dooley
2026-11-02 12:13 ` Pop Ioan Daniel [this message]
2026-11-02 12:37 ` [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812 Joshua Crofts
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=20261102121352.23741-3-pop.ioan-daniel@analog.com \
--to=pop.ioan-daniel@analog.com \
--cc=Michael.Hennerich@analog.com \
--cc=andy@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dlechner@baylibre.com \
--cc=dragos.bogdan@analog.com \
--cc=jic23@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@analog.com \
--cc=nuno.sa@analog.com \
--cc=robh@kernel.org \
/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®