^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) * Atmel at91sam9x5ek wm8731 audio complex
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) Required properties:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) - compatible: "atmel,sam9x5-wm8731-audio"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) - atmel,model: The user-visible name of this sound complex.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) - atmel,ssc-controller: The phandle of the SSC controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) - atmel,audio-codec: The phandle of the WM8731 audio codec
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) - atmel,audio-routing: A list of the connections between audio components.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Each entry is a pair of strings, the first being the connection's sink,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) the second being the connection's source.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Available audio endpoints for the audio-routing table:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) Board connectors:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) * Headphone Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) * Line In Jack
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) wm8731 pins:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) cf Documentation/devicetree/bindings/sound/wm8731.txt
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Example:
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) sound {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) compatible = "atmel,sam9x5-wm8731-audio";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) atmel,model = "wm8731 @ AT91SAM9X5EK";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) atmel,audio-routing =
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) "Headphone Jack", "RHPOUT",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) "Headphone Jack", "LHPOUT",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) "LLINEIN", "Line In Jack",
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) "RLINEIN", "Line In Jack";
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) atmel,ssc-controller = <&ssc0>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) atmel,audio-codec = <&wm8731>;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) };