diff options
author | Daniel Mack <zonque@gmail.com> | 2013-09-22 15:51:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-09-26 12:04:06 -0400 |
commit | f91f9258f61f024d34b7c001f989acf8ee39378a (patch) | |
tree | 2e3ea12e5b20e59c824a7ed74a16083261a1f322 /Documentation/devicetree/bindings/misc | |
parent | beb900fc2428fa812e4a49251ef8396fa46b77fc (diff) |
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 <zonque@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/misc')
-rw-r--r-- | Documentation/devicetree/bindings/misc/ti,dac7512.txt | 20 |
1 files changed, 20 insertions, 0 deletions
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 @@ | |||
1 | TI DAC7512 DEVICETREE BINDINGS | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - "compatible" Must be set to "ti,dac7512" | ||
6 | |||
7 | Property rules described in Documentation/devicetree/bindings/spi/spi-bus.txt | ||
8 | apply. In particular, "reg" and "spi-max-frequency" properties must be given. | ||
9 | |||
10 | |||
11 | Example: | ||
12 | |||
13 | spi_master { | ||
14 | dac7512: dac7512@0 { | ||
15 | compatible = "ti,dac7512"; | ||
16 | reg = <0>; /* CS0 */ | ||
17 | spi-max-frequency = <1000000>; | ||
18 | }; | ||
19 | }; | ||
20 | |||