Message ID | 20200316155035.25500-9-alexandru.ardelean@analog.com |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | iio: adi-axi-adc,ad9647: Add support for AD9467 ADC | expand |
Context | Check | Description |
---|---|---|
robh/checkpatch | warning | "total: 0 errors, 1 warnings, 65 lines checked" |
robh/dt-meta-schema | success |
On Mon, 16 Mar 2020 17:50:35 +0200, Alexandru Ardelean wrote: > This change adds the binding doc for the AD9467 ADC. > > Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> > --- > .../bindings/iio/adc/adi,ad9467.yaml | 65 +++++++++++++++++++ > 1 file changed, 65 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml > Reviewed-by: Rob Herring <robh@kernel.org>
On Thu, 2020-03-19 at 18:50 -0600, Rob Herring wrote: > On Mon, 16 Mar 2020 17:50:35 +0200, Alexandru Ardelean wrote: > > This change adds the binding doc for the AD9467 ADC. > > > > Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> > > --- > > .../bindings/iio/adc/adi,ad9467.yaml | 65 +++++++++++++++++++ > > 1 file changed, 65 insertions(+) > > create mode 100644 > > Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml > > > > Reviewed-by: Rob Herring <robh@kernel.org> Hey Rob, Thanks for the review. Can I get your attention to patch 6/8 in this series? This set contains 2 drivers, so 2 bindings. Thanks Alex
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@analog.com> + - Alexandru Ardelean <alexandru.ardelean@analog.com> + +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"; + }; + }; +...
This change adds the binding doc for the AD9467 ADC. Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com> --- .../bindings/iio/adc/adi,ad9467.yaml | 65 +++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/adi,ad9467.yaml