* [PATCH v5 2/2] dt-bindings: iio: frequency: Add docs for ADF4371 PLL
@ 2019-06-04 13:08 Stefan Popa
2019-06-11 21:59 ` Rob Herring
0 siblings, 1 reply; 4+ messages in thread
From: Stefan Popa @ 2019-06-04 13:08 UTC (permalink / raw)
To: jic23, robh+dt
Cc: mark.rutland, knaack.h, lars, pmeerw, Michael.Hennerich, gregkh,
linux-iio, devicetree, linux-kernel, stefan.popa
Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
Signed-off-by: Stefan Popa <stefan.popa@analog.com>
---
Changes in v2:
- Nothing changed.
Changes in v3:
- Nothing changed.
Changes in v4:
- Nothing changed.
Changes in v5:
- Nothing changed.
.../devicetree/bindings/iio/frequency/adf4371.yaml | 54 ++++++++++++++++++++++
1 file changed, 54 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
new file mode 100644
index 0000000..d7adf074
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
@@ -0,0 +1,54 @@
+# SPDX-License-Identifier: GPL-2.0
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/iio/frequency/adf4371.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices ADF4371 Wideband Synthesizer
+
+maintainers:
+ - Popa Stefan <stefan.popa@analog.com>
+
+description: |
+ Analog Devices ADF4371 SPI Wideband Synthesizer
+ https://www.analog.com/media/en/technical-documentation/data-sheets/adf4371.pdf
+
+properties:
+ compatible:
+ enum:
+ - adi,adf4371
+
+ reg:
+ maxItems: 1
+
+ clocks:
+ description:
+ Definition of the external clock (see clock/clock-bindings.txt)
+ maxItems: 1
+
+ clock-names:
+ description:
+ Must be "clkin"
+ maxItems: 1
+
+required:
+ - compatible
+ - reg
+ - clocks
+ - clock-names
+
+examples:
+ - |
+ spi0 {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ frequency@0 {
+ compatible = "adi,adf4371";
+ reg = <0>;
+ spi-max-frequency = <1000000>;
+ clocks = <&adf4371_clkin>;
+ clock-names = "clkin";
+ };
+ };
+...
--
2.7.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v5 2/2] dt-bindings: iio: frequency: Add docs for ADF4371 PLL
2019-06-04 13:08 [PATCH v5 2/2] dt-bindings: iio: frequency: Add docs for ADF4371 PLL Stefan Popa
@ 2019-06-11 21:59 ` Rob Herring
2019-06-11 22:00 ` Rob Herring
2019-06-12 14:09 ` Popa, Stefan Serban
0 siblings, 2 replies; 4+ messages in thread
From: Rob Herring @ 2019-06-11 21:59 UTC (permalink / raw)
To: Stefan Popa
Cc: jic23, mark.rutland, knaack.h, lars, pmeerw, Michael.Hennerich,
gregkh, linux-iio, devicetree, linux-kernel
On Tue, Jun 04, 2019 at 04:08:17PM +0300, Stefan Popa wrote:
> Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
>
> Signed-off-by: Stefan Popa <stefan.popa@analog.com>
> ---
> Changes in v2:
> - Nothing changed.
> Changes in v3:
> - Nothing changed.
> Changes in v4:
> - Nothing changed.
> Changes in v5:
> - Nothing changed.
Please add acks/reviewed-bys when posting new versions.
But something else I noticed:
>
> .../devicetree/bindings/iio/frequency/adf4371.yaml | 54 ++++++++++++++++++++++
> 1 file changed, 54 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> new file mode 100644
> index 0000000..d7adf074
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> @@ -0,0 +1,54 @@
> +# SPDX-License-Identifier: GPL-2.0
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/frequency/adf4371.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Analog Devices ADF4371 Wideband Synthesizer
> +
> +maintainers:
> + - Popa Stefan <stefan.popa@analog.com>
> +
> +description: |
> + Analog Devices ADF4371 SPI Wideband Synthesizer
> + https://www.analog.com/media/en/technical-documentation/data-sheets/adf4371.pdf
> +
> +properties:
> + compatible:
> + enum:
> + - adi,adf4371
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + description:
> + Definition of the external clock (see clock/clock-bindings.txt)
> + maxItems: 1
> +
> + clock-names:
> + description:
> + Must be "clkin"
This can be a schema:
clock-names:
items:
- clkin
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> +
> +examples:
> + - |
> + spi0 {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + frequency@0 {
> + compatible = "adi,adf4371";
> + reg = <0>;
> + spi-max-frequency = <1000000>;
> + clocks = <&adf4371_clkin>;
> + clock-names = "clkin";
> + };
> + };
> +...
> --
> 2.7.4
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v5 2/2] dt-bindings: iio: frequency: Add docs for ADF4371 PLL
2019-06-11 21:59 ` Rob Herring
@ 2019-06-11 22:00 ` Rob Herring
2019-06-12 14:09 ` Popa, Stefan Serban
1 sibling, 0 replies; 4+ messages in thread
From: Rob Herring @ 2019-06-11 22:00 UTC (permalink / raw)
To: Stefan Popa
Cc: Jonathan Cameron, Mark Rutland, Hartmut Knaack,
Lars-Peter Clausen, Peter Meerwald, Michael Hennerich,
Greg Kroah-Hartman, open list:IIO SUBSYSTEM AND DRIVERS,
devicetree, linux-kernel
On Tue, Jun 11, 2019 at 3:59 PM Rob Herring <robh@kernel.org> wrote:
>
> On Tue, Jun 04, 2019 at 04:08:17PM +0300, Stefan Popa wrote:
> > Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
> >
> > Signed-off-by: Stefan Popa <stefan.popa@analog.com>
> > ---
> > Changes in v2:
> > - Nothing changed.
> > Changes in v3:
> > - Nothing changed.
> > Changes in v4:
> > - Nothing changed.
> > Changes in v5:
> > - Nothing changed.
>
> Please add acks/reviewed-bys when posting new versions.
>
> But something else I noticed:
>
> >
> > .../devicetree/bindings/iio/frequency/adf4371.yaml | 54 ++++++++++++++++++++++
> > 1 file changed, 54 insertions(+)
> > create mode 100644 Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> >
> > diff --git a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > new file mode 100644
> > index 0000000..d7adf074
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > @@ -0,0 +1,54 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/iio/frequency/adf4371.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Analog Devices ADF4371 Wideband Synthesizer
> > +
> > +maintainers:
> > + - Popa Stefan <stefan.popa@analog.com>
> > +
> > +description: |
> > + Analog Devices ADF4371 SPI Wideband Synthesizer
> > + https://www.analog.com/media/en/technical-documentation/data-sheets/adf4371.pdf
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - adi,adf4371
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + clocks:
> > + description:
> > + Definition of the external clock (see clock/clock-bindings.txt)
> > + maxItems: 1
> > +
> > + clock-names:
> > + description:
> > + Must be "clkin"
>
> This can be a schema:
>
> clock-names:
> items:
> - clkin
And with that, you can keep my R-by.
Rob
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v5 2/2] dt-bindings: iio: frequency: Add docs for ADF4371 PLL
2019-06-11 21:59 ` Rob Herring
2019-06-11 22:00 ` Rob Herring
@ 2019-06-12 14:09 ` Popa, Stefan Serban
1 sibling, 0 replies; 4+ messages in thread
From: Popa, Stefan Serban @ 2019-06-12 14:09 UTC (permalink / raw)
To: robh
Cc: lars, linux-kernel, knaack.h, jic23, devicetree, Hennerich,
Michael, linux-iio, mark.rutland, pmeerw, gregkh
Hi Rob,
I'm sorry I forgot to include your Reviewed-by in this patch series.
However, I realized this mistake and added it to v6 which in the meantime
Jonathan has applied.
I will fix your remark bellow regarding clock-names in the next patch
series for this device.
Thank you,
-Stefan
On Ma, 2019-06-11 at 15:59 -0600, Rob Herring wrote:
>
>
> On Tue, Jun 04, 2019 at 04:08:17PM +0300, Stefan Popa wrote:
> >
> > Document support for Analog Devices ADF4371 SPI Wideband Synthesizer.
> >
> > Signed-off-by: Stefan Popa <stefan.popa@analog.com>
> > ---
> > Changes in v2:
> > - Nothing changed.
> > Changes in v3:
> > - Nothing changed.
> > Changes in v4:
> > - Nothing changed.
> > Changes in v5:
> > - Nothing changed.
> Please add acks/reviewed-bys when posting new versions.
>
> But something else I noticed:
>
> >
> >
> > .../devicetree/bindings/iio/frequency/adf4371.yaml | 54
> > ++++++++++++++++++++++
> > 1 file changed, 54 insertions(+)
> > create mode 100644
> > Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> >
> > diff --git
> > a/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > new file mode 100644
> > index 0000000..d7adf074
> > --- /dev/null
> > +++ b/Documentation/devicetree/bindings/iio/frequency/adf4371.yaml
> > @@ -0,0 +1,54 @@
> > +# SPDX-License-Identifier: GPL-2.0
> > +%YAML 1.2
> > +---
> > +$id: http://devicetree.org/schemas/iio/frequency/adf4371.yaml#
> > +$schema: http://devicetree.org/meta-schemas/core.yaml#
> > +
> > +title: Analog Devices ADF4371 Wideband Synthesizer
> > +
> > +maintainers:
> > + - Popa Stefan <stefan.popa@analog.com>
> > +
> > +description: |
> > + Analog Devices ADF4371 SPI Wideband Synthesizer
> > + https://www.analog.com/media/en/technical-documentation/data-sheets/
> > adf4371.pdf
> > +
> > +properties:
> > + compatible:
> > + enum:
> > + - adi,adf4371
> > +
> > + reg:
> > + maxItems: 1
> > +
> > + clocks:
> > + description:
> > + Definition of the external clock (see clock/clock-bindings.txt)
> > + maxItems: 1
> > +
> > + clock-names:
> > + description:
> > + Must be "clkin"
> This can be a schema:
>
> clock-names:
> items:
> - clkin
>
> >
> > + maxItems: 1
> > +
> > +required:
> > + - compatible
> > + - reg
> > + - clocks
> > + - clock-names
> > +
> > +examples:
> > + - |
> > + spi0 {
> > + #address-cells = <1>;
> > + #size-cells = <0>;
> > +
> > + frequency@0 {
> > + compatible = "adi,adf4371";
> > + reg = <0>;
> > + spi-max-frequency = <1000000>;
> > + clocks = <&adf4371_clkin>;
> > + clock-names = "clkin";
> > + };
> > + };
> > +...
> > --
> > 2.7.4
> >
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-06-12 14:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-04 13:08 [PATCH v5 2/2] dt-bindings: iio: frequency: Add docs for ADF4371 PLL Stefan Popa
2019-06-11 21:59 ` Rob Herring
2019-06-11 22:00 ` Rob Herring
2019-06-12 14:09 ` Popa, Stefan Serban
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).