diff options
Diffstat (limited to 'Documentation/devicetree/bindings/sound/soc-ac97link.txt')
-rw-r--r-- | Documentation/devicetree/bindings/sound/soc-ac97link.txt | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/sound/soc-ac97link.txt b/Documentation/devicetree/bindings/sound/soc-ac97link.txt new file mode 100644 index 000000000000..80152a87f239 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/soc-ac97link.txt | |||
@@ -0,0 +1,28 @@ | |||
1 | AC97 link bindings | ||
2 | |||
3 | These bindings can be included within any other device node. | ||
4 | |||
5 | Required properties: | ||
6 | - pinctrl-names: Has to contain following states to setup the correct | ||
7 | pinmuxing for the used gpios: | ||
8 | "ac97-running": AC97-link is active | ||
9 | "ac97-reset": AC97-link reset state | ||
10 | "ac97-warm-reset": AC97-link warm reset state | ||
11 | - ac97-gpios: List of gpio phandles with args in the order ac97-sync, | ||
12 | ac97-sdata, ac97-reset | ||
13 | |||
14 | |||
15 | Example: | ||
16 | |||
17 | ssi { | ||
18 | ... | ||
19 | |||
20 | pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset"; | ||
21 | pinctrl-0 = <&ac97link_running>; | ||
22 | pinctrl-1 = <&ac97link_running>; | ||
23 | pinctrl-2 = <&ac97link_reset>; | ||
24 | pinctrl-3 = <&ac97link_warm_reset>; | ||
25 | ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>; | ||
26 | |||
27 | ... | ||
28 | }; | ||