Re: [PATCH v11 8/8] dt-bindings: iio: adc: add bindings doc for AD9467 ADC

From: Jonathan Cameron
Date: Sat Mar 21 2020 - 13:24:20 EST


On Sat, 21 Mar 2020 10:53:15 +0200
Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx> wrote:

> This change adds the binding doc for the AD9467 ADC.
>
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>

Applied thanks.

Great to have the first of these high speed devices upstream :)

Thanks,

Jonathan

> ---
> .../bindings/iio/adc/adi,ad9467.yaml | 65 +++++++++++++++++++
> 1 file changed, 65 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml
>
> diff --git a/Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml b/Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml
> new file mode 100644
> index 000000000000..c4f57fa6aad1
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml
> @@ -0,0 +1,65 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/iio/adc/adi,ad9467.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: Analog Devices AD9467 High-Speed ADC
> +
> +maintainers:
> + - Michael Hennerich <michael.hennerich@xxxxxxxxxx>
> + - Alexandru Ardelean <alexandru.ardelean@xxxxxxxxxx>
> +
> +description: |
> + The AD9467 is a 16-bit, monolithic, IF sampling analog-to-digital
> + converter (ADC).
> +
> + https://www.analog.com/media/en/technical-documentation/data-sheets/AD9467.pdf
> +
> +properties:
> + compatible:
> + enum:
> + - adi,ad9467
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + items:
> + - const: adc-clk
> +
> + powerdown-gpios:
> + description:
> + Pin that controls the powerdown mode of the device.
> + maxItems: 1
> +
> + reset-gpios:
> + description:
> + Reset pin for the device.
> + maxItems: 1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> + - clock-names
> +
> +additionalProperties: false
> +
> +examples:
> + - |
> + spi {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + adc@0 {
> + compatible = "adi,ad9467";
> + reg = <0>;
> + clocks = <&adc_clk>;
> + clock-names = "adc-clk";
> + };
> + };
> +...