diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-07-26 14:19:42 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-08-30 21:57:09 -0300 |
commit | fe19675908316b5d5f4d24f5128b3b19018ed165 (patch) | |
tree | dc7cb7f7e5fed3d34399ab1b08b284a491653462 /recipes-bsp | |
parent | 66c56e1736495beb35b40baacf52d21837deaa41 (diff) | |
download | meta-freescale-fe19675908316b5d5f4d24f5128b3b19018ed165.tar.gz |
alsa-state: Fix channel swap issues
Fix channel swap issues seen for ak4458 and ak5558 codecs on audio board
for i.MX 8MQ. Changes applicable to all platforms.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp')
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf index 0084f4a0..0f9d0c85 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf | |||
@@ -269,3 +269,161 @@ pcm.esaich78{ | |||
269 | bindings.0 3 | 269 | bindings.0 3 |
270 | bindings.1 7 | 270 | bindings.1 7 |
271 | } | 271 | } |
272 | |||
273 | pcm_slave.sai5 { | ||
274 | pcm "hw:5,0" | ||
275 | channels 8 | ||
276 | } | ||
277 | |||
278 | pcm.sai5_ch1to8 { | ||
279 | type dsnoop | ||
280 | ipc_key 5185558 | ||
281 | slave sai5 | ||
282 | bindings.0 0 | ||
283 | bindings.1 4 | ||
284 | bindings.2 1 | ||
285 | bindings.3 5 | ||
286 | bindings.4 2 | ||
287 | bindings.5 6 | ||
288 | bindings.6 3 | ||
289 | bindings.7 7 | ||
290 | } | ||
291 | |||
292 | pcm.sai5_ch1to6 { | ||
293 | type dsnoop | ||
294 | ipc_key 5165558 | ||
295 | slave sai5 | ||
296 | bindings.0 0 | ||
297 | bindings.1 4 | ||
298 | bindings.2 1 | ||
299 | bindings.3 5 | ||
300 | bindings.4 2 | ||
301 | bindings.5 6 | ||
302 | } | ||
303 | |||
304 | pcm.sai5_ch1to4 { | ||
305 | type dsnoop | ||
306 | ipc_key 5145558 | ||
307 | slave sai5 | ||
308 | bindings.0 0 | ||
309 | bindings.1 4 | ||
310 | bindings.2 1 | ||
311 | bindings.3 5 | ||
312 | } | ||
313 | |||
314 | pcm_slave.sai1{ | ||
315 | pcm "hw:4,0" | ||
316 | channels 16 | ||
317 | } | ||
318 | |||
319 | pcm.sai1to16{ | ||
320 | type dshare | ||
321 | slave sai1 | ||
322 | ipc_key 5144458 | ||
323 | bindings.0 0 | ||
324 | bindings.1 8 | ||
325 | bindings.2 1 | ||
326 | bindings.3 9 | ||
327 | bindings.4 2 | ||
328 | bindings.5 10 | ||
329 | bindings.6 3 | ||
330 | bindings.7 11 | ||
331 | bindings.8 4 | ||
332 | bindings.9 12 | ||
333 | bindings.10 5 | ||
334 | bindings.11 13 | ||
335 | bindings.12 6 | ||
336 | bindings.13 14 | ||
337 | bindings.14 7 | ||
338 | bindings.15 15 | ||
339 | } | ||
340 | |||
341 | pcm.sai1to14{ | ||
342 | type dshare | ||
343 | slave sai1 | ||
344 | ipc_key 5144458 | ||
345 | bindings.0 0 | ||
346 | bindings.1 8 | ||
347 | bindings.2 1 | ||
348 | bindings.3 9 | ||
349 | bindings.4 2 | ||
350 | bindings.5 10 | ||
351 | bindings.6 3 | ||
352 | bindings.7 11 | ||
353 | bindings.8 4 | ||
354 | bindings.9 12 | ||
355 | bindings.10 5 | ||
356 | bindings.11 13 | ||
357 | bindings.12 6 | ||
358 | bindings.13 14 | ||
359 | } | ||
360 | |||
361 | pcm.sai1to12{ | ||
362 | type dshare | ||
363 | slave sai1 | ||
364 | ipc_key 5144458 | ||
365 | bindings.0 0 | ||
366 | bindings.1 8 | ||
367 | bindings.2 1 | ||
368 | bindings.3 9 | ||
369 | bindings.4 2 | ||
370 | bindings.5 10 | ||
371 | bindings.6 3 | ||
372 | bindings.7 11 | ||
373 | bindings.8 4 | ||
374 | bindings.9 12 | ||
375 | bindings.10 5 | ||
376 | bindings.11 13 | ||
377 | } | ||
378 | |||
379 | pcm.sai1to10{ | ||
380 | type dshare | ||
381 | slave sai1 | ||
382 | ipc_key 5144458 | ||
383 | bindings.0 0 | ||
384 | bindings.1 8 | ||
385 | bindings.2 1 | ||
386 | bindings.3 9 | ||
387 | bindings.4 2 | ||
388 | bindings.5 10 | ||
389 | bindings.6 3 | ||
390 | bindings.7 11 | ||
391 | bindings.8 4 | ||
392 | bindings.9 12 | ||
393 | } | ||
394 | |||
395 | pcm.sai1to8{ | ||
396 | type dshare | ||
397 | slave sai1 | ||
398 | ipc_key 5144458 | ||
399 | bindings.0 0 | ||
400 | bindings.1 8 | ||
401 | bindings.2 1 | ||
402 | bindings.3 9 | ||
403 | bindings.4 2 | ||
404 | bindings.5 10 | ||
405 | bindings.6 3 | ||
406 | bindings.7 11 | ||
407 | } | ||
408 | |||
409 | pcm.sai1to6{ | ||
410 | type dshare | ||
411 | slave sai1 | ||
412 | ipc_key 5144458 | ||
413 | bindings.0 0 | ||
414 | bindings.1 8 | ||
415 | bindings.2 1 | ||
416 | bindings.3 9 | ||
417 | bindings.4 2 | ||
418 | bindings.5 10 | ||
419 | } | ||
420 | |||
421 | pcm.sai1to4{ | ||
422 | type dshare | ||
423 | slave sai1 | ||
424 | ipc_key 5144458 | ||
425 | bindings.0 0 | ||
426 | bindings.1 8 | ||
427 | bindings.2 1 | ||
428 | bindings.3 9 | ||
429 | } | ||