blob: 8df8d40d5a40bde33b66682fc9725b2b243db23a [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
Phani Kumar Uppalapati85a9ff82012-09-25 20:25:53 -0700112 - qcom,msm_bus,name: Client name
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700113
Phani Kumar Uppalapati85a9ff82012-09-25 20:25:53 -0700114 - qcom,msm_bus,num_cases: Total number of use cases
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700115
Phani Kumar Uppalapati85a9ff82012-09-25 20:25:53 -0700116 - qcom,msm_bus,active_only: Context flag for requests in active or
117 dual (active & sleep) contex
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700118
Phani Kumar Uppalapati85a9ff82012-09-25 20:25:53 -0700119 - qcom,msm_bus,num_paths: Total number of master-slave pairs
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700120
Phani Kumar Uppalapati85a9ff82012-09-25 20:25:53 -0700121 - qcom,msm_bus,vectors: Arrays of unsigned integers representing:
122 master-id, slave-id, arbitrated bandwidth,
123 instantaneous bandwidth
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700124Example:
125
126 qcom,msm-pcm {
127 compatible = "qcom,msm-pcm-dsp";
128 };
129
130 qcom,msm-pcm-routing {
131 compatible = "qcom,msm-pcm-routing";
132 };
133
134 qcom,msm-pcm-lpa {
135 compatible = "qcom,msm-pcm-lpa";
136 };
137
Harmandeep Singha3453a72012-07-03 12:31:09 -0700138 qcom,msm-compr-dsp {
139 compatible = "qcom,msm-compr-dsp";
140 };
141
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700142 qcom,msm-voip-dsp {
143 compatible = "qcom,msm-voip-dsp";
144 };
145
146 qcom,msm-stub-codec {
147 compatible = "qcom,msm-stub-codec";
148 };
149
150 qcom,msm-dai-fe {
151 compatible = "qcom,msm-dai-fe";
152 };
153
Joonwoo Park6572ac52012-07-10 17:17:00 -0700154 qcom,msm-dai-q6 {
155 compatible = "qcom,msm-dai-q6";
156 qcom,msm-dai-q6-sb-0-rx {
157 compatible = "qcom,msm-dai-q6-dev";
158 qcom,msm-dai-q6-dev-id = <16384>;
159 };
160
161 qcom,msm-dai-q6-sb-0-tx {
162 compatible = "qcom,msm-dai-q6-dev";
163 qcom,msm-dai-q6-dev-id = <16385>;
164 };
165 };
166
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700167 qcom,msm-auxpcm {
168 compatible = "qcom,msm-auxpcm-resource";
169 qcom,msm-cpudai-auxpcm-clk = "pcm_clk";
170 qcom,msm-cpudai-auxpcm-mode = <0>;
171 qcom,msm-cpudai-auxpcm-sync = <1>;
172 qcom,msm-cpudai-auxpcm-frame = <5>;
173 qcom,msm-cpudai-auxpcm-quant = <2>;
174 qcom,msm-cpudai-auxpcm-slot = <1>;
175 qcom,msm-cpudai-auxpcm-data = <0>;
176 qcom,msm-cpudai-auxpcm-pcm-clk-rate = <2048000>;
177
178 qcom,msm-auxpcm-rx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700179 qcom,msm-auxpcm-dev-id = <4106>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700180 compatible = "qcom,msm-auxpcm-dev";
181 };
182
183 qcom,msm-auxpcm-tx {
Harmandeep Singha3453a72012-07-03 12:31:09 -0700184 qcom,msm-auxpcm-dev-id = <4107>;
Phani Kumar Uppalapati87841c82012-06-14 21:28:43 -0700185 compatible = "qcom,msm-auxpcm-dev";
186 };
187 };
188
189 qcom,msm-pcm-hostless {
190 compatible = "qcom,msm-pcm-hostless";
191 };
192
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700193 qcom,msm-ocmem-audio {
194 compatible = "qcom,msm-ocmem-audio";
Phani Kumar Uppalapati85a9ff82012-09-25 20:25:53 -0700195 qcom,msm_bus,name = "audio-ocmem";
196 qcom,msm_bus,num_cases = <2>;
197 qcom,msm_bus,active_only = <0>;
198 qcom,msm_bus,num_paths = <1>;
199 qcom,msm_bus,vectors =
200 <11 604 0 0>,
201 <11 604 32505856 325058560>;
Phani Kumar Uppalapati8b3a1bb2012-06-26 19:56:58 -0700202 };
203