ALSA: update stm32mp15x cards configuration files

Change-Id: Ib6c50ea6d9f1b14c0b7e79d013665dae4b8c2f52
This commit is contained in:
Romuald JEANNE 2021-03-15 15:49:35 +01:00 committed by Bernard PUEL
parent 02a595fac1
commit 7d21671b77
6 changed files with 43 additions and 43 deletions

View File

@ -1,23 +1,23 @@
From d1e2b81cd739cc7019f3881b54328a583e437efa Mon Sep 17 00:00:00 2001 From 0c54a55958a029e877f52148a138132d4bb664ef Mon Sep 17 00:00:00 2001
From: Olivier Moysan <olivier.moysan@st.com> From: Olivier Moysan <olivier.moysan@st.com>
Date: Thu, 25 Apr 2019 11:47:16 +0200 Date: Thu, 25 Apr 2019 11:47:16 +0200
Subject: [PATCH 1/1] conf: add card configs for stm32mp1 boards Subject: [PATCH 1/1] conf: add card configs for stm32mp15x boards
Add card configuration files for STM32MP1x-EV Add card configuration files for STM32MP15x-EV
and STM32MP1x-DK boards. and STM32MP15x-DK boards.
Signed-off-by: Olivier Moysan <olivier.moysan@st.com> Signed-off-by: Olivier Moysan <olivier.moysan@st.com>
--- ---
src/conf/cards/Makefile.am | 4 ++- src/conf/cards/Makefile.am | 4 ++-
src/conf/cards/STM32MP1DK.conf | 47 +++++++++++++++++++++++++++++++ src/conf/cards/STM32MP15DK.conf | 47 ++++++++++++++++++++++++
src/conf/cards/STM32MP1EV.conf | 64 ++++++++++++++++++++++++++++++++++++++++++ src/conf/cards/STM32MP15EV.conf | 64 +++++++++++++++++++++++++++++++++
src/conf/cards/aliases.conf | 2 ++ src/conf/cards/aliases.conf | 2 ++
4 files changed, 116 insertions(+), 1 deletion(-) 4 files changed, 116 insertions(+), 1 deletion(-)
create mode 100644 src/conf/cards/STM32MP1DK.conf create mode 100644 src/conf/cards/STM32MP15DK.conf
create mode 100644 src/conf/cards/STM32MP1EV.conf create mode 100644 src/conf/cards/STM32MP15EV.conf
diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am
index 00999f0186d6..e565357df72c 100644 index 00999f0186d6..c29d83144b31 100644
--- a/src/conf/cards/Makefile.am --- a/src/conf/cards/Makefile.am
+++ b/src/conf/cards/Makefile.am +++ b/src/conf/cards/Makefile.am
@@ -58,7 +58,9 @@ cfg_files = aliases.conf \ @@ -58,7 +58,9 @@ cfg_files = aliases.conf \
@ -26,20 +26,20 @@ index 00999f0186d6..e565357df72c 100644
VXPocket.conf \ VXPocket.conf \
- VXPocket440.conf - VXPocket440.conf
+ VXPocket440.conf \ + VXPocket440.conf \
+ STM32MP1EV.conf \ + STM32MP15EV.conf \
+ STM32MP1DK.conf + STM32MP15DK.conf
if BUILD_ALISP if BUILD_ALISP
cfg_files += aliases.alisp cfg_files += aliases.alisp
diff --git a/src/conf/cards/STM32MP1DK.conf b/src/conf/cards/STM32MP1DK.conf diff --git a/src/conf/cards/STM32MP15DK.conf b/src/conf/cards/STM32MP15DK.conf
new file mode 100644 new file mode 100644
index 000000000000..0a81fbe67149 index 000000000000..b57cc69084ff
--- /dev/null --- /dev/null
+++ b/src/conf/cards/STM32MP1DK.conf +++ b/src/conf/cards/STM32MP15DK.conf
@@ -0,0 +1,47 @@ @@ -0,0 +1,47 @@
+<confdir:pcm/front.conf> +<confdir:pcm/front.conf>
+ +
+STM32MP1DK.pcm.front.0 { +STM32MP15DK.pcm.front.0 {
+ @args [ CARD ] + @args [ CARD ]
+ @args.CARD { type string } + @args.CARD { type string }
+ type asym + type asym
@ -52,7 +52,7 @@ index 000000000000..0a81fbe67149
+ +
+<confdir:pcm/default.conf> +<confdir:pcm/default.conf>
+ +
+STM32MP1DK.pcm.default { +STM32MP15DK.pcm.default {
+ @args [ CARD ] + @args [ CARD ]
+ @args.CARD { type string } + @args.CARD { type string }
+ type asym + type asym
@ -70,7 +70,7 @@ index 000000000000..0a81fbe67149
+ +
+<confdir:pcm/hdmi.conf> +<confdir:pcm/hdmi.conf>
+ +
+STM32MP1DK.pcm.hdmi.0 { +STM32MP15DK.pcm.hdmi.0 {
+ @args [ CARD AES0 AES1 AES2 AES3 ] + @args [ CARD AES0 AES1 AES2 AES3 ]
+ @args.CARD { type string } + @args.CARD { type string }
+ @args.AES0 { type integer } + @args.AES0 { type integer }
@ -84,15 +84,15 @@ index 000000000000..0a81fbe67149
+ device 2 + device 2
+ } + }
+} +}
diff --git a/src/conf/cards/STM32MP1EV.conf b/src/conf/cards/STM32MP1EV.conf diff --git a/src/conf/cards/STM32MP15EV.conf b/src/conf/cards/STM32MP15EV.conf
new file mode 100644 new file mode 100644
index 000000000000..2b0ae406c071 index 000000000000..fc2e57e48746
--- /dev/null --- /dev/null
+++ b/src/conf/cards/STM32MP1EV.conf +++ b/src/conf/cards/STM32MP15EV.conf
@@ -0,0 +1,64 @@ @@ -0,0 +1,64 @@
+<confdir:pcm/front.conf> +<confdir:pcm/front.conf>
+ +
+STM32MP1EV.pcm.front.0 { +STM32MP15EV.pcm.front.0 {
+ @args [ CARD ] + @args [ CARD ]
+ @args.CARD { type string } + @args.CARD { type string }
+ type asym + type asym
@ -105,7 +105,7 @@ index 000000000000..2b0ae406c071
+ +
+<confdir:pcm/default.conf> +<confdir:pcm/default.conf>
+ +
+STM32MP1EV.pcm.default { +STM32MP15EV.pcm.default {
+ @args [ CARD ] + @args [ CARD ]
+ @args.CARD { type string } + @args.CARD { type string }
+ type asym + type asym
@ -123,7 +123,7 @@ index 000000000000..2b0ae406c071
+ +
+<confdir:pcm/iec958.conf> +<confdir:pcm/iec958.conf>
+ +
+STM32MP1EV.pcm.iec958.0 { +STM32MP15EV.pcm.iec958.0 {
+ @args [ CARD AES0 AES1 AES2 AES3 ] + @args [ CARD AES0 AES1 AES2 AES3 ]
+ @args.CARD { type string } + @args.CARD { type string }
+ @args.AES0 { type integer } + @args.AES0 { type integer }
@ -155,18 +155,18 @@ index 000000000000..2b0ae406c071
+ } + }
+} +}
diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf
index 18a920f41e46..e6e1e5201cdf 100644 index 18a920f41e46..30ce4d86a8e1 100644
--- a/src/conf/cards/aliases.conf --- a/src/conf/cards/aliases.conf
+++ b/src/conf/cards/aliases.conf +++ b/src/conf/cards/aliases.conf
@@ -57,6 +57,8 @@ CMI8786 cards.CMI8788 @@ -57,6 +57,8 @@ CMI8786 cards.CMI8788
CMI8787 cards.CMI8788 CMI8787 cards.CMI8788
pistachio cards.pistachio-card pistachio cards.pistachio-card
VC4-HDMI cards.vc4-hdmi VC4-HDMI cards.vc4-hdmi
+STM32MP1-EV cards.STM32MP1EV +STM32MP15-EV cards.STM32MP15EV
+STM32MP1-DK cards.STM32MP1DK +STM32MP15-DK cards.STM32MP15DK
<confdir:pcm/default.conf> <confdir:pcm/default.conf>
<confdir:pcm/dmix.conf> <confdir:pcm/dmix.conf>
-- --
2.7.4 2.17.1

View File

@ -1,4 +1,4 @@
FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/${PN}:" FILESEXTRAPATHS_prepend_stm32mpcommon := "${THISDIR}/${PN}:"
SRC_URI_append_stm32mpcommon = " \ SRC_URI_append_stm32mpcommon = " \
file://0001-conf-add-card-configs-for-stm32mp1-boards.patch \ file://0001-conf-add-card-configs-for-stm32mp15x-boards.patch \
" "

View File

@ -1,17 +1,17 @@
pcm.!playback_codec { pcm.!playback_codec {
type hw type hw
card STM32MP1DK card STM32MP15DK
device 0 device 0
} }
pcm.!record_codec { pcm.!record_codec {
type hw type hw
card STM32MP1DK card STM32MP15DK
device 1 device 1
} }
pcm.!playback_hdmi { pcm.!playback_hdmi {
type hw type hw
card STM32MP1DK card STM32MP15DK
device 2 device 2
} }

View File

@ -1,4 +1,4 @@
state.STM32MP1DK { state.STM32MP15DK {
control.1 { control.1 {
iface MIXER iface MIXER
name 'PCM Playback Volume' name 'PCM Playback Volume'

View File

@ -1,47 +1,47 @@
pcm.!playback_codec { pcm.!playback_codec {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 0 device 0
} }
pcm.!record_codec { pcm.!record_codec {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 1 device 1
} }
pcm.!playback_spdif { pcm.!playback_spdif {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 2 device 2
} }
pcm.!record_spdif { pcm.!record_spdif {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 3 device 3
} }
pcm.!record_dfsdm0 { pcm.!record_dfsdm0 {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 4 device 4
} }
pcm.!record_dfsdm1 { pcm.!record_dfsdm1 {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 5 device 5
} }
pcm.!record_dfsdm2 { pcm.!record_dfsdm2 {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 6 device 6
} }
pcm.!record_dfsdm3 { pcm.!record_dfsdm3 {
type hw type hw
card STM32MP1EV card STM32MP15EV
device 7 device 7
} }

View File

@ -1,4 +1,4 @@
state.STM32MP1EV { state.STM32MP15EV {
control.1 { control.1 {
iface MIXER iface MIXER
name 'AIF1.1 DRC' name 'AIF1.1 DRC'