diff options
Diffstat (limited to 'Documentation/devicetree/bindings/iio')
-rw-r--r-- | Documentation/devicetree/bindings/iio/dac/ad7303.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/dac/ad7303.txt b/Documentation/devicetree/bindings/iio/dac/ad7303.txt new file mode 100644 index 000000000000..914610f0556e --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ad7303.txt | |||
@@ -0,0 +1,23 @@ | |||
1 | Analog Devices AD7303 DAC device driver | ||
2 | |||
3 | Required properties: | ||
4 | - compatible: Must be "adi,ad7303" | ||
5 | - reg: SPI chip select number for the device | ||
6 | - spi-max-frequency: Max SPI frequency to use (< 30000000) | ||
7 | - Vdd-supply: Phandle to the Vdd power supply | ||
8 | |||
9 | Optional properties: | ||
10 | - REF-supply: Phandle to the external reference voltage supply. This should | ||
11 | only be set if there is an external reference voltage connected to the REF | ||
12 | pin. If the property is not set Vdd/2 is used as the reference voltage. | ||
13 | |||
14 | Example: | ||
15 | |||
16 | ad7303@4 { | ||
17 | compatible = "adi,ad7303"; | ||
18 | reg = <4>; | ||
19 | spi-max-frequency = <10000000>; | ||
20 | Vdd-supply = <&vdd_supply>; | ||
21 | adi,use-external-reference; | ||
22 | REF-supply = <&vref_supply>; | ||
23 | }; | ||