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