brintos

brintos / linux-shallow public Read only

0
0
Text · 992 B · c88882c Raw
42 lines · plain
1* SiRF atlas6 and prima2 internal audio codec and port based audio setups2 3Required properties:4- compatible: "sirf,sirf-audio-card"5- sirf,audio-platform: phandle for the platform node6- sirf,audio-codec: phandle for the SiRF internal codec node7 8Optional properties:9- hp-pa-gpios: Need to be present if the board need control external10  headphone amplifier.11- spk-pa-gpios: Need to be present if the board need control external12  speaker amplifier.13- hp-switch-gpios: Need to be present if the board capable to detect jack14  insertion, removal.15 16Available audio endpoints for the audio-routing table:17 18Board connectors:19 * Headset Stereophone20 * Ext Spk21 * Line In22 * Mic23 24SiRF internal audio codec pins:25 * HPOUTL26 * HPOUTR27 * SPKOUT28 * Ext Mic29 * Mic Bias30 31Example:32 33sound {34		compatible = "sirf,sirf-audio-card";35		sirf,audio-codec = <&audiocodec>;36		sirf,audio-platform = <&audioport>;37		hp-pa-gpios = <&gpio 44 0>;38		spk-pa-gpios = <&gpio 46 0>;39		hp-switch-gpios = <&gpio 45 0>;40};41 42