Merge tag 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mst/vhost
[cris-mirror.git] / Documentation / devicetree / bindings / sound / sirf-audio.txt
blobc88882ca3704a5b5fc3dcf56deb474f856931e96
1 * SiRF atlas6 and prima2 internal audio codec and port based audio setups
3 Required 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
8 Optional 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.
16 Available audio endpoints for the audio-routing table:
18 Board connectors:
19  * Headset Stereophone
20  * Ext Spk
21  * Line In
22  * Mic
24 SiRF internal audio codec pins:
25  * HPOUTL
26  * HPOUTR
27  * SPKOUT
28  * Ext Mic
29  * Mic Bias
31 Example:
33 sound {
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>;