Markus Pargmann | 741a509 | 2013-08-19 17:05:55 +0200 | [diff] [blame] | 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 | }; |