[meta-freescale] [PATCH 33/52] alsa-state: Add support for splitting ESAI device
Tom Hochstein
tom.hochstein at nxp.com
Mon Jul 30 12:43:52 PDT 2018
Split one ESAI device into two virtual devices, one
6 channel and one 2 channel.
Signed-off-by: Tom Hochstein <tom.hochstein at 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
More information about the meta-freescale
mailing list