imx-audio-es8328.txt 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. Freescale i.MX audio complex with ES8328 codec
  2. Required properties:
  3. - compatible : "fsl,imx-audio-es8328"
  4. - model : The user-visible name of this sound complex
  5. - ssi-controller : The phandle of the i.MX SSI controller
  6. - jack-gpio : Optional GPIO for headphone jack
  7. - audio-amp-supply : Power regulator for speaker amps
  8. - audio-codec : The phandle of the ES8328 audio codec
  9. - audio-routing : A list of the connections between audio components.
  10. Each entry is a pair of strings, the first being the
  11. connection's sink, the second being the connection's
  12. source. Valid names could be power supplies, ES8328
  13. pins, and the jacks on the board:
  14. Power supplies:
  15. * audio-amp
  16. ES8328 pins:
  17. * LOUT1
  18. * LOUT2
  19. * ROUT1
  20. * ROUT2
  21. * LINPUT1
  22. * LINPUT2
  23. * RINPUT1
  24. * RINPUT2
  25. * Mic PGA
  26. Board connectors:
  27. * Headphone
  28. * Speaker
  29. * Mic Jack
  30. - mux-int-port : The internal port of the i.MX audio muxer (AUDMUX)
  31. - mux-ext-port : The external port of the i.MX audio muxer (AUDMIX)
  32. Note: The AUDMUX port numbering should start at 1, which is consistent with
  33. hardware manual.
  34. Example:
  35. sound {
  36. compatible = "fsl,imx-audio-es8328";
  37. model = "imx-audio-es8328";
  38. ssi-controller = <&ssi1>;
  39. audio-codec = <&codec>;
  40. jack-gpio = <&gpio5 15 0>;
  41. audio-amp-supply = <&reg_audio_amp>;
  42. audio-routing =
  43. "Speaker", "LOUT2",
  44. "Speaker", "ROUT2",
  45. "Speaker", "audio-amp",
  46. "Headphone", "ROUT1",
  47. "Headphone", "LOUT1",
  48. "LINPUT1", "Mic Jack",
  49. "RINPUT1", "Mic Jack",
  50. "Mic Jack", "Mic Bias";
  51. mux-int-port = <1>;
  52. mux-ext-port = <3>;
  53. };