* [PATCH v2 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding
@ 2026-05-09 0:28 Hungyu Lin
2026-05-09 0:28 ` [PATCH v2 1/1] " Hungyu Lin
0 siblings, 1 reply; 2+ messages in thread
From: Hungyu Lin @ 2026-05-09 0:28 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt
Cc: jic23, lars, Michael.Hennerich, dlechner, nuno.sa, andy,
linux-iio, devicetree, linux-kernel, Hungyu Lin
v2:
- Add SPI peripheral schema reference
- Fix example by adding clock and regulator providers
- Fix SPDX license format
Hungyu Lin (1):
dt-bindings: iio: dds: Add AD9832/AD9835 binding
.../bindings/iio/dds/adi,ad9832.yaml | 87 +++++++++++++++++++
1 file changed, 87 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml
--
2.34.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2 1/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding
2026-05-09 0:28 [PATCH v2 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding Hungyu Lin
@ 2026-05-09 0:28 ` Hungyu Lin
0 siblings, 0 replies; 2+ messages in thread
From: Hungyu Lin @ 2026-05-09 0:28 UTC (permalink / raw)
To: robh, krzk+dt, conor+dt
Cc: jic23, lars, Michael.Hennerich, dlechner, nuno.sa, andy,
linux-iio, devicetree, linux-kernel, Hungyu Lin
Add devicetree binding documentation for AD9832 and AD9835 DDS devices.
These devices are SPI-controlled direct digital synthesizers
requiring AVDD, DVDD supplies and an external master clock.
Signed-off-by: Hungyu Lin <dennylin0707@gmail.com>
---
.../bindings/iio/dds/adi,ad9832.yaml | 87 +++++++++++++++++++
1 file changed, 87 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml
diff --git a/Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml b/Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml
new file mode 100644
index 000000000000..95b20ed4f9c0
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml
@@ -0,0 +1,87 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/dds/adi,ad9832.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices AD9832 / AD9835 DDS
+
+maintainers:
+ - Hungyu Lin <dennylin0707@gmail.com>
+
+description: |
+ Binding for Analog Devices AD9832 and AD9835 SPI-controlled direct
+ digital synthesizers (DDS). The devices use an external master clock
+ and are controlled over a serial SPI-compatible interface.
+
+properties:
+ compatible:
+ enum:
+ - adi,ad9832
+ - adi,ad9835
+
+ reg:
+ maxItems: 1
+
+ spi-max-frequency:
+ maximum: 20000000
+
+ clocks:
+ maxItems: 1
+ description:
+ External master clock input.
+
+ clock-names:
+ const: mclk
+
+ avdd-supply:
+ description:
+ Analog power supply.
+
+ dvdd-supply:
+ description:
+ Digital power supply.
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+ - avdd-supply
+ - dvdd-supply
+
+allOf:
+ - $ref: /schemas/spi/spi-peripheral-props.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ mclk: clock {
+ compatible = "fixed-clock";
+ #clock-cells = <0>;
+ clock-frequency = <25000000>;
+ };
+
+ vdd_3v3: regulator {
+ compatible = "regulator-fixed";
+ regulator-name = "vdd_3v3";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ regulator-always-on;
+ };
+
+ spi {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ ad9832@0 {
+ compatible = "adi,ad9832";
+ reg = <0>;
+ spi-max-frequency = <20000000>;
+ clocks = <&mclk>;
+ clock-names = "mclk";
+ avdd-supply = <&vdd_3v3>;
+ dvdd-supply = <&vdd_3v3>;
+ };
+ };
--
2.34.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-09 0:28 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-09 0:28 [PATCH v2 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding Hungyu Lin
2026-05-09 0:28 ` [PATCH v2 1/1] " Hungyu Lin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox