From: Tom Hochstein Date: Thu, 26 Jul 2018 19:07:22 +0000 (-0500) Subject: alsa-state: Add support for splitting ESAI device X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=66c56e1736495beb35b40baacf52d21837deaa41;p=meta-freescale.git alsa-state: Add support for splitting ESAI device Split one ESAI device into two virtual devices, one 6 channel and one 2 channel. Signed-off-by: Tom Hochstein Signed-off-by: Otavio Salvador --- diff --git a/recipes-bsp/alsa-state/alsa-state/imx/asound.conf b/recipes-bsp/alsa-state/alsa-state/imx/asound.conf index 37cb76f8..0084f4a0 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 +}