xref: /freebsd/sys/contrib/device-tree/Bindings/sound/sirf-audio.txt (revision 02e9120893770924227138ba49df1edb3896112a)
1* SiRF atlas6 and prima2 internal audio codec and port based audio setups
2
3Required properties:
4- compatible: "sirf,sirf-audio-card"
5- sirf,audio-platform: phandle for the platform node
6- sirf,audio-codec: phandle for the SiRF internal codec node
7
8Optional properties:
9- hp-pa-gpios: Need to be present if the board need control external
10  headphone amplifier.
11- spk-pa-gpios: Need to be present if the board need control external
12  speaker amplifier.
13- hp-switch-gpios: Need to be present if the board capable to detect jack
14  insertion, removal.
15
16Available audio endpoints for the audio-routing table:
17
18Board connectors:
19 * Headset Stereophone
20 * Ext Spk
21 * Line In
22 * Mic
23
24SiRF internal audio codec pins:
25 * HPOUTL
26 * HPOUTR
27 * SPKOUT
28 * Ext Mic
29 * Mic Bias
30
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