All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marcin Bis <marcin@bis-linux.com>
To: linux-iio@vger.kernel.org
Cc: Marcin Bis <marcin@bis-linux.com>
Subject: [PATCH 2/2] dt-bindings: iio: dac: adi,ad5337: add dt-bindings
Date: Fri, 12 Jun 2026 15:31:22 +0200	[thread overview]
Message-ID: <20260612133125.196208-2-marcin@bis-linux.com> (raw)
In-Reply-To: <20260612133125.196208-1-marcin@bis-linux.com>

Add dt-bindings for the AD5337 dual 8-bit I2C voltage-output DAC driver.

Signed-off-by: Marcin Bis <marcin@bis-linux.com>
---
 .../bindings/iio/dac/adi,ad5337.yaml          | 48 +++++++++++++++++++
 MAINTAINERS                                   |  1 +
 2 files changed, 49 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/iio/dac/adi,ad5337.yaml

diff --git a/Documentation/devicetree/bindings/iio/dac/adi,ad5337.yaml b/Documentation/devicetree/bindings/iio/dac/adi,ad5337.yaml
new file mode 100644
index 000000000000..327a45ccfe4a
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/adi,ad5337.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/dac/adi,ad5337.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices AD5337 I2C DAC
+
+maintainers:
+  - Marcin Bis <marcin@bis-linux.com>
+
+description:
+  Binding for the AD5337 dual 8-bit I2C voltage-output DAC.
+  This part uses the pointer-byte protocol and is not compatible with
+  the AD5337R nanoDAC+ driver (adi,ad5337r).
+
+properties:
+  compatible:
+    const: adi,ad5337
+
+  reg:
+    maxItems: 1
+    description:
+      7-bit I2C address. 0x0c when A0 is low, 0x0d when A0 is high.
+
+  vcc-supply:
+    description: DAC reference voltage supply.
+
+required:
+  - compatible
+  - reg
+
+additionalProperties: false
+
+examples:
+  - |
+    i2c {
+      #address-cells = <1>;
+      #size-cells = <0>;
+
+      dac@0c {
+        compatible = "adi,ad5337";
+        reg = <0x0c>;
+        vcc-supply = <&dac_3v3>;
+      };
+    };
+
+...
diff --git a/MAINTAINERS b/MAINTAINERS
index 614589b6efa4..f967c18fe730 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -441,6 +441,7 @@ F:	drivers/regulator/ad5398.c
 AD5337  ANALOG DEVICES INC AD5337 DAC DRIVER
 M:	Marcin Bis <marcin@bis-linux.com>
 S:	Maintained
+F:	Documentation/devicetree/bindings/iio/dac/adi,ad5337.yaml
 F:	drivers/iio/dac/ad5337.c
 
 AD5446	ANALOG DEVICES INC AD5446 DAC DRIVER
-- 
2.43.0


  reply	other threads:[~2026-06-12 13:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-12 13:31 [PATCH 1/2] iio: dac: ad5337: Add driver for the AD5337 DAC Marcin Bis
2026-06-12 13:31 ` Marcin Bis [this message]
2026-06-12 13:58   ` [PATCH 2/2] dt-bindings: iio: dac: adi,ad5337: add dt-bindings Joshua Crofts
2026-06-12 17:09   ` Jonathan Cameron
2026-06-12 14:20 ` [PATCH 1/2] iio: dac: ad5337: Add driver for the AD5337 DAC Joshua Crofts
2026-06-12 17:27 ` Jonathan Cameron

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=20260612133125.196208-2-marcin@bis-linux.com \
    --to=marcin@bis-linux.com \
    --cc=linux-iio@vger.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.