blob: 84f0c24fd9352bf3259e83c87a0e11f2a24933ca [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
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700106* msm-ocmem-audio
107
108Required properties:
109
110 - compatible : "qcom,msm-ocmem-audio"
111
112 - qcom,msm-ocmem-audio-src-id: Master port id
113
114 - qcom,msm-ocmem-audio-dst-id: Slave port id
115
116 - qcom,msm-ocmem-audio-ab: arbitrated bandwidth
117 in Bytes/s
118
119 - qcom,msm-ocmem-audio-ib: instantaneous bandwidth
120 in Bytes/s
121
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700122Example:
123
124 qcom,msm-pcm {
125 compatible = "qcom,msm-pcm-dsp";
126 };
127
128 qcom,msm-pcm-routing {
129 compatible = "qcom,msm-pcm-routing";
130 };
131
132 qcom,msm-pcm-lpa {
133 compatible = "qcom,msm-pcm-lpa";
134 };
135
Harmandeep Singha3453a72012-07-03 12:31:09 -0700136 qcom,msm-compr-dsp {
137 compatible = "qcom,msm-compr-dsp";
138 };
139
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700140 qcom,msm-voip-dsp {
141 compatible = "qcom,msm-voip-dsp";
142 };
143
144 qcom,msm-stub-codec {
145 compatible = "qcom,msm-stub-codec";
146 };
147
148 qcom,msm-dai-fe {
149 compatible = "qcom,msm-dai-fe";
150 };
151
Joonwoo Park6572ac52012-07-10 17:17:00 -0700152 qcom,msm-dai-q6 {
153 compatible = "qcom,msm-dai-q6";
154 qcom,msm-dai-q6-sb-0-rx {
155 compatible = "qcom,msm-dai-q6-dev";
156 qcom,msm-dai-q6-dev-id = <16384>;
157 };
158
159 qcom,msm-dai-q6-sb-0-tx {
160 compatible = "qcom,msm-dai-q6-dev";
161 qcom,msm-dai-q6-dev-id = <16385>;
162 };
163 };
164
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700165 qcom,msm-auxpcm {
166 compatible = "qcom,msm-auxpcm-resource";
167 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
168 qcom,msm-cpudai-auxpcm-mode = <0>;
169 qcom,msm-cpudai-auxpcm-sync = <1>;
170 qcom,msm-cpudai-auxpcm-frame = <5>;
171 qcom,msm-cpudai-auxpcm-quant = <2>;
172 qcom,msm-cpudai-auxpcm-slot = <1>;
173 qcom,msm-cpudai-auxpcm-data = <0>;
174 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
175
176 qcom,msm-auxpcm-rx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700177 qcom,msm-auxpcm-dev-id = <4106>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700178 compatible = "qcom,msm-auxpcm-dev";
179 };
180
181 qcom,msm-auxpcm-tx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700182 qcom,msm-auxpcm-dev-id = <4107>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700183 compatible = "qcom,msm-auxpcm-dev";
184 };
185 };
186
187 qcom,msm-pcm-hostless {
188 compatible = "qcom,msm-pcm-hostless";
189 };
190
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700191 qcom,msm-ocmem-audio {
192 compatible = "qcom,msm-ocmem-audio";
193 qcom,msm-ocmem-audio-src-id = <11>;
194 qcom,msm-ocmem-audio-dst-id = <604>;
195 qcom,msm-ocmem-audio-ab = <209715200>;
196 qcom,msm-ocmem-audio-ib = <471859200>;
197 };
198