1 * SiRF atlas6 and prima2 internal audio codec 1 * SiRF atlas6 and prima2 internal audio codec and port based audio setups 2 2 3 Required properties: 3 Required properties: 4 - compatible: "sirf,sirf-audio-card" 4 - compatible: "sirf,sirf-audio-card" 5 - sirf,audio-platform: phandle for the platfor 5 - sirf,audio-platform: phandle for the platform node 6 - sirf,audio-codec: phandle for the SiRF inter 6 - sirf,audio-codec: phandle for the SiRF internal codec node 7 7 8 Optional properties: 8 Optional properties: 9 - hp-pa-gpios: Need to be present if the board 9 - hp-pa-gpios: Need to be present if the board need control external 10 headphone amplifier. 10 headphone amplifier. 11 - spk-pa-gpios: Need to be present if the boar 11 - spk-pa-gpios: Need to be present if the board need control external 12 speaker amplifier. 12 speaker amplifier. 13 - hp-switch-gpios: Need to be present if the b 13 - hp-switch-gpios: Need to be present if the board capable to detect jack 14 insertion, removal. 14 insertion, removal. 15 15 16 Available audio endpoints for the audio-routin 16 Available audio endpoints for the audio-routing table: 17 17 18 Board connectors: 18 Board connectors: 19 * Headset Stereophone 19 * Headset Stereophone 20 * Ext Spk 20 * Ext Spk 21 * Line In 21 * Line In 22 * Mic 22 * Mic 23 23 24 SiRF internal audio codec pins: 24 SiRF internal audio codec pins: 25 * HPOUTL 25 * HPOUTL 26 * HPOUTR 26 * HPOUTR 27 * SPKOUT 27 * SPKOUT 28 * Ext Mic 28 * Ext Mic 29 * Mic Bias 29 * Mic Bias 30 30 31 Example: 31 Example: 32 32 33 sound { 33 sound { 34 compatible = "sirf,sirf-audio- 34 compatible = "sirf,sirf-audio-card"; 35 sirf,audio-codec = <&audiocode 35 sirf,audio-codec = <&audiocodec>; 36 sirf,audio-platform = <&audiop 36 sirf,audio-platform = <&audioport>; 37 hp-pa-gpios = <&gpio 44 0>; 37 hp-pa-gpios = <&gpio 44 0>; 38 spk-pa-gpios = <&gpio 46 0>; 38 spk-pa-gpios = <&gpio 46 0>; 39 hp-switch-gpios = <&gpio 45 0> 39 hp-switch-gpios = <&gpio 45 0>; 40 }; 40 }; 41 41
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.