Linux IIO development
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Antoniu Miclaus <antoniu.miclaus@analog.com>,
	jic23@kernel.org, robh+dt@kernel.org,
	krzysztof.kozlowski+dt@linaro.org, linux-iio@vger.kernel.org,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/4] dt-bindings: iio: frequency: add adf4377 doc
Date: Fri, 4 Nov 2022 09:21:05 -0400	[thread overview]
Message-ID: <f551f177-8163-283d-cf1e-23b09ff35489@linaro.org> (raw)
In-Reply-To: <20221104092802.90725-2-antoniu.miclaus@analog.com>

On 04/11/2022 05:27, Antoniu Miclaus wrote:
> Add device tree bindings for the ADF4377 driver.

Subject: drop "doc"

> 
> Signed-off-by: Antoniu Miclaus <antoniu.miclaus@analog.com>
> ---
>  .../bindings/iio/frequency/adi,adf4377.yaml   | 78 +++++++++++++++++++
>  1 file changed, 78 insertions(+)
>  create mode 100644 Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml
> 
> diff --git a/Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml b/Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml
> new file mode 100644
> index 000000000000..3f5c83e03bb9
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/frequency/adi,adf4377.yaml
> @@ -0,0 +1,78 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/frequency/adi,adf4377.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: ADF4377 Microwave Wideband Synthesizer with Integrated VCO
> +
> +maintainers:
> +  - Antoniu Miclaus <antoniu.miclaus@analog.com>
> +  - Dragos Bogdan <dragos.bogdan@analog.com>
> +
> +description: |
> +   The ADF4377 is a high performance, ultralow jitter, dual output integer-N
> +   phased locked loop (PLL) with integrated voltage controlled oscillator (VCO)
> +   ideally suited for data converter and mixed signal front end (MxFE) clock
> +   applications.
> +
> +   https://www.analog.com/en/products/adf4377.html
> +
> +properties:
> +  compatible:
> +    enum:
> +      - adi,adf4377
> +      - adi,adf4378
> +
> +  reg:
> +    maxItems: 1
> +
> +  spi-max-frequency:
> +    maximum: 10000000
> +
> +  clocks:
> +    maxItems: 1
> +
> +  clock-names:
> +    description:
> +      External clock that provides reference input frequency.
> +    items:
> +      - const: ref_in
> +
> +  ce-en-gpios:

chip-enable-gpios

> +    description:
> +      Gpio that controls the Chip Enable Pin.

s/Gpio/GPIO/
(other places as well)

> +    maxItems: 1
> +
> +  enclk1-gpios:

clk1-enable-gpios

> +    description:
> +      Gpio that controls the Enable Clock 1 Output Buffer Pin.
> +    maxItems: 1
> +
> +  enclk2-gpios:

clk2-enable-gpios


> +    description:
> +      Gpio that controls the Enable Clock 2 Output Buffer Pin.
> +    maxItems: 1
> +
> +required:
> +  - compatible
> +  - reg
> +  - clocks
> +  - clock-names
> +

allOf with reference to spi-peripheral-props.yaml

> +additionalProperties: false
> +
> +examples:
> +  - |
> +    spi {
> +        #address-cells = <1>;
> +        #size-cells = <0>;
> +        frequency@0 {
> +            compatible = "adi,adf4377";
> +            reg = <0>;
> +            spi-max-frequency = <10000000>;
> +            clocks = <&adf4377_ref_in>;
> +            clock-names = "ref_in";
> +        };
> +    };
> +...

Best regards,
Krzysztof


  reply	other threads:[~2022-11-04 13:22 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-04  9:27 [PATCH 0/3] Add support for ADF4377 Antoniu Miclaus
2022-11-04  9:27 ` [PATCH 1/4] dt-bindings: iio: frequency: add adf4377 doc Antoniu Miclaus
2022-11-04 13:21   ` Krzysztof Kozlowski [this message]
2022-11-06 17:39     ` Jonathan Cameron
2022-11-04  9:28 ` [PATCH 2/4] iio: frequency: adf4377: add support for ADF4377 Antoniu Miclaus
2022-11-04  9:46   ` Christophe JAILLET
2022-11-04 11:38   ` Nuno Sá
2022-11-06 17:51     ` Jonathan Cameron
2022-11-15 12:36       ` Nuno Sá
2022-11-15 16:09         ` Jonathan Cameron
2022-11-06 18:35   ` Jonathan Cameron
2022-11-04  9:28 ` [PATCH 3/4] Documentation: ABI: testing: adf4377: add ABI docs Antoniu Miclaus
2022-11-06 17:58   ` Jonathan Cameron
2022-11-04  9:28 ` [PATCH 4/4] MAINTAINERS: add maintainer for ADF4377 driver Antoniu Miclaus
2022-11-04 11:14   ` Nuno Sá
2022-11-06 17:40 ` [PATCH 0/3] Add support for ADF4377 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=f551f177-8163-283d-cf1e-23b09ff35489@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=antoniu.miclaus@analog.com \
    --cc=devicetree@vger.kernel.org \
    --cc=jic23@kernel.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox