diff options
author | Daniel Mack <zonque@gmail.com> | 2013-06-24 10:31:32 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2013-06-25 05:32:21 -0400 |
commit | 97d0a868450d08fae0db3f53459852901c6e2f4f (patch) | |
tree | 29160aea6bd860b3812cc94ccafe76be442b844c /Documentation/devicetree/bindings/sound/adi,adau1701.txt | |
parent | 45405d58924f49a13b924ed6db6fe47981487b4a (diff) |
ASoC: adau1701: add support for pin muxing
The ADAU1701 has 12 pins that can be configured depending on the system
configuration. Allow settting the corresponding registers from DT.
Signed-off-by: Daniel Mack <zonque@gmail.com>
Acked-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/sound/adi,adau1701.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/adi,adau1701.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/adi,adau1701.txt b/Documentation/devicetree/bindings/sound/adi,adau1701.txt index a9fbed1be40e..547a49b56a62 100644 --- a/Documentation/devicetree/bindings/sound/adi,adau1701.txt +++ b/Documentation/devicetree/bindings/sound/adi,adau1701.txt | |||
@@ -16,6 +16,10 @@ Optional properties: | |||
16 | The state of the pins are set according to the | 16 | The state of the pins are set according to the |
17 | configured clock divider on ASoC side before the | 17 | configured clock divider on ASoC side before the |
18 | firmware is loaded. | 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'. | ||
19 | 23 | ||
20 | Examples: | 24 | Examples: |
21 | 25 | ||
@@ -25,5 +29,7 @@ Examples: | |||
25 | reg = <0x34>; | 29 | reg = <0x34>; |
26 | reset-gpio = <&gpio 23 0>; | 30 | reset-gpio = <&gpio 23 0>; |
27 | adi,pll-mode-gpios = <&gpio 24 0 &gpio 25 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>; | ||
28 | }; | 34 | }; |
29 | }; | 35 | }; |