Skip to content

Commit

Permalink
dt-bindings: iio: adc: add driver for the ti-adc084s021 chip
Browse files Browse the repository at this point in the history
This adds support for the Texas Instruments ADC084S021 ADC chip.

Signed-off-by: Mårten Lindahl <martenli@axis.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
Mårten Lindahl authored and Jonathan Cameron committed May 14, 2017
1 parent 4ae2f37 commit f98f3be
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions Documentation/devicetree/bindings/iio/adc/ti-adc084s021.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
* Texas Instruments' ADC084S021

Required properties:
- compatible : Must be "ti,adc084s021"
- reg : SPI chip select number for the device
- vref-supply : The regulator supply for ADC reference voltage
- spi-cpol : Per spi-bus bindings
- spi-cpha : Per spi-bus bindings
- spi-max-frequency : Per spi-bus bindings

Example:
adc@0 {
compatible = "ti,adc084s021";
reg = <0>;
vref-supply = <&adc_vref>;
spi-cpol;
spi-cpha;
spi-max-frequency = <16000000>;
};

0 comments on commit f98f3be

Please sign in to comment.