blob: f082a0f6e0f2f9c510ecef4bac15a381b97af671 [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
Phani Kumar Uppalapati0878e9d2012-08-24 14:52:00 -070033* msm-pcm-voice
34
35Required properties:
36
37 - compatible : "qcom,msm-pcm-voice"
38
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -070039* msm-stub-codec
40
41Required properties:
42
43 - compatible : "qcom,msm-stub-codec"
44
45* msm-dai-fe
46
47Required properties:
48
49 - compatible : "qcom,msm-dai-fe"
50
Joonwoo Park6572ac52012-07-10 17:17:00 -070051* msm-dai-q6
52
53[First Level Nodes]
54
55Required properties:
56
57 - compatible : "msm-dai-q6"
58
59[Second Level Nodes]
60
61Required properties:
62
63 - compatible : "qcom,msm-dai-q6-dev"
64 - qcom,msm-dai-q6-dev-id : The slimbus multi channel port ID
65 Value is from 16384 to 16393
66
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -070067* msm-auxpcm
68
69[First Level Nodes]
70
71Required properties:
72
73 - compatible : "qcom,msm-auxpcm-resource"
74
75 - qcom,msm-cpudai-auxpcm-clk: clock for auxpcm
76
77 - qcom,msm-cpudai-auxpcm-mode: mode information
78 0 - for PCM
79
80 - qcom,msm-cpudai-auxpcm-sync: sync information
81
82 - qcom,msm-cpudai-auxpcm-frame: No.of bytes per frame
83 5 - 256BPF
84
85 - qcom,msm-cpudai-auxpcm-quant: Type of quantization
86 2 - Linear quantization
87
88 - qcom,msm-cpudai-auxpcm-slot: Slot number for multichannel scenario
89 Value is 1
90
91 - qcom,msm-cpudai-auxpcm-data: Data field - 0
92
93 - qcom,msm-cpudai-auxpcm-pcm-clk-rate: Clock rate for pcm - 2048000
94
95[Second Level Nodes]
96
97Required Properties:
98
99 - qcom,msm-auxpcm-dev-id: This property specifies the device
100 port id.
101 For Rx device, the port id is 4106
102 and for Tx device, the port id is 4107
103
104 - compatible: "qcom,msm-auxpcm-dev"
105
106* msm-pcm-hostless
107
108Required properties:
109
110 - compatible : "qcom,msm-pcm-hostless"
111
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700112* msm-ocmem-audio
113
114Required properties:
115
116 - compatible : "qcom,msm-ocmem-audio"
117
118 - qcom,msm-ocmem-audio-src-id: Master port id
119
120 - qcom,msm-ocmem-audio-dst-id: Slave port id
121
122 - qcom,msm-ocmem-audio-ab: arbitrated bandwidth
123 in Bytes/s
124
125 - qcom,msm-ocmem-audio-ib: instantaneous bandwidth
126 in Bytes/s
127
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700128Example:
129
130 qcom,msm-pcm {
131 compatible = "qcom,msm-pcm-dsp";
132 };
133
134 qcom,msm-pcm-routing {
135 compatible = "qcom,msm-pcm-routing";
136 };
137
138 qcom,msm-pcm-lpa {
139 compatible = "qcom,msm-pcm-lpa";
140 };
141
Harmandeep Singha3453a72012-07-03 12:31:09 -0700142 qcom,msm-compr-dsp {
143 compatible = "qcom,msm-compr-dsp";
144 };
145
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700146 qcom,msm-voip-dsp {
147 compatible = "qcom,msm-voip-dsp";
148 };
149
150 qcom,msm-stub-codec {
151 compatible = "qcom,msm-stub-codec";
152 };
153
154 qcom,msm-dai-fe {
155 compatible = "qcom,msm-dai-fe";
156 };
157
Joonwoo Park6572ac52012-07-10 17:17:00 -0700158 qcom,msm-dai-q6 {
159 compatible = "qcom,msm-dai-q6";
160 qcom,msm-dai-q6-sb-0-rx {
161 compatible = "qcom,msm-dai-q6-dev";
162 qcom,msm-dai-q6-dev-id = <16384>;
163 };
164
165 qcom,msm-dai-q6-sb-0-tx {
166 compatible = "qcom,msm-dai-q6-dev";
167 qcom,msm-dai-q6-dev-id = <16385>;
168 };
169 };
170
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700171 qcom,msm-auxpcm {
172 compatible = "qcom,msm-auxpcm-resource";
173 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
174 qcom,msm-cpudai-auxpcm-mode = <0>;
175 qcom,msm-cpudai-auxpcm-sync = <1>;
176 qcom,msm-cpudai-auxpcm-frame = <5>;
177 qcom,msm-cpudai-auxpcm-quant = <2>;
178 qcom,msm-cpudai-auxpcm-slot = <1>;
179 qcom,msm-cpudai-auxpcm-data = <0>;
180 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
181
182 qcom,msm-auxpcm-rx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700183 qcom,msm-auxpcm-dev-id = <4106>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700184 compatible = "qcom,msm-auxpcm-dev";
185 };
186
187 qcom,msm-auxpcm-tx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700188 qcom,msm-auxpcm-dev-id = <4107>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700189 compatible = "qcom,msm-auxpcm-dev";
190 };
191 };
192
193 qcom,msm-pcm-hostless {
194 compatible = "qcom,msm-pcm-hostless";
195 };
196
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700197 qcom,msm-ocmem-audio {
198 compatible = "qcom,msm-ocmem-audio";
199 qcom,msm-ocmem-audio-src-id = <11>;
200 qcom,msm-ocmem-audio-dst-id = <604>;
201 qcom,msm-ocmem-audio-ab = <209715200>;
202 qcom,msm-ocmem-audio-ib = <471859200>;
203 };
204