diff options
author | Mark Brown <broonie@linaro.org> | 2013-06-28 07:17:04 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-28 07:17:04 -0400 |
commit | b1fffb93d2a7ad3b68262585c126cae2b76d4d2d (patch) | |
tree | a0ff846c0a78b02aaa6741c9810acaa4eaf9de1d /Documentation | |
parent | b047e1cce8fe32475ab61846772943a5e4c0a908 (diff) | |
parent | 97d0a868450d08fae0db3f53459852901c6e2f4f (diff) |
Merge remote-tracking branch 'asoc/topic/adau1701' into asoc-next
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/devicetree/bindings/sound/adi,adau1701.txt | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/adi,adau1701.txt b/Documentation/devicetree/bindings/sound/adi,adau1701.txt new file mode 100644 index 000000000000..547a49b56a62 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/adi,adau1701.txt | |||
@@ -0,0 +1,35 @@ | |||
1 | Analog Devices ADAU1701 | ||
2 | |||
3 | Required properties: | ||
4 | |||
5 | - compatible: Should contain "adi,adau1701" | ||
6 | - reg: The i2c address. Value depends on the state of ADDR0 | ||
7 | and ADDR1, as wired in hardware. | ||
8 | |||
9 | Optional properties: | ||
10 | |||
11 | - reset-gpio: A GPIO spec to define which pin is connected to the | ||
12 | chip's !RESET pin. If specified, the driver will | ||
13 | assert a hardware reset at probe time. | ||
14 | - adi,pll-mode-gpios: An array of two GPIO specs to describe the GPIOs | ||
15 | the ADAU's PLL config pins are connected to. | ||
16 | The state of the pins are set according to the | ||
17 | configured clock divider on ASoC side before the | ||
18 | firmware is loaded. | ||
19 | - adi,pin-config: An array of 12 numerical values selecting one of the | ||
20 | pin configurations as described in the datasheet, | ||
21 | table 53. Note that the value of this property has | ||
22 | to be prefixed with '/bits/ 8'. | ||
23 | |||
24 | Examples: | ||
25 | |||
26 | i2c_bus { | ||
27 | adau1701@34 { | ||
28 | compatible = "adi,adau1701"; | ||
29 | reg = <0x34>; | ||
30 | reset-gpio = <&gpio 23 0>; | ||
31 | adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 0>; | ||
32 | adi,pin-config = /bits/ 8 <0x4 0x7 0x5 0x5 0x4 0x4 | ||
33 | 0x4 0x4 0x4 0x4 0x4 0x4>; | ||
34 | }; | ||
35 | }; | ||