From f91f9258f61f024d34b7c001f989acf8ee39378a Mon Sep 17 00:00:00 2001 From: Daniel Mack Date: Sun, 22 Sep 2013 21:51:49 +0200 Subject: drivers: misc: ti_dac7512: add support for DT matching Only matching is done via DT, no other details can be passed. Signed-off-by: Daniel Mack Signed-off-by: Greg Kroah-Hartman --- .../devicetree/bindings/misc/ti,dac7512.txt | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/ti,dac7512.txt (limited to 'Documentation/devicetree/bindings/misc') diff --git a/Documentation/devicetree/bindings/misc/ti,dac7512.txt b/Documentation/devicetree/bindings/misc/ti,dac7512.txt new file mode 100644 index 000000000000..1db45939dac9 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/ti,dac7512.txt @@ -0,0 +1,20 @@ +TI DAC7512 DEVICETREE BINDINGS + +Required properties: + + - "compatible" Must be set to "ti,dac7512" + +Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt +apply. In particular, "reg" and "spi-max-frequency" properties must be given. + + +Example: + + spi_master { + dac7512: dac7512@0 { + compatible = "ti,dac7512"; + reg = <0>; /* CS0 */ + spi-max-frequency = <1000000>; + }; + }; + -- cgit v1.2.3