mirror of
git://git.yoctoproject.org/meta-freescale.git
synced 2026-01-27 11:52:04 +01:00
OE-core updated to v1.2.15. Refresh the patches. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
88 lines
2.1 KiB
Diff
88 lines
2.1 KiB
Diff
From e6934385a773a8f6d713984716adbba5af0ead03 Mon Sep 17 00:00:00 2001
|
|
From: Viorel Suman <viorel.suman@nxp.com>
|
|
Date: Mon, 9 Mar 2020 14:25:46 +0200
|
|
Subject: [PATCH] add conf for iMX XCVR sound card
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Viorel Suman <viorel.suman@nxp.com>
|
|
---
|
|
src/conf/cards/IMX-XCVR.conf | 39 ++++++++++++++++++++++++++++++++++++
|
|
src/conf/cards/Makefile.am | 1 +
|
|
src/conf/cards/aliases.conf | 1 +
|
|
3 files changed, 41 insertions(+)
|
|
create mode 100755 src/conf/cards/IMX-XCVR.conf
|
|
|
|
diff --git a/src/conf/cards/IMX-XCVR.conf b/src/conf/cards/IMX-XCVR.conf
|
|
new file mode 100755
|
|
index 000000000000..009000c63a19
|
|
--- /dev/null
|
|
+++ b/src/conf/cards/IMX-XCVR.conf
|
|
@@ -0,0 +1,39 @@
|
|
+#
|
|
+# Configuration for the IMX-XCVR sound card using software IEC958
|
|
+# subframe conversion
|
|
+#
|
|
+IMX-XCVR.pcm.default {
|
|
+ @args [ CARD ]
|
|
+ @args.CARD { type string }
|
|
+ type plug
|
|
+ slave.pcm {
|
|
+ @func concat
|
|
+ strings [ "iec958:" $CARD ]
|
|
+ }
|
|
+}
|
|
+
|
|
+<confdir:pcm/iec958.conf>
|
|
+
|
|
+IMX-XCVR.pcm.iec958.0 {
|
|
+ @args [ CARD AES0 AES1 AES2 AES3 ]
|
|
+ @args.CARD { type string }
|
|
+ @args.AES0 { type integer }
|
|
+ @args.AES1 { type integer }
|
|
+ @args.AES2 { type integer }
|
|
+ @args.AES3 { type integer }
|
|
+ type iec958
|
|
+ slave {
|
|
+ format IEC958_SUBFRAME_LE
|
|
+ pcm {
|
|
+ type plug
|
|
+ slave.pcm {
|
|
+ type hw
|
|
+ card $CARD
|
|
+ }
|
|
+ }
|
|
+ }
|
|
+ status [ $AES0 $AES1 $AES2 $AES3 ]
|
|
+ preamble.z 0x0
|
|
+ preamble.x 0x1
|
|
+ preamble.y 0x3
|
|
+}
|
|
diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am
|
|
index 3c29bd65d341..4502919e3bec 100644
|
|
--- a/src/conf/cards/Makefile.am
|
|
+++ b/src/conf/cards/Makefile.am
|
|
@@ -4,6 +4,7 @@ cfg_files = aliases.conf \
|
|
CS42888.conf \
|
|
IMX-HDMI.conf \
|
|
AK4458.conf \
|
|
+ IMX-XCVR.conf \
|
|
AACI.conf \
|
|
ATIIXP.conf \
|
|
ATIIXP-SPDMA.conf \
|
|
diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf
|
|
index bbbf226a95a7..e6dd2cf69a9c 100644
|
|
--- a/src/conf/cards/aliases.conf
|
|
+++ b/src/conf/cards/aliases.conf
|
|
@@ -61,6 +61,7 @@ hda-acpi cards.HDA-Intel
|
|
imx-cs42888 cards.CS42888
|
|
imx-hdmi-soc cards.IMX-HDMI
|
|
ak4458-audio cards.AK4458
|
|
+imx-audio-xcvr cards.IMX-XCVR
|
|
|
|
<confdir:ctl/default.conf>
|
|
<confdir:pcm/default.conf>
|
|
--
|
|
2.42.0
|
|
|