diff options
author | Tom Hochstein <tom.hochstein@nxp.com> | 2018-07-26 14:07:22 -0500 |
---|---|---|
committer | Otavio Salvador <otavio@ossystems.com.br> | 2018-08-30 21:57:09 -0300 |
commit | 66c56e1736495beb35b40baacf52d21837deaa41 (patch) | |
tree | 4158b7fdf768143d2fb4343d92368d3de4e6e16a /recipes-bsp/alsa-state | |
parent | 6663bd8abd8407d3a9cd7272b429fed72aea6a95 (diff) | |
download | meta-freescale-66c56e1736495beb35b40baacf52d21837deaa41.tar.gz |
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 <tom.hochstein@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diffstat (limited to 'recipes-bsp/alsa-state')
-rw-r--r-- | recipes-bsp/alsa-state/alsa-state/imx/asound.conf | 27 |
1 files changed, 27 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 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{ | |||
242 | type hw | 242 | type hw |
243 | card 0 | 243 | card 0 |
244 | } | 244 | } |
245 | |||
246 | pcm_slave.esai{ | ||
247 | pcm "hw:0,0" | ||
248 | channels 8 | ||
249 | rate 48000 | ||
250 | period_time 40000 | ||
251 | } | ||
252 | |||
253 | pcm.esaich1to6{ | ||
254 | type dshare | ||
255 | ipc_key 5778293 | ||
256 | slave esai | ||
257 | bindings.0 0 | ||
258 | bindings.1 4 | ||
259 | bindings.2 1 | ||
260 | bindings.3 5 | ||
261 | bindings.4 2 | ||
262 | bindings.5 6 | ||
263 | } | ||
264 | |||
265 | pcm.esaich78{ | ||
266 | type dshare | ||
267 | ipc_key 5778293 | ||
268 | slave esai | ||
269 | bindings.0 3 | ||
270 | bindings.1 7 | ||
271 | } | ||