atmel-wm8904.txt 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. Atmel ASoC driver with wm8904 audio codec complex
  2. Required properties:
  3. - compatible: "atmel,asoc-wm8904"
  4. - atmel,model: The user-visible name of this sound complex.
  5. - atmel,audio-routing: A list of the connections between audio components.
  6. Each entry is a pair of strings, the first being the connection's sink,
  7. the second being the connection's source. Valid names for sources and
  8. sinks are the WM8904's pins, and the jacks on the board:
  9. WM8904 pins:
  10. * IN1L
  11. * IN1R
  12. * IN2L
  13. * IN2R
  14. * IN3L
  15. * IN3R
  16. * HPOUTL
  17. * HPOUTR
  18. * LINEOUTL
  19. * LINEOUTR
  20. * MICBIAS
  21. Board connectors:
  22. * Headphone Jack
  23. * Line In Jack
  24. * Mic
  25. - atmel,ssc-controller: The phandle of the SSC controller
  26. - atmel,audio-codec: The phandle of the WM8904 audio codec
  27. Optional properties:
  28. - pinctrl-names, pinctrl-0: Please refer to pinctrl-bindings.txt
  29. Example:
  30. sound {
  31. compatible = "atmel,asoc-wm8904";
  32. pinctrl-names = "default";
  33. pinctrl-0 = <&pinctrl_pck0_as_mck>;
  34. atmel,model = "wm8904 @ AT91SAM9N12EK";
  35. atmel,audio-routing =
  36. "Headphone Jack", "HPOUTL",
  37. "Headphone Jack", "HPOUTR",
  38. "IN2L", "Line In Jack",
  39. "IN2R", "Line In Jack",
  40. "Mic", "MICBIAS",
  41. "IN1L", "Mic";
  42. atmel,ssc-controller = <&ssc0>;
  43. atmel,audio-codec = <&wm8904>;
  44. };