Re: [PATCH v2 1/3] dt-bindings: iio: dac: Add AD5529R

From: Janani Sunil

Date: Tue May 19 2026 - 03:01:53 EST



On 5/8/26 14:48, Jonathan Cameron wrote:
On Fri, 8 May 2026 13:55:47 +0200
Janani Sunil <janani.sunil@xxxxxxxxxx> wrote:

Devicetree bindings for AD5529R 16 channel 12/16 bit high voltage,
buffered voltage output digital-to-analog converter (DAC) with an
integrated precision reference.

Signed-off-by: Janani Sunil <janani.sunil@xxxxxxxxxx>
---
.../devicetree/bindings/iio/dac/adi,ad5529r.yaml | 96 ++++++++++++++++++++++
MAINTAINERS | 7 ++
2 files changed, 103 insertions(+)

diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5529r.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5529r.yaml
new file mode 100644
index 000000000000..f531b4865b01
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5529r.yaml
@@ -0,0 +1,96 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/dac/adi,ad5529r.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices AD5529R 16-Channel 12/16-bit High Voltage DAC
+ * Multiplexer for output voltage, load current sense and die temperature
+
+ Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ad5529r.pdf
+
+properties:
+ compatible:
+ const: adi,ad5529r
+
+ reg:
+ maxItems: 1
+
+ spi-max-frequency:
+ maximum: 50000000
+
+ reset-gpios:
+ maxItems: 1
+ description:
+ GPIO connected to the RESET pin. Active low. When asserted low,
+ performs a power-on reset and initializes the device to its default state.
+
+ vdd-supply:
+ description: Digital power supply (typically 3.3V)
+
+ avdd-supply:
+ description: Analog power supply (typically 5V)
+
+ hvdd-supply:
+ description: High voltage positive supply (up to 40V for output range)
+
+ hvss-supply:
+ description: High voltage negative supply (ground or negative voltage)
I don't mind doing it this way but in some similar cases where 0 is something that
can be considered the 'default' we've made the supply optional. What was
your reasoning for requiring it in this case?

dt-bindings should be as complete as we can make them - with that in mind...

There are some more interesting corners on this device the binding doesn't
currently cover such as mux_out pin. We'd normally do that by making the
driver potentially a client of an ADC

Easier though is !alarm which smells like an interrupt.
!clear probably a gpio. TG0-3 also GPIOs.

You are right, for unipolar operation, HVSS can default to ground. I will make HVSS optional.
I will also add bindings for alarm/clear/TG1, TG2, TG3 and mux out.

Best Regards,
Janani Sunil