From: Tom Hochstein <tom.hochstein@nxp.com>
To: meta-freescale@yoctoproject.org
Subject: [PATCH v3 28/43] alsa-state: Fix HDMI for i.MX 8M
Date: Tue, 7 Aug 2018 10:42:20 -0500 [thread overview]
Message-ID: <1533656555-8038-29-git-send-email-tom.hochstein@nxp.com> (raw)
In-Reply-To: <1533656555-8038-1-git-send-email-tom.hochstein@nxp.com>
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>
---
recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 30 +++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
index 0f9d0c8..c511018 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{
bindings.2 1
bindings.3 9
}
+
+pcm.cdnhdmi4ch {
+ type dshare
+ slave {
+ pcm "hw:3,0"
+ channels 4
+ }
+ ipc_key 5144458
+ bindings.0 0
+ bindings.1 2
+ bindings.2 1
+ bindings.3 3
+}
+
+pcm.cdnhdmi8ch {
+ type dshare
+ slave {
+ pcm "hw:3,0"
+ channels 8
+ }
+ ipc_key 5144458
+ bindings.0 0
+ bindings.1 4
+ bindings.2 1
+ bindings.3 5
+ bindings.4 2
+ bindings.5 6
+ bindings.6 3
+ bindings.7 7
+}
--
2.7.4
next prev parent reply other threads:[~2018-08-07 15:43 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-07 15:41 [PATCH v3 00/43] L4.9.88-2.2.0 recipes-bsp and recipes-graphics Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 01/43] xserver-xorg: Update OpenGL configuration Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 02/43] imx-gpu-g2d: Improve COMPATIBLE_MACHINE Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 03/43] waffle: Configure for i.MX GPU Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 04/43] weston: Fix non-GPU support Tom Hochstein
2018-09-07 8:05 ` [v3,04/43] " Gary Bisson
2018-09-07 11:41 ` Tom Hochstein
2018-09-07 12:19 ` Gary Bisson
2018-09-07 13:26 ` Tom Hochstein
2018-09-07 13:47 ` Gary Bisson
2018-08-07 15:41 ` [PATCH v3 05/43] wayland-protocols: Downgrade to 1.13 for i.MX Tom Hochstein
2018-09-10 8:12 ` Andreas Müller
2018-09-10 15:13 ` Tom Hochstein
2018-09-10 17:29 ` Andreas Müller
2018-08-07 15:41 ` [PATCH v3 06/43] wayland-protocols: Add HDR10 metadata and alpha compositing protocols Tom Hochstein
2018-08-07 15:41 ` [PATCH v3 07/43] EULA: Update to v24 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 08/43] linux-imx: Add i.MX 8 support Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 09/43] u-boot-imx: Add support for i.MX 8QM, 8MQ, and 8QXP Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 10/43] machine: " Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 11/43] imx-dpu-g2d: Use machine override for compatibility Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 12/43] kernel-module-imx-gpu-viv: Update to 6.2.4.p1.6 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 13/43] imx-gpu-viv: " Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 14/43] imx-gpu-g2d: " Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 15/43] imx-dpu-g2d: Update to 1.4.6 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 16/43] xf86-video-imx-vivante: Update to 6.2.4.p1.6 Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 17/43] imx-gpu-viv: Remove wayland-egl files Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 18/43] imx-gpu-viv: Add support for i.MX 8 and 8X families Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 19/43] imx-gpu-viv: Add support for OpenCL and OpenVX Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 20/43] fsl-eula: Extend EULA-based archive support Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 21/43] u-boot-imx: Deploy tools on boot partition for i.MX 8MQ Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 22/43] imx-atf: Add new package ARM Trusted Firmware Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 23/43] imx-sc-firmware: Add new package System Controller Firmware Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 24/43] imx-boot: Add recipes for i.MX 8 boot partition packages Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 25/43] alsa-state: Fix buffer size issue Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 26/43] alsa-state: Add support for splitting ESAI device Tom Hochstein
2018-08-07 15:42 ` [PATCH v3 27/43] alsa-state: Fix channel swap issues Tom Hochstein
2018-08-07 15:42 ` Tom Hochstein [this message]
2018-08-07 15:42 ` [PATCH v3 29/43] alsa-state: Add new codecs for i.MX 8M Tom Hochstein
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1533656555-8038-29-git-send-email-tom.hochstein@nxp.com \
--to=tom.hochstein@nxp.com \
--cc=meta-freescale@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.