summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/sound/soc-ac97link.txt
blob: 80152a87f239aa16d2f7d62944324e2a23c8b4de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
AC97 link bindings

These bindings can be included within any other device node.

Required properties:
 - pinctrl-names: Has to contain following states to setup the correct
   pinmuxing for the used gpios:
	"ac97-running": AC97-link is active
	"ac97-reset": AC97-link reset state
	"ac97-warm-reset": AC97-link warm reset state
 - ac97-gpios: List of gpio phandles with args in the order ac97-sync,
   ac97-sdata, ac97-reset


Example:

ssi {
	...

	pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset";
	pinctrl-0 = <&ac97link_running>;
	pinctrl-1 = <&ac97link_running>;
	pinctrl-2 = <&ac97link_reset>;
	pinctrl-3 = <&ac97link_warm_reset>;
	ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>;

	...
};
OpenPOWER on IntegriCloud