summaryrefslogtreecommitdiffstats
path: root/dts/Bindings/iio/dac/ti,dac7311.txt
diff options
context:
space:
mode:
Diffstat (limited to 'dts/Bindings/iio/dac/ti,dac7311.txt')
-rw-r--r--dts/Bindings/iio/dac/ti,dac7311.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/dts/Bindings/iio/dac/ti,dac7311.txt b/dts/Bindings/iio/dac/ti,dac7311.txt
new file mode 100644
index 0000000000..e5a507db5e
--- /dev/null
+++ b/dts/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>;
+ };
+ };