xref: /linux/Documentation/devicetree/bindings/sound/soc-ac97link.txt (revision 741a509f34d8d702f70d0ad99b8152c57d76961e)
1*741a509fSMarkus PargmannAC97 link bindings
2*741a509fSMarkus Pargmann
3*741a509fSMarkus PargmannThese bindings can be included within any other device node.
4*741a509fSMarkus Pargmann
5*741a509fSMarkus PargmannRequired properties:
6*741a509fSMarkus Pargmann - pinctrl-names: Has to contain following states to setup the correct
7*741a509fSMarkus Pargmann   pinmuxing for the used gpios:
8*741a509fSMarkus Pargmann	"ac97-running": AC97-link is active
9*741a509fSMarkus Pargmann	"ac97-reset": AC97-link reset state
10*741a509fSMarkus Pargmann	"ac97-warm-reset": AC97-link warm reset state
11*741a509fSMarkus Pargmann - ac97-gpios: List of gpio phandles with args in the order ac97-sync,
12*741a509fSMarkus Pargmann   ac97-sdata, ac97-reset
13*741a509fSMarkus Pargmann
14*741a509fSMarkus Pargmann
15*741a509fSMarkus PargmannExample:
16*741a509fSMarkus Pargmann
17*741a509fSMarkus Pargmannssi {
18*741a509fSMarkus Pargmann	...
19*741a509fSMarkus Pargmann
20*741a509fSMarkus Pargmann	pinctrl-names = "default", "ac97-running", "ac97-reset", "ac97-warm-reset";
21*741a509fSMarkus Pargmann	pinctrl-0 = <&ac97link_running>;
22*741a509fSMarkus Pargmann	pinctrl-1 = <&ac97link_running>;
23*741a509fSMarkus Pargmann	pinctrl-2 = <&ac97link_reset>;
24*741a509fSMarkus Pargmann	pinctrl-3 = <&ac97link_warm_reset>;
25*741a509fSMarkus Pargmann	ac97-gpios = <&gpio3 20 0 &gpio3 22 0 &gpio3 28 0>;
26*741a509fSMarkus Pargmann
27*741a509fSMarkus Pargmann	...
28*741a509fSMarkus Pargmann};
29