Message ID | 20181006203036.20338-2-charles-antoine.couret@essensium.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [1/2] Add AD7949 ADC driver family | expand |
On Sat, 6 Oct 2018 22:30:36 +0200 Charles-Antoine Couret <charles-antoine.couret@essensium.com> wrote: > Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com> Device tree bindings should be cc'd to the devicetree maintainers and mailing list for review. As has been shown far too many times, I'm not very good and spotting the detail issues in these! So over to Rob and Mark's eagle eyes. Jonathan > --- > .../devicetree/bindings/iio/adc/ad7949.txt | 18 ++++++++++++++++++ > 1 file changed, 18 insertions(+) > create mode 100644 Documentation/devicetree/bindings/iio/adc/ad7949.txt > > diff --git a/Documentation/devicetree/bindings/iio/adc/ad7949.txt b/Documentation/devicetree/bindings/iio/adc/ad7949.txt > new file mode 100644 > index 000000000000..4dc921961df7 > --- /dev/null > +++ b/Documentation/devicetree/bindings/iio/adc/ad7949.txt > @@ -0,0 +1,18 @@ > +* Analog Devices AD7949/AD7682/AD7689 > + > +Required properties: > + - compatible: Should be one of > + * "ad7949" > + * "ad7682" > + * "ad7689" > + - reg: spi chip select number for the device > + - vref-supply: The regulator supply for ADC reference voltage > + - spi-max-frequency: Max SPI frequency to use (< 33000000) > + > +Example: > +adc@0 { > + compatible = "ti,adc0832"; > + reg = <0>; > + vref-supply = <&vdd_supply>; > + spi-max-frequency = <200000>; > +};
diff --git a/Documentation/devicetree/bindings/iio/adc/ad7949.txt b/Documentation/devicetree/bindings/iio/adc/ad7949.txt new file mode 100644 index 000000000000..4dc921961df7 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/adc/ad7949.txt @@ -0,0 +1,18 @@ +* Analog Devices AD7949/AD7682/AD7689 + +Required properties: + - compatible: Should be one of + * "ad7949" + * "ad7682" + * "ad7689" + - reg: spi chip select number for the device + - vref-supply: The regulator supply for ADC reference voltage + - spi-max-frequency: Max SPI frequency to use (< 33000000) + +Example: +adc@0 { + compatible = "ti,adc0832"; + reg = <0>; + vref-supply = <&vdd_supply>; + spi-max-frequency = <200000>; +};
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com> --- .../devicetree/bindings/iio/adc/ad7949.txt | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Documentation/devicetree/bindings/iio/adc/ad7949.txt