[PATCH v2 1/2] iio: document ti-dac8554 devicetree bindings

From: Nikolaus Schulz
Date: Mon Nov 24 2014 - 14:49:16 EST


Signed-off-by: Nikolaus Schulz <nikolaus.schulz@xxxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/iio/dac/ti-dac8554.txt | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
create mode 100644 Documentation/devicetree/bindings/iio/dac/ti-dac8554.txt

diff --git a/Documentation/devicetree/bindings/iio/dac/ti-dac8554.txt b/Documentation/devicetree/bindings/iio/dac/ti-dac8554.txt
new file mode 100644
index 0000000..16f7178
--- /dev/null
+++ b/Documentation/devicetree/bindings/iio/dac/ti-dac8554.txt
@@ -0,0 +1,22 @@
+TI DAC8554 Digital to Analog Converter
+
+This driver supports the SPI bus.
+
+Required properties:
+ - compatible: must be "ti,dac8554"
+ - vref-supply: the vref power supply
+ - address: the additional 2-bit chip address
+
+For required properties on SPI, please consult
+Documentation/devicetree/bindings/spi/spi-bus.txt
+
+Example:
+
+ dac8554@0 {
+ compatible = "ti,dac8554";
+ reg = <0>;
+ spi-max-frequency = <50000000>;
+
+ vref-supply = <&vdd_vref>;
+ address = <0>;
+ };
--
2.1.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/