Devicetree
 help / color / mirror / Atom feed
* [PATCH 0/3] iio: dac: ad3530r: Add support for AD3532R/AD3532
@ 2026-06-04  7:13 Kim Seer Paller
  2026-06-04  7:13 ` [PATCH 1/3] iio: ABI: add DAC 10kohm_to_gnd powerdown mode Kim Seer Paller
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Kim Seer Paller @ 2026-06-04  7:13 UTC (permalink / raw)
  To: Jonathan Cameron, David Lechner, Nuno Sá, Andy Shevchenko,
	Michael Hennerich, Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-iio, linux-kernel, linux, devicetree, Kim Seer Paller

This series adds support for the AD3532R/AD3532, a 16-channel, 16-bit
voltage output DAC, to the existing ad3530r driver.

The AD3532R uses a dual-bank register architecture (bank 0 at 0x1000
for channels 0-7, bank 1 at 0x3000 for channels 8-15), which required
refactoring the register access paths. A table-driven register bank
approach is introduced where per-chip register address arrays in
chip_info are iterated by helper functions, replacing the single-register
setup calls for existing variants and scaling naturally to the AD3532R's
dual-bank layout.

The series also adds AD3532R-specific powerdown modes (1kohm_to_gnd,
10kohm_to_gnd, three_state) and a new ABI entry for the 10kohm_to_gnd
powerdown mode.

Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
---
Kim Seer Paller (3):
      iio: ABI: add DAC 10kohm_to_gnd powerdown mode
      dt-bindings: iio: dac: add support for AD3532R/AD3532
      iio: dac: ad3530r: Add support for AD3532R/AD3532

 Documentation/ABI/testing/sysfs-bus-iio            |   1 +
 .../devicetree/bindings/iio/dac/adi,ad3530r.yaml   |  16 +-
 drivers/iio/dac/Kconfig                            |   4 +-
 drivers/iio/dac/ad3530r.c                          | 315 +++++++++++++++++++--
 4 files changed, 302 insertions(+), 34 deletions(-)
---
base-commit: ae696dfa47c30016cd429b9db5e70b259b8f509e
change-id: 20260604-iio-ad3532r-support-759067e904e1

Best regards,
--  
Kim Seer Paller <kimseer.paller@analog.com>


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

end of thread, other threads:[~2026-06-11 18:48 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-04  7:13 [PATCH 0/3] iio: dac: ad3530r: Add support for AD3532R/AD3532 Kim Seer Paller
2026-06-04  7:13 ` [PATCH 1/3] iio: ABI: add DAC 10kohm_to_gnd powerdown mode Kim Seer Paller
2026-06-04  7:13 ` [PATCH 2/3] dt-bindings: iio: dac: add support for AD3532R/AD3532 Kim Seer Paller
2026-06-04 17:01   ` Conor Dooley
2026-06-04  7:13 ` [PATCH 3/3] iio: dac: ad3530r: Add " Kim Seer Paller
2026-06-05 13:24   ` Jonathan Cameron
2026-06-11  7:04     ` Paller, Kim Seer
2026-06-11 12:29       ` Nuno Sá
2026-06-11 18:48         ` Andy Shevchenko
2026-06-04  9:36 ` [PATCH 0/3] " Andy Shevchenko
2026-06-04 10:29   ` Paller, Kim Seer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox