aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShreyas NC <shreyas.nc@intel.com>2016-08-12 02:59:52 -0400
committerMark Brown <broonie@kernel.org>2016-08-22 13:44:11 -0400
commit33ece7f9c8e8a2abfcca681ec9424b15271f7afb (patch)
treea48301459836b628db31ccc3dfd0b1c67abff883
parent6277e83292a2d4d88d150c0eb3004bd714ad8728 (diff)
ASoC: Intel: Skylake: Remove dfw config and associated structures
The skl_dfw_config structure is no longer required as the module config is populated by parsing and reading the token values. So, remove the structure. Signed-off-by: Shreyas NC <shreyas.nc@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/intel/skylake/skl-sst-utils.c5
-rw-r--r--sound/soc/intel/skylake/skl-tplg-interface.h73
2 files changed, 0 insertions, 78 deletions
diff --git a/sound/soc/intel/skylake/skl-sst-utils.c b/sound/soc/intel/skylake/skl-sst-utils.c
index e4865ea950d7..9ce93e9a03b5 100644
--- a/sound/soc/intel/skylake/skl-sst-utils.c
+++ b/sound/soc/intel/skylake/skl-sst-utils.c
@@ -28,11 +28,6 @@
28/* FW Extended Manifest Header id = $AE1 */ 28/* FW Extended Manifest Header id = $AE1 */
29#define SKL_EXT_MANIFEST_HEADER_MAGIC 0x31454124 29#define SKL_EXT_MANIFEST_HEADER_MAGIC 0x31454124
30 30
31struct skl_dfw_module_mod {
32 char name[100];
33 struct skl_dfw_module skl_dfw_mod;
34};
35
36struct UUID { 31struct UUID {
37 u8 id[16]; 32 u8 id[16];
38}; 33};
diff --git a/sound/soc/intel/skylake/skl-tplg-interface.h b/sound/soc/intel/skylake/skl-tplg-interface.h
index 281762eca0ab..e208724f9db3 100644
--- a/sound/soc/intel/skylake/skl-tplg-interface.h
+++ b/sound/soc/intel/skylake/skl-tplg-interface.h
@@ -148,79 +148,6 @@ enum skl_module_param_type {
148 SKL_PARAM_BIND 148 SKL_PARAM_BIND
149}; 149};
150 150
151struct skl_dfw_module_pin {
152 u16 module_id;
153 u16 instance_id;
154} __packed;
155
156struct skl_dfw_module_fmt {
157 u32 channels;
158 u32 freq;
159 u32 bit_depth;
160 u32 valid_bit_depth;
161 u32 ch_cfg;
162 u32 interleaving_style;
163 u32 sample_type;
164 u32 ch_map;
165} __packed;
166
167struct skl_dfw_module_caps {
168 u32 set_params:2;
169 u32 rsvd:30;
170 u32 param_id;
171 u32 caps_size;
172 u32 caps[HDA_SST_CFG_MAX];
173};
174
175struct skl_dfw_pipe {
176 u8 pipe_id;
177 u8 pipe_priority;
178 u16 conn_type:4;
179 u16 rsvd:4;
180 u16 memory_pages:8;
181} __packed;
182
183struct skl_dfw_module {
184 u8 uuid[16];
185
186 u16 module_id;
187 u16 instance_id;
188 u32 max_mcps;
189 u32 mem_pages;
190 u32 obs;
191 u32 ibs;
192 u32 vbus_id;
193
194 u32 max_in_queue:8;
195 u32 max_out_queue:8;
196 u32 time_slot:8;
197 u32 core_id:4;
198 u32 rsvd1:4;
199
200 u32 module_type:8;
201 u32 conn_type:4;
202 u32 dev_type:4;
203 u32 hw_conn_type:4;
204 u32 rsvd2:12;
205
206 u32 params_fixup:8;
207 u32 converter:8;
208 u32 input_pin_type:1;
209 u32 output_pin_type:1;
210 u32 is_dynamic_in_pin:1;
211 u32 is_dynamic_out_pin:1;
212 u32 is_loadable:1;
213 u32 proc_domain:1;
214 u32 rsvd3:10;
215
216 struct skl_dfw_pipe pipe;
217 struct skl_dfw_module_fmt in_fmt[MAX_IN_QUEUE];
218 struct skl_dfw_module_fmt out_fmt[MAX_OUT_QUEUE];
219 struct skl_dfw_module_pin in_pin[MAX_IN_QUEUE];
220 struct skl_dfw_module_pin out_pin[MAX_OUT_QUEUE];
221 struct skl_dfw_module_caps caps;
222} __packed;
223
224struct skl_dfw_algo_data { 151struct skl_dfw_algo_data {
225 u32 set_params:2; 152 u32 set_params:2;
226 u32 rsvd:30; 153 u32 rsvd:30;