mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/2] iio: adc: ad7405: Add ADuM7801/7802/7811/7812 support
@ 2026-11-02 12:13 Pop Ioan Daniel
  2026-11-02 12:13 ` [PATCH 1/2] dt-bindings: " Pop Ioan Daniel
  2026-11-02 12:13 ` [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812 Pop Ioan Daniel
  0 siblings, 2 replies; 4+ messages in thread
From: Pop Ioan Daniel @ 2026-11-02 12:13 UTC (permalink / raw)
  To: jic23
  Cc: Nuno Sá,
	Michael Hennerich, David Lechner, Andy Shevchenko, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Dragos Bogdan, linux,
	linux-iio, devicetree, linux-kernel, Pop Ioan Daniel

This series adds support for the ADuM7801, ADuM7802, ADuM7811 and
ADuM7812 isolated second-order sigma-delta modulators to the ad7405
driver.

The parts are compatible with the existing ADuM7701/7702 handling and
differ in input full scale and maximum master clock frequency:
  - ADuM7801/7811: +/-320 mV full scale
  - ADuM7802/7812: +/-64 mV full scale
  - ADuM7801/7802: master clock up to 25 MHz
  - ADuM7811/7812: master clock up to 50 MHz

Pop Ioan Daniel (2):
  dt-bindings: iio: adc: ad7405: Add ADuM7801/7802/7811/7812 support
  iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812

 .../bindings/iio/adc/adi,ad7405.yaml          |  8 +++++++
 drivers/iio/adc/Kconfig                       |  3 ++-
 drivers/iio/adc/ad7405.c                      | 24 +++++++++++++++++++
 3 files changed, 34 insertions(+), 1 deletion(-)


base-commit: d1425b382b9cc5bd19223fad8ba4a8af3dbe1305
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/2] dt-bindings: iio: adc: ad7405: Add ADuM7801/7802/7811/7812 support
  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 ` Pop Ioan Daniel
  2026-11-02 12:13 ` [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812 Pop Ioan Daniel
  1 sibling, 0 replies; 4+ messages in thread
From: Pop Ioan Daniel @ 2026-11-02 12:13 UTC (permalink / raw)
  To: jic23
  Cc: Nuno Sá,
	Michael Hennerich, David Lechner, Andy Shevchenko, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Dragos Bogdan, linux,
	linux-iio, devicetree, linux-kernel, Pop Ioan Daniel

Add compatible strings for the ADuM7801, ADuM7802, ADuM7811 and
ADuM7812 16-bit isolated sigma-delta modulators.

The ADuM7801 and ADuM7811 have a ±320 mV full-scale input range and
the ADuM7802 and ADuM7812 a ±64 mV full-scale range. The ADuM780x
support a master clock of up to 25 MHz and the ADuM781x of up to
50 MHz.

Signed-off-by: Pop Ioan Daniel <pop.ioan-daniel@analog.com>
---
 Documentation/devicetree/bindings/iio/adc/adi,ad7405.yaml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad7405.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad7405.yaml
index 57f0970257050..18de5b0d2f498 100644
--- a/Documentation/devicetree/bindings/iio/adc/adi,ad7405.yaml
+++ b/Documentation/devicetree/bindings/iio/adc/adi,ad7405.yaml
@@ -20,6 +20,10 @@ description: |
   https://www.analog.com/media/en/technical-documentation/data-sheets/adum7701.pdf
   https://www.analog.com/media/en/technical-documentation/data-sheets/adum7702.pdf
   https://www.analog.com/media/en/technical-documentation/data-sheets/ADuM7703.pdf
+  https://www.analog.com/media/en/technical-documentation/data-sheets/adum7801.pdf
+  https://www.analog.com/media/en/technical-documentation/data-sheets/adum7802.pdf
+  https://www.analog.com/media/en/technical-documentation/data-sheets/adum7811.pdf
+  https://www.analog.com/media/en/technical-documentation/data-sheets/adum7812.pdf
 
 properties:
   compatible:
@@ -28,6 +32,10 @@ properties:
       - adi,adum7701
       - adi,adum7702
       - adi,adum7703
+      - adi,adum7801
+      - adi,adum7802
+      - adi,adum7811
+      - adi,adum7812
 
   clocks:
     maxItems: 1
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812
  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 12:13 ` Pop Ioan Daniel
  2026-11-02 12:37   ` Joshua Crofts
  1 sibling, 1 reply; 4+ messages in thread
From: Pop Ioan Daniel @ 2026-11-02 12:13 UTC (permalink / raw)
  To: jic23
  Cc: Nuno Sá,
	Michael Hennerich, David Lechner, Andy Shevchenko, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Dragos Bogdan, linux,
	linux-iio, devicetree, linux-kernel, Pop Ioan Daniel

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812
  2026-11-02 12:13 ` [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812 Pop Ioan Daniel
@ 2026-11-02 12:37   ` Joshua Crofts
  0 siblings, 0 replies; 4+ messages in thread
From: Joshua Crofts @ 2026-11-02 12:37 UTC (permalink / raw)
  To: Pop Ioan Daniel
  Cc: jic23, Nuno Sá,
	Michael Hennerich, David Lechner, Andy Shevchenko, Rob Herring,
	Krzysztof Kozlowski, Conor Dooley, Dragos Bogdan, linux,
	linux-iio, devicetree, linux-kernel

On 2026-11-02 14:13, Pop Ioan Daniel wrote:
> 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>
> ---

Reviewed-by: Joshua Crofts <crofts@kernel.org>

--
Kind regards,
Joshua Crofts

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-02 12:37 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 12:13 ` [PATCH 2/2] iio: adc: ad7405: Add support for ADuM7801/7802/7811/7812 Pop Ioan Daniel
2026-11-02 12:37   ` Joshua Crofts

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®