Merge remote-tracking branch 'regulator/for-next'
[deliverable/linux.git] / Documentation / devicetree / bindings / sound / qcom,apq8016-sbc.txt
CommitLineData
4acf6d7f
SK
1* Qualcomm Technologies APQ8016 SBC ASoC machine driver
2
3This node models the Qualcomm Technologies APQ8016 SBC ASoC machine driver
4
5Required properties:
6
7- compatible : "qcom,apq8016-sbc-sndcard"
8
9- pinctrl-N : One property must exist for each entry in
10 pinctrl-names. See ../pinctrl/pinctrl-bindings.txt
11 for details of the property values.
12- pinctrl-names : Must contain a "default" entry.
13- reg : Must contain an address for each entry in reg-names.
14- reg-names : A list which must include the following entries:
15 * "mic-iomux"
16 * "spkr-iomux"
17- qcom,model : Name of the sound card.
18
05f9033f
SK
19- qcom,audio-routing : A list of the connections between audio components.
20 Each entry is a pair of strings, the first being the
21 connection's sink, the second being the connection's
22 source. Valid names could be power supplies, MicBias
23 of msm8x16_wcd codec and the jacks on the board:
24
25 Power supplies:
26 * MIC BIAS External1
27 * MIC BIAS External2
28 * MIC BIAS Internal1
29 * MIC BIAS Internal2
30
31 Board connectors:
32 * Headset Mic
33 * Secondary Mic",
34 * DMIC
35 * Ext Spk
36
4acf6d7f
SK
37Dai-link subnode properties and subnodes:
38
39Required dai-link subnodes:
40
41- cpu : CPU sub-node
42- codec : CODEC sub-node
43
44Required CPU/CODEC subnodes properties:
45
46-link-name : Name of the dai link.
47-sound-dai : phandle and port of CPU/CODEC
48-capture-dai : phandle and port of CPU/CODEC
49
50Example:
51
52sound: sound {
53 compatible = "qcom,apq8016-sbc-sndcard";
54 reg = <0x07702000 0x4>, <0x07702004 0x4>;
55 reg-names = "mic-iomux", "spkr-iomux";
56 qcom,model = "DB410c";
57
05f9033f
SK
58 qcom,audio-routing =
59 "MIC BIAS External1", "Handset Mic",
60 "MIC BIAS Internal2", "Headset Mic",
61 "MIC BIAS External1", "Secondary Mic",
62 "AMIC1", "MIC BIAS External1",
63 "AMIC2", "MIC BIAS Internal2",
64 "AMIC3", "MIC BIAS External1",
65 "DMIC1", "MIC BIAS Internal1",
66 "MIC BIAS Internal1", "Digital Mic1",
67 "DMIC2", "MIC BIAS Internal1",
68 "MIC BIAS Internal1", "Digital Mic2";
69
4acf6d7f
SK
70 /* I2S - Internal codec */
71 internal-dai-link@0 {
72 cpu { /* PRIMARY */
73 sound-dai = <&lpass MI2S_PRIMARY>;
74 };
75 codec {
76 sound-dai = <&wcd_codec 0>;
77 };
78 };
79
80 /* External Primary or External Secondary -ADV7533 HDMI */
81 external-dai-link@0 {
82 link-name = "ADV7533";
83 cpu { /* QUAT */
84 sound-dai = <&lpass MI2S_QUATERNARY>;
85 };
86 codec {
87 sound-dai = <&adv_bridge 0>;
88 };
89 };
90};
This page took 0.093962 seconds and 5 git commands to generate.