blob: 50894fb054bda9d5b7446dbe236c4db13069f67f [file] [log] [blame]
Joonwoo Park6572ac52012-07-10 17:17:00 -07001Qualcomm audio devices for ALSA sound SoC
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -07002
3* msm-pcm
4
5Required properties:
6
7 - compatible : "qcom,msm-pcm-dsp"
8
9* msm-pcm-routing
10
11Required properties:
12
13 - compatible : "qcom,msm-pcm-routing"
14
15* msm-pcm-lpa
16
17Required properties:
18
19 - compatible : "qcom,msm-pcm-lpa"
20
Harmandeep Singha3453a72012-07-03 12:31:09 -070021* msm-compr-dsp
22
23Required properties:
24
25 - compatible : "qcom,msm-compr-dsp"
26
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -070027* msm-voip-dsp
28
29Required properties:
30
31 - compatible : "qcom,msm-voip-dsp"
32
33* msm-stub-codec
34
35Required properties:
36
37 - compatible : "qcom,msm-stub-codec"
38
39* msm-dai-fe
40
41Required properties:
42
43 - compatible : "qcom,msm-dai-fe"
44
Joonwoo Park6572ac52012-07-10 17:17:00 -070045* msm-dai-q6
46
47[First Level Nodes]
48
49Required properties:
50
51 - compatible : "msm-dai-q6"
52
53[Second Level Nodes]
54
55Required properties:
56
57 - compatible : "qcom,msm-dai-q6-dev"
58 - qcom,msm-dai-q6-dev-id : The slimbus multi channel port ID
59 Value is from 16384 to 16393
60
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -070061* msm-auxpcm
62
63[First Level Nodes]
64
65Required properties:
66
67 - compatible : "qcom,msm-auxpcm-resource"
68
69 - qcom,msm-cpudai-auxpcm-clk: clock for auxpcm
70
71 - qcom,msm-cpudai-auxpcm-mode: mode information
72 0 - for PCM
73
74 - qcom,msm-cpudai-auxpcm-sync: sync information
75
76 - qcom,msm-cpudai-auxpcm-frame: No.of bytes per frame
77 5 - 256BPF
78
79 - qcom,msm-cpudai-auxpcm-quant: Type of quantization
80 2 - Linear quantization
81
82 - qcom,msm-cpudai-auxpcm-slot: Slot number for multichannel scenario
83 Value is 1
84
85 - qcom,msm-cpudai-auxpcm-data: Data field - 0
86
87 - qcom,msm-cpudai-auxpcm-pcm-clk-rate: Clock rate for pcm - 2048000
88
89[Second Level Nodes]
90
91Required Properties:
92
93 - qcom,msm-auxpcm-dev-id: This property specifies the device
94 port id.
95 For Rx device, the port id is 4106
96 and for Tx device, the port id is 4107
97
98 - compatible: "qcom,msm-auxpcm-dev"
99
100* msm-pcm-hostless
101
102Required properties:
103
104 - compatible : "qcom,msm-pcm-hostless"
105
106Example:
107
108 qcom,msm-pcm {
109 compatible = "qcom,msm-pcm-dsp";
110 };
111
112 qcom,msm-pcm-routing {
113 compatible = "qcom,msm-pcm-routing";
114 };
115
116 qcom,msm-pcm-lpa {
117 compatible = "qcom,msm-pcm-lpa";
118 };
119
Harmandeep Singha3453a72012-07-03 12:31:09 -0700120 qcom,msm-compr-dsp {
121 compatible = "qcom,msm-compr-dsp";
122 };
123
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700124 qcom,msm-voip-dsp {
125 compatible = "qcom,msm-voip-dsp";
126 };
127
128 qcom,msm-stub-codec {
129 compatible = "qcom,msm-stub-codec";
130 };
131
132 qcom,msm-dai-fe {
133 compatible = "qcom,msm-dai-fe";
134 };
135
Joonwoo Park6572ac52012-07-10 17:17:00 -0700136 qcom,msm-dai-q6 {
137 compatible = "qcom,msm-dai-q6";
138 qcom,msm-dai-q6-sb-0-rx {
139 compatible = "qcom,msm-dai-q6-dev";
140 qcom,msm-dai-q6-dev-id = <16384>;
141 };
142
143 qcom,msm-dai-q6-sb-0-tx {
144 compatible = "qcom,msm-dai-q6-dev";
145 qcom,msm-dai-q6-dev-id = <16385>;
146 };
147 };
148
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700149 qcom,msm-auxpcm {
150 compatible = "qcom,msm-auxpcm-resource";
151 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
152 qcom,msm-cpudai-auxpcm-mode = <0>;
153 qcom,msm-cpudai-auxpcm-sync = <1>;
154 qcom,msm-cpudai-auxpcm-frame = <5>;
155 qcom,msm-cpudai-auxpcm-quant = <2>;
156 qcom,msm-cpudai-auxpcm-slot = <1>;
157 qcom,msm-cpudai-auxpcm-data = <0>;
158 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
159
160 qcom,msm-auxpcm-rx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700161 qcom,msm-auxpcm-dev-id = <4106>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700162 compatible = "qcom,msm-auxpcm-dev";
163 };
164
165 qcom,msm-auxpcm-tx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700166 qcom,msm-auxpcm-dev-id = <4107>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700167 compatible = "qcom,msm-auxpcm-dev";
168 };
169 };
170
171 qcom,msm-pcm-hostless {
172 compatible = "qcom,msm-pcm-hostless";
173 };
174