Split one ESAI device into two virtual devices, one
6 channel and one 2 channel.

Signed-off-by: Tom Hochstein <tom.hochst...@nxp.com>
---
 recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 27 +++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf 
b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
index 37cb76f..0084f4a 100644
--- a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
+++ b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf
@@ -242,3 +242,30 @@ ctl.mixer0{
 type hw
 card 0
 }
+
+pcm_slave.esai{
+       pcm "hw:0,0"
+       channels 8
+       rate 48000
+       period_time 40000
+}
+
+pcm.esaich1to6{
+       type dshare
+       ipc_key 5778293
+       slave esai
+       bindings.0 0
+       bindings.1 4
+       bindings.2 1
+       bindings.3 5
+       bindings.4 2
+       bindings.5 6
+}
+
+pcm.esaich78{
+       type dshare
+       ipc_key 5778293
+       slave esai
+       bindings.0 3
+       bindings.1 7
+}
-- 
2.7.4

-- 
_______________________________________________
meta-freescale mailing list
meta-freescale@yoctoproject.org
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to