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 16:29:45 +0100 |
commit | fdbd710b35f2d58a51575c764d191101d46d271a (patch) | |
tree | 265205e008361303c2a0a89b02a9da939599f3cf /Documentation/devicetree | |
parent | iio:dac:ti-dac7311 Add driver for Texas Instrument DAC7311 (diff) | |
download | linux-fdbd710b35f2d58a51575c764d191101d46d271a.tar.xz linux-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')
-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>; + }; + }; |