public inbox for devicetree@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/3] Add driver for AD3530R and AD3531R DACs
@ 2025-04-03  5:33 Kim Seer Paller
  2025-04-03  5:33 ` [PATCH v3 1/3] iio: ABI: add new DAC powerdown mode Kim Seer Paller
                   ` (3 more replies)
  0 siblings, 4 replies; 23+ messages in thread
From: Kim Seer Paller @ 2025-04-03  5:33 UTC (permalink / raw)
  To: Jonathan Cameron, Lars-Peter Clausen, Michael Hennerich,
	Rob Herring, Krzysztof Kozlowski, Conor Dooley
  Cc: linux-iio, linux-kernel, devicetree, Kim Seer Paller

The AD3530/AD3530R (8-channel) and AD3531/AD3531R (4-channel) are
low-power, 16-bit, buffered voltage output DACs with software-
programmable gain controls, providing full-scale output spans of 2.5V or
5V for reference voltages of 2.5V. These devices operate from a single
2.7V to 5.5V supply and are guaranteed monotonic by design. The "R"
variants include a 2.5V, 5ppm/°C internal reference, which is disabled
by default.

The AD3531R/AD3531 is not yet released, so the only available datasheet
for now is the AD3530R/AD3530. The only differences between the two is
the number of channels, and register addresses of some registers.

Signed-off-by: Kim Seer Paller <kimseer.paller@analog.com>
---
Changes in v3:
- Drop ABI docs.

Bindings:
- Drop reviewer's tag.
- Update commit message.
- Add non-r variants to compatible list.
- Add io-channels property to enable ADC channel support for MUXOUT
  readings.
- Switch to unevaluatedProperties: false.

ad3530r:
- Update commit message.
- Drop spi field from ad3530r_state and use regmap to retrieve the device
  pointer.
- Update mutex lock comment and use devm_mutex_init().
- Fix LDAC gpio pulse logic.
- Replace usleep_range() with fsleep().
- Use sizeof(reg_val) instead of hardcoded value in regmap_bulk_read.
- Drop reporting of zero offset.
- Add internal_ref_support chip_info parameter and modify reference
  handling.

- Link to v2: https://lore.kernel.org/r/20250324-togreg-v2-0-f211d781923e@analog.com

Changes in v2:
Bindings:
- Updated commit message.
- Changed adi,double-output-range to adi,range-double property.

ad3530r:
- Changed data type to __be16 to resolve sparse warnings related to
  type mismatches.

- Link to v1: https://lore.kernel.org/r/20250319-togreg-v1-0-d8244a502f2c@analog.com

---
Kim Seer Paller (3):
      iio: ABI: add new DAC powerdown mode
      dt-bindings: iio: dac: Add adi,ad3530r.yaml
      iio: dac: ad3530r: Add driver for AD3530R and AD3531R

 Documentation/ABI/testing/sysfs-bus-iio            |   2 +
 .../devicetree/bindings/iio/dac/adi,ad3530r.yaml   |  99 ++++
 MAINTAINERS                                        |   8 +
 drivers/iio/dac/Kconfig                            |  11 +
 drivers/iio/dac/Makefile                           |   1 +
 drivers/iio/dac/ad3530r.c                          | 514 +++++++++++++++++++++
 6 files changed, 635 insertions(+)
---
base-commit: 8dbeb413806f9f810d97d25284f585b201aa3bdc
change-id: 20250319-togreg-fc6a0af961ed

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


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

end of thread, other threads:[~2025-04-10 14:11 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-03  5:33 [PATCH v3 0/3] Add driver for AD3530R and AD3531R DACs Kim Seer Paller
2025-04-03  5:33 ` [PATCH v3 1/3] iio: ABI: add new DAC powerdown mode Kim Seer Paller
2025-04-03  5:33 ` [PATCH v3 2/3] dt-bindings: iio: dac: Add adi,ad3530r.yaml Kim Seer Paller
2025-04-03  6:27   ` Rob Herring (Arm)
2025-04-03  6:44   ` Krzysztof Kozlowski
2025-04-03  6:59     ` Paller, Kim Seer
2025-04-03  7:02       ` Krzysztof Kozlowski
2025-04-03  7:11         ` Paller, Kim Seer
2025-04-03  7:22           ` Krzysztof Kozlowski
2025-04-03  7:22   ` Krzysztof Kozlowski
2025-04-03 11:15   ` Nuno Sá
2025-04-04 16:28     ` David Lechner
2025-04-03  5:33 ` [PATCH v3 3/3] iio: dac: ad3530r: Add driver for AD3530R and AD3531R Kim Seer Paller
2025-04-03 11:31   ` Nuno Sá
2025-04-04 17:48   ` David Lechner
2025-04-07  8:01     ` Paller, Kim Seer
2025-04-08 14:06       ` David Lechner
2025-04-10  8:39         ` Paller, Kim Seer
2025-04-10 14:11           ` David Lechner
2025-04-05 16:11   ` Jonathan Cameron
2025-04-07  8:07     ` Paller, Kim Seer
2025-04-03  6:43 ` [PATCH v3 0/3] Add driver for AD3530R and AD3531R DACs Krzysztof Kozlowski
2025-04-03  6:58   ` 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