sirf-audio.txt 992 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. * SiRF atlas6 and prima2 internal audio codec and port based audio setups
  2. Required properties:
  3. - compatible: "sirf,sirf-audio-card"
  4. - sirf,audio-platform: phandle for the platform node
  5. - sirf,audio-codec: phandle for the SiRF internal codec node
  6. Optional properties:
  7. - hp-pa-gpios: Need to be present if the board need control external
  8. headphone amplifier.
  9. - spk-pa-gpios: Need to be present if the board need control external
  10. speaker amplifier.
  11. - hp-switch-gpios: Need to be present if the board capable to detect jack
  12. insertion, removal.
  13. Available audio endpoints for the audio-routing table:
  14. Board connectors:
  15. * Headset Stereophone
  16. * Ext Spk
  17. * Line In
  18. * Mic
  19. SiRF internal audio codec pins:
  20. * HPOUTL
  21. * HPOUTR
  22. * SPKOUT
  23. * Ext Mic
  24. * Mic Bias
  25. Example:
  26. sound {
  27. compatible = "sirf,sirf-audio-card";
  28. sirf,audio-codec = <&audiocodec>;
  29. sirf,audio-platform = <&audioport>;
  30. hp-pa-gpios = <&gpio 44 0>;
  31. spk-pa-gpios = <&gpio 46 0>;
  32. hp-switch-gpios = <&gpio 45 0>;
  33. };