diff options
author | Charles-Antoine Couret <charles-antoine.couret@essensium.com> | 2018-10-28 17:24:02 +0100 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2018-11-11 15:29:45 +0000 |
commit | fdbd710b35f2d58a51575c764d191101d46d271a (patch) | |
tree | 265205e008361303c2a0a89b02a9da939599f3cf /Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt | |
parent | 7a02ef7907d8a2b4b699d815b9221c6febee0fac (diff) | |
download | linux-stable-fdbd710b35f2d58a51575c764d191101d46d271a.tar.gz linux-stable-fdbd710b35f2d58a51575c764d191101d46d271a.tar.bz2 linux-stable-fdbd710b35f2d58a51575c764d191101d46d271a.zip |
dt-bindings: iio: dac: Add ti,dac7311 device tree bindings in documentation
Description how to invoke ti-dac7311 driver from device tree file.
Signed-off-by: Charles-Antoine Couret <charles-antoine.couret@essensium.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt')
-rw-r--r-- | Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt new file mode 100644 index 000000000000..e5a507db5e01 --- /dev/null +++ b/Documentation/devicetree/bindings/iio/dac/ti,dac7311.txt @@ -0,0 +1,23 @@ +TI DAC7311 device tree bindings + +Required properties: +- compatible: must be set to: + * "ti,dac7311" + * "ti,dac6311" + * "ti,dac5311" +- reg: spi chip select number for the device +- vref-supply: The regulator supply for ADC reference voltage + +Optional properties: +- spi-max-frequency: Max SPI frequency to use + +Example: + + spi_master { + dac@0 { + compatible = "ti,dac7311"; + reg = <0>; /* CS0 */ + spi-max-frequency = <1000000>; + vref-supply = <&vdd_supply>; + }; + }; |