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