From a4ddabdfdf684f39f7cd3f4d7b29be5f12c8ed5d Mon Sep 17 00:00:00 2001 From: Christophe Priouzeau Date: Fri, 7 Jan 2022 09:24:37 +0100 Subject: [PATCH 2/2] conf: add card config for stm32mp13x_evd board Add card configuration file for STM32MP13x-EVD board. Signed-off-by: Olivier Moysan --- src/conf/cards/Makefile.am | 3 +- src/conf/cards/STM32MP13EV1.conf | 65 ++++++++++++++++++++++++++++++++ src/conf/cards/aliases.conf | 1 + 3 files changed, 68 insertions(+), 1 deletion(-) create mode 100644 src/conf/cards/STM32MP13EV1.conf diff --git a/src/conf/cards/Makefile.am b/src/conf/cards/Makefile.am index c29d831..2ed47ad 100644 --- a/src/conf/cards/Makefile.am +++ b/src/conf/cards/Makefile.am @@ -60,7 +60,8 @@ cfg_files = aliases.conf \ VXPocket.conf \ VXPocket440.conf \ STM32MP15EV.conf \ - STM32MP15DK.conf + STM32MP15DK.conf \ + STM32MP13EV1.conf if BUILD_ALISP cfg_files += aliases.alisp diff --git a/src/conf/cards/STM32MP13EV1.conf b/src/conf/cards/STM32MP13EV1.conf new file mode 100644 index 0000000..332bdbc --- /dev/null +++ b/src/conf/cards/STM32MP13EV1.conf @@ -0,0 +1,65 @@ + + +STM32MP13EV1.pcm.front.0 { + @args [ CARD ] + @args.CARD { type string } + type asym + playback.pcm { + type hw + card $CARD + device 0 + } +} + + + +STM32MP13EV1.pcm.default { + @args [ CARD ] + @args.CARD { type string } + type asym + playback.pcm { + type hw + card $CARD + device 0 + } + capture.pcm { + type hw + card $CARD + device 1 + } +} + + + +STM32MP13EV1.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 asym + playback.pcm { + type iec958 + slave.pcm { + type hw + card $CARD + device 2 + } + type hooks + hooks.0 { + type ctl_elems + hook_args [ + { + interface PCM + name "IEC958 Playback Default" + device 2 + lock true + preserve true + value [ $AES0 $AES1 $AES2 $AES3 ] + } + ] + } + } +} + diff --git a/src/conf/cards/aliases.conf b/src/conf/cards/aliases.conf index b282549..d1897c9 100644 --- a/src/conf/cards/aliases.conf +++ b/src/conf/cards/aliases.conf @@ -59,6 +59,7 @@ pistachio cards.pistachio-card VC4-HDMI cards.vc4-hdmi STM32MP15-EV cards.STM32MP15EV STM32MP15-DK cards.STM32MP15DK +STM32MP13-EV1 cards.STM32MP13EV1 -- 2.25.1