* [PATCH v3 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding @ 2026-05-09 1:37 Hungyu Lin 2026-05-09 1:37 ` [PATCH v3 1/1] " Hungyu Lin 2026-05-09 2:10 ` [PATCH v3 0/1] " Sanjay Chitroda 0 siblings, 2 replies; 7+ messages in thread From: Hungyu Lin @ 2026-05-09 1:37 UTC (permalink / raw) To: lars, Michael.Hennerich, jic23, robh, krzk+dt, conor+dt Cc: dlechner, nuno.sa, andy, linux-iio, devicetree, linux-kernel, Hungyu Lin This series adds devicetree binding documentation for the Analog Devices AD9832 and AD9835 DDS devices. v3: - Require spi-cpol in binding and example - Use generic node name (dds@0) in example 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 | 91 +++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml -- 2.34.1 ^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH v3 1/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding 2026-05-09 1:37 [PATCH v3 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding Hungyu Lin @ 2026-05-09 1:37 ` Hungyu Lin 2026-05-09 2:20 ` Sanjay Chitroda 2026-05-11 17:00 ` Jonathan Cameron 2026-05-09 2:10 ` [PATCH v3 0/1] " Sanjay Chitroda 1 sibling, 2 replies; 7+ messages in thread From: Hungyu Lin @ 2026-05-09 1:37 UTC (permalink / raw) To: lars, Michael.Hennerich, jic23, robh, krzk+dt, conor+dt Cc: 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. Require spi-cpol since AD9832/AD9835 use SPI mode 2. Update the example to include spi-cpol and use a generic node name. Signed-off-by: Hungyu Lin <dennylin0707@gmail.com> --- .../bindings/iio/dds/adi,ad9832.yaml | 91 +++++++++++++++++++ 1 file changed, 91 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..9f3e41cb0a0d --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml @@ -0,0 +1,91 @@ +# 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 + + spi-cpol: true + + 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 + - spi-cpol + +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>; + + dds@0 { + compatible = "adi,ad9832"; + reg = <0>; + spi-max-frequency = <20000000>; + spi-cpol; + clocks = <&mclk>; + clock-names = "mclk"; + avdd-supply = <&vdd_3v3>; + dvdd-supply = <&vdd_3v3>; + }; + }; -- 2.34.1 ^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding 2026-05-09 1:37 ` [PATCH v3 1/1] " Hungyu Lin @ 2026-05-09 2:20 ` Sanjay Chitroda 2026-05-11 17:00 ` Jonathan Cameron 1 sibling, 0 replies; 7+ messages in thread From: Sanjay Chitroda @ 2026-05-09 2:20 UTC (permalink / raw) To: Hungyu Lin, lars, Michael.Hennerich, jic23, robh, krzk+dt, conor+dt Cc: dlechner, nuno.sa, andy, linux-iio, devicetree, linux-kernel On 9 May 2026 7:07:45 am IST, Hungyu Lin <dennylin0707@gmail.com> wrote: >Add devicetree binding documentation for AD9832 and AD9835 DDS devices. > Hi, It looks like you have sent multiple patch versions within 24 hours. I would suggest taking some additional time for development and validation before sending updates to the mailing list. It is also good to allow reviewers enough time to provide feedback, atleast a minimum of 24 hours. Please be patient and wait for a few days, or ideally upto week, so reviewers have sufficient time to review the changes properly. Thanks, Sanjay >These devices are SPI-controlled direct digital synthesizers >requiring AVDD, DVDD supplies and an external master clock. > >Require spi-cpol since AD9832/AD9835 use SPI mode 2. >Update the example to include spi-cpol and use a generic node name. > >Signed-off-by: Hungyu Lin <dennylin0707@gmail.com> >--- > .../bindings/iio/dds/adi,ad9832.yaml | 91 +++++++++++++++++++ > 1 file changed, 91 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..9f3e41cb0a0d >--- /dev/null >+++ b/Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml >@@ -0,0 +1,91 @@ >+# 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 >+ >+ spi-cpol: true >+ >+ 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 >+ - spi-cpol >+ >+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>; >+ >+ dds@0 { >+ compatible = "adi,ad9832"; >+ reg = <0>; >+ spi-max-frequency = <20000000>; >+ spi-cpol; >+ clocks = <&mclk>; >+ clock-names = "mclk"; >+ avdd-supply = <&vdd_3v3>; >+ dvdd-supply = <&vdd_3v3>; >+ }; >+ }; ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding 2026-05-09 1:37 ` [PATCH v3 1/1] " Hungyu Lin 2026-05-09 2:20 ` Sanjay Chitroda @ 2026-05-11 17:00 ` Jonathan Cameron 2026-05-12 0:45 ` Denny Lin 1 sibling, 1 reply; 7+ messages in thread From: Jonathan Cameron @ 2026-05-11 17:00 UTC (permalink / raw) To: Hungyu Lin Cc: lars, Michael.Hennerich, robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy, linux-iio, devicetree, linux-kernel On Sat, 9 May 2026 01:37:45 +0000 Hungyu Lin <dennylin0707@gmail.com> wrote: > 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. > > Require spi-cpol since AD9832/AD9835 use SPI mode 2. > Update the example to include spi-cpol and use a generic node name. > > Signed-off-by: Hungyu Lin <dennylin0707@gmail.com> As per v1 discussion that is ongoing - we haven't in the past put dt-bindings in place until we are ready to move the driver in question out of staging. IIRC these are a fair way from reaching that stage. Anyhow with that in mind a few quick comments inline. Thanks, Jonathan > --- > .../bindings/iio/dds/adi,ad9832.yaml | 91 +++++++++++++++++++ > 1 file changed, 91 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..9f3e41cb0a0d > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml > @@ -0,0 +1,91 @@ > +# 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 > + > + spi-cpol: true > + > + clocks: > + maxItems: 1 > + description: > + External master clock input. > + > + clock-names: > + const: mclk Do we need to name it if there is only one? > + > + avdd-supply: > + description: > + Analog power supply. > + > + dvdd-supply: > + description: > + Digital power supply. Personally I'd not bother with the descriptions as avdd is always analog supply and where you have one of those dvdd is the digital one. Absolutely fine to have avdd-supply: true dvdd-supply: true And no more info about htem. > + > +required: > + - compatible > + - reg > + - clocks > + - clock-names > + - avdd-supply > + - dvdd-supply > + - spi-cpol > + > +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; > + }; See other binding examples. Normally we just refer to clocks and regulators etc that are magically coming from somewhere outside of the example snippet. So shouldn't need any of the stuff above here. > + > + spi { > + #address-cells = <1>; > + #size-cells = <0>; > + > + dds@0 { > + compatible = "adi,ad9832"; > + reg = <0>; > + spi-max-frequency = <20000000>; > + spi-cpol; > + clocks = <&mclk>; > + clock-names = "mclk"; > + avdd-supply = <&vdd_3v3>; > + dvdd-supply = <&vdd_3v3>; > + }; > + }; ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 1/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding 2026-05-11 17:00 ` Jonathan Cameron @ 2026-05-12 0:45 ` Denny Lin 0 siblings, 0 replies; 7+ messages in thread From: Denny Lin @ 2026-05-12 0:45 UTC (permalink / raw) To: Jonathan Cameron Cc: lars, Michael.Hennerich, robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy, linux-iio, devicetree, linux-kernel On Mon, May 11, 2026 at 10:01 AM Jonathan Cameron <jic23@kernel.org> wrote: > > As per v1 discussion that is ongoing - we haven't in the past put > dt-bindings in place until we are ready to move the driver in question > out of staging. IIRC these are a fair way from reaching that stage. > Thanks for the clarification. I understand that DT bindings are typically added when the driver is ready to move out of staging. I'm fine with deferring this until the driver is closer to that stage. I'll take your comments into account when revisiting this. Thanks, Hungyu ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding 2026-05-09 1:37 [PATCH v3 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding Hungyu Lin 2026-05-09 1:37 ` [PATCH v3 1/1] " Hungyu Lin @ 2026-05-09 2:10 ` Sanjay Chitroda 2026-05-11 16:56 ` Jonathan Cameron 1 sibling, 1 reply; 7+ messages in thread From: Sanjay Chitroda @ 2026-05-09 2:10 UTC (permalink / raw) To: Hungyu Lin, lars, Michael.Hennerich, jic23, robh, krzk+dt, conor+dt Cc: dlechner, nuno.sa, andy, linux-iio, devicetree, linux-kernel On 9 May 2026 7:07:44 am IST, Hungyu Lin <dennylin0707@gmail.com> wrote: >This series adds devicetree binding documentation for the >Analog Devices AD9832 and AD9835 DDS devices. > >v3: > - Require spi-cpol in binding and example > - Use generic node name (dds@0) in example > Hi, Thank you for the change. Ideally, multiple logical changes should be split into series. For a single patch you can include changelog like this: Signed-off-by: .... --- Changes in v2: - Add SPI peripheral schema reference --- .../bindings.. | 94 +++++++++++++++++++ If reviewer specifically asked to update, you can mention in the changelog as well. for examle: - Add SPI peripheral schema reference based on review comment from <Reviewer Name> Replace <Reviewer Name> with the actual reviewer. Thanks, Sanjay >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 | 91 +++++++++++++++++++ > 1 file changed, 91 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml > ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v3 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding 2026-05-09 2:10 ` [PATCH v3 0/1] " Sanjay Chitroda @ 2026-05-11 16:56 ` Jonathan Cameron 0 siblings, 0 replies; 7+ messages in thread From: Jonathan Cameron @ 2026-05-11 16:56 UTC (permalink / raw) To: Sanjay Chitroda Cc: Hungyu Lin, lars, Michael.Hennerich, robh, krzk+dt, conor+dt, dlechner, nuno.sa, andy, linux-iio, devicetree, linux-kernel On Sat, 09 May 2026 07:40:55 +0530 Sanjay Chitroda <sanjayembeddedse@gmail.com> wrote: > On 9 May 2026 7:07:44 am IST, Hungyu Lin <dennylin0707@gmail.com> wrote: > >This series adds devicetree binding documentation for the > >Analog Devices AD9832 and AD9835 DDS devices. > > > >v3: > > - Require spi-cpol in binding and example > > - Use generic node name (dds@0) in example > > > > Hi, > > Thank you for the change. > > Ideally, multiple logical changes should be split into series. For a single patch you can include changelog like this: Whilst in general that is true, here we are talking about a single device tree binding. Those are almost always single patch affairs as they aren't normally that complex. Jonathan > > Signed-off-by: .... > --- > Changes in v2: > - Add SPI peripheral schema reference > --- > .../bindings.. > | 94 +++++++++++++++++++ > > If reviewer specifically asked to update, you can mention in the changelog as well. for examle: > > - Add SPI peripheral schema reference based on review comment from <Reviewer Name> > > Replace <Reviewer Name> with the actual reviewer. > > Thanks, > Sanjay > > >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 | 91 +++++++++++++++++++ > > 1 file changed, 91 insertions(+) > > create mode 100644 Documentation/devicetree/bindings/iio/dds/adi,ad9832.yaml > > ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-05-12 0:45 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2026-05-09 1:37 [PATCH v3 0/1] dt-bindings: iio: dds: Add AD9832/AD9835 binding Hungyu Lin 2026-05-09 1:37 ` [PATCH v3 1/1] " Hungyu Lin 2026-05-09 2:20 ` Sanjay Chitroda 2026-05-11 17:00 ` Jonathan Cameron 2026-05-12 0:45 ` Denny Lin 2026-05-09 2:10 ` [PATCH v3 0/1] " Sanjay Chitroda 2026-05-11 16:56 ` Jonathan Cameron
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox