18c2ecf20Sopenharmony_ci* SiRF atlas6 and prima2 internal audio codec and port based audio setups
28c2ecf20Sopenharmony_ci
38c2ecf20Sopenharmony_ciRequired properties:
48c2ecf20Sopenharmony_ci- compatible: "sirf,sirf-audio-card"
58c2ecf20Sopenharmony_ci- sirf,audio-platform: phandle for the platform node
68c2ecf20Sopenharmony_ci- sirf,audio-codec: phandle for the SiRF internal codec node
78c2ecf20Sopenharmony_ci
88c2ecf20Sopenharmony_ciOptional properties:
98c2ecf20Sopenharmony_ci- hp-pa-gpios: Need to be present if the board need control external
108c2ecf20Sopenharmony_ci  headphone amplifier.
118c2ecf20Sopenharmony_ci- spk-pa-gpios: Need to be present if the board need control external
128c2ecf20Sopenharmony_ci  speaker amplifier.
138c2ecf20Sopenharmony_ci- hp-switch-gpios: Need to be present if the board capable to detect jack
148c2ecf20Sopenharmony_ci  insertion, removal.
158c2ecf20Sopenharmony_ci
168c2ecf20Sopenharmony_ciAvailable audio endpoints for the audio-routing table:
178c2ecf20Sopenharmony_ci
188c2ecf20Sopenharmony_ciBoard connectors:
198c2ecf20Sopenharmony_ci * Headset Stereophone
208c2ecf20Sopenharmony_ci * Ext Spk
218c2ecf20Sopenharmony_ci * Line In
228c2ecf20Sopenharmony_ci * Mic
238c2ecf20Sopenharmony_ci
248c2ecf20Sopenharmony_ciSiRF internal audio codec pins:
258c2ecf20Sopenharmony_ci * HPOUTL
268c2ecf20Sopenharmony_ci * HPOUTR
278c2ecf20Sopenharmony_ci * SPKOUT
288c2ecf20Sopenharmony_ci * Ext Mic
298c2ecf20Sopenharmony_ci * Mic Bias
308c2ecf20Sopenharmony_ci
318c2ecf20Sopenharmony_ciExample:
328c2ecf20Sopenharmony_ci
338c2ecf20Sopenharmony_cisound {
348c2ecf20Sopenharmony_ci		compatible = "sirf,sirf-audio-card";
358c2ecf20Sopenharmony_ci		sirf,audio-codec = <&audiocodec>;
368c2ecf20Sopenharmony_ci		sirf,audio-platform = <&audioport>;
378c2ecf20Sopenharmony_ci		hp-pa-gpios = <&gpio 44 0>;
388c2ecf20Sopenharmony_ci		spk-pa-gpios = <&gpio 46 0>;
398c2ecf20Sopenharmony_ci		hp-switch-gpios = <&gpio 45 0>;
408c2ecf20Sopenharmony_ci};
418c2ecf20Sopenharmony_ci
42