diff options
| author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-07-26 14:23:10 -0500 |
|---|---|---|
| committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-09-08 01:48:18 -0300 |
| commit | aa5ae4f65e034e2866c1c69d98823603367681bc (patch) | |
| tree | ac0f219fb2e5c4343489c1a16700dabcae6c4a2e | |
| parent | 36e34ae16aa943489a9ea2272ca24893bde4a737 (diff) | |
| download | meta-freescale-aa5ae4f65e034e2866c1c69d98823603367681bc.tar.gz | |
alsa-state: Fix HDMI for i.MX 8M
Channel mapping on HDMI was incorrect for 4 and 8 channels.
Create a PCM device so alsa-lib will remap in user space.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| -rw-r--r-- | recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 30 |
1 files changed, 30 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 0f9d0c850..c511018e9 100644 --- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf +++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf | |||
| @@ -427,3 +427,33 @@ pcm.sai1to4{ | |||
| 427 | bindings.2 1 | 427 | bindings.2 1 |
| 428 | bindings.3 9 | 428 | bindings.3 9 |
| 429 | } | 429 | } |
| 430 | |||
| 431 | pcm.cdnhdmi4ch { | ||
| 432 | type dshare | ||
| 433 | slave { | ||
| 434 | pcm "hw:3,0" | ||
| 435 | channels 4 | ||
| 436 | } | ||
| 437 | ipc_key 5144458 | ||
| 438 | bindings.0 0 | ||
| 439 | bindings.1 2 | ||
| 440 | bindings.2 1 | ||
| 441 | bindings.3 3 | ||
| 442 | } | ||
| 443 | |||
| 444 | pcm.cdnhdmi8ch { | ||
| 445 | type dshare | ||
| 446 | slave { | ||
| 447 | pcm "hw:3,0" | ||
| 448 | channels 8 | ||
| 449 | } | ||
| 450 | ipc_key 5144458 | ||
| 451 | bindings.0 0 | ||
| 452 | bindings.1 4 | ||
| 453 | bindings.2 1 | ||
| 454 | bindings.3 5 | ||
| 455 | bindings.4 2 | ||
| 456 | bindings.5 6 | ||
| 457 | bindings.6 3 | ||
| 458 | bindings.7 7 | ||
| 459 | } | ||
