alsa-ucm-conf: Backport Arduino Monza UCM support with DP audio
PATCH 1/1 alsa-ucm-conf: Backport Arduino Monza UCM support with DP audio
Add UCM2 configs for the Qualcomm qcs8300 Arduino Monza board (VENTUNO), covering HiFi playback/capture via Line1, Headphones, Earpiece, HDMI1 and Headset, followed by the Display Port audio support added on the Arduino VENTUNO-Q variant (HDMI2/DP0).
--- .../0001-ucm2-add-Arduino-monza-support.patch | 193 ++++++++++++++++++ ...Arduino-Monza-add-display-port-audio.patch | 53 +++++ .../alsa/alsa-ucm-conf_1.2.15.3.bb | 2 + 3 files changed, 248 insertions(+) create mode 100644 meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-ucm2-add-Arduino-monza-support.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-ucm-conf/0002-ucm2-Arduino-Monza-add-display-port-audio.patch
meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-ucm2-add-Arduino-monza-support.patch new file +193 -0
@@ -0,0 +1,193 @@ +From 5cc65aac417e378aa13169a88e701702fce14140 Mon Sep 17 00:00:00 2001 +From: Srinivas Kandagatla <[email protected]> +Date: Wed, 28 Jan 2026 03:39:21 +0000 +Subject: [PATCH 1/2] ucm2: add Arduino monza support + +Arduino VENTUNO has 1xHDMI, 1xDP, Headset(Mic and speakers), LineOut and +EarOut connectors. + +Add support for everything except DP, as it is not fully enabled yet. + +Upstream-Status: Backport +[https://github.com/alsa-project/alsa-ucm-conf/commit/5cc65aac417e378aa13169a88e701702fce14140] +Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/751 +Signed-off-by: Srinivas Kandagatla <[email protected]> +--- + ucm2/Qualcomm/qcs8300/arduino-monza/HiFi.conf | 137 ++++++++++++++++++ + .../qcs8300/arduino-monza/arduino-monza.conf | 11 ++ + ucm2/conf.d/qcs8300/arduino-monza.conf | 1 + + 3 files changed, 149 insertions(+) + create mode 100644 ucm2/Qualcomm/qcs8300/arduino-monza/HiFi.conf + create mode 100644 ucm2/Qualcomm/qcs8300/arduino-monza/arduino-monza.conf + create mode 120000 ucm2/conf.d/qcs8300/arduino-monza.conf + +diff --git a/ucm2/Qualcomm/qcs8300/arduino-monza/HiFi.conf b/ucm2/Qualcomm/qcs8300/arduino-monza/HiFi.conf +new file mode 100644 +index 000000000..3d82a9586 +--- /dev/null ++++ b/ucm2/Qualcomm/qcs8300/arduino-monza/HiFi.conf +@@ -0,0 +1,137 @@ ++# Use case configuration for Arduino Monza ++# Author: Srinivas Kandagatla <[email protected]> ++ ++SectionVerb { ++ EnableSequence [ ++ cset "name='LPI_MI2S_RX_0 Audio Mixer MultiMedia1' 1" ++ cset "name='LPI_MI2S_RX_4 Audio Mixer MultiMedia2' 1" ++ cset "name='MultiMedia4 Mixer LPI_MI2S_TX_0' 1" ++ ] ++ Include.e.File "/codecs/max98090/EnableSeq.conf" ++ Value { ++ TQ "HiFi" ++ } ++} ++ ++SectionDevice."Line1" { ++ Comment "Analog Line Output" ++ ++ Value { ++ PlaybackPCM "hw:${CardId},0" ++ PlaybackMixer "default:${CardId}" ++ } ++ ++ ConflictingDevice [ ++ "Headphones" ++ "Earpiece" ++ ] ++ ++ EnableSequence [ ++ cset "name='Receiver Left Switch' on" ++ cset "name='Receiver Right Switch' on" ++ cset "name='Receiver Switch' on" ++ cset "name='Left Receiver Mixer Left DAC Switch' 1" ++ cset "name='Right Receiver Mixer Right DAC Switch' 1" ++ cset "name='LINMOD Mux' 1" ++ cset "name='Receiver Left Mixer Volume' 2" ++ cset "name='Receiver Right Mixer Volume' 2" ++ cset "name='Speaker Switch' off" ++ ] ++ ++ DisableSequence [ ++ cset "name='Receiver Left Switch' off" ++ cset "name='Receiver Right Switch' off" ++ cset "name='Receiver Switch' off" ++ ] ++} ++ ++SectionDevice."Headphones" { ++ Comment "Headphone Output" ++ ++ Value { ++ PlaybackPCM "hw:${CardId},0" ++ PlaybackMixer "default:${CardId}" ++ } ++ ++ ConflictingDevice [ ++ "Line1" ++ "Earpiece" ++ ] ++ ++ EnableSequence [ ++ cset "name='Headphone Left Switch' on" ++ cset "name='Headphone Right Switch' on" ++ cset "name='Headphone Switch' on" ++ ] ++ ++ DisableSequence [ ++ cset "name='Headphone Left Switch' off" ++ cset "name='Headphone Right Switch' off" ++ cset "name='Headphone Switch' off" ++ ] ++} ++ ++SectionDevice."Earpiece" { ++ Comment "Earpiece playback" ++ ++ Value { ++ PlaybackPCM "hw:${CardId},0" ++ PlaybackMixer "default:${CardId}" ++ } ++ ++ ConflictingDevice [ ++ "Line1" ++ "Headphones" ++ ] ++ ++ EnableSequence [ ++ cset "name='Speaker Left Switch' on" ++ cset "name='Speaker Right Switch' on" ++ cset "name='Speaker Switch' on" ++ cset "name='Receiver Switch' off" ++ ] ++ ++ DisableSequence [ ++ cset "name='Speaker Left Switch' off" ++ cset "name='Speaker Right Switch' off" ++ cset "name='Speaker Switch' off" ++ ] ++ ++} ++SectionDevice."HDMI" { ++ Comment "HDMI playback" ++ ++ Value { ++ PlaybackChannels 2 ++ PlaybackPCM "hw:${CardId},1" ++ PlaybackMixer "default:${CardId}" ++ } ++} ++ ++SectionDevice."Headset" { ++ Comment "Headset microphone" ++ ++ EnableSequence [ ++ cset "name='MIC1 Mux' IN12" ++ cset "name='DMIC Mux' 0" ++ cset "name='Headset Mic Switch' on" ++ cset "name='Headset Mic12 Switch' on" ++ cset "name='Record Path DC Blocking' on" ++ cset "name='Left ADC Mixer MIC2 Switch' on" ++ cset "name='Right ADC Mixer MIC2 Switch' on" ++ ] ++ ++ DisableSequence [ ++ cset "name='Headset Mic Switch' off" ++ cset "name='DMIC Mux' 1" ++ cset "name='Record Path DC Blocking' off" ++ cset "name='Headset Mic12 Switch' off" ++ cset "name='Left ADC Mixer MIC2 Switch' off" ++ cset "name='Right ADC Mixer MIC2 Switch' off" ++ ] ++ ++ Value { ++ CapturePriority 200 ++ CapturePCM "hw:${CardId},3" ++ } ++} +diff --git a/ucm2/Qualcomm/qcs8300/arduino-monza/arduino-monza.conf b/ucm2/Qualcomm/qcs8300/arduino-monza/arduino-monza.conf +new file mode 100644 +index 000000000..70c4dac11 +--- /dev/null ++++ b/ucm2/Qualcomm/qcs8300/arduino-monza/arduino-monza.conf +@@ -0,0 +1,11 @@ ++Syntax 4 ++ ++SectionUseCase."HiFi" { ++ File "/Qualcomm/qcs8300/arduino-monza/HiFi.conf" ++ Comment "HiFi quality Music" ++} ++ ++BootSequence [ ++ cset "name='Headphone Volume' 30" ++ cset "name='MIC1 Volume' 20" ++] +diff --git a/ucm2/conf.d/qcs8300/arduino-monza.conf b/ucm2/conf.d/qcs8300/arduino-monza.conf +new file mode 120000 +index 000000000..411636407 +--- /dev/null ++++ b/ucm2/conf.d/qcs8300/arduino-monza.conf +@@ -0,0 +1 @@ ++../../Qualcomm/qcs8300/arduino-monza/arduino-monza.conf +\ No newline at end of file +-- +2.34.1
meta/recipes-multimedia/alsa/alsa-ucm-conf/0002-ucm2-Arduino-Monza-add-display-port-audio.patch new file +53 -0
53 lines not on this page · raw message
meta/recipes-multimedia/alsa/alsa-ucm-conf_1.2.15.3.bb +2 -0
@@ -13,6 +13,8 @@ SRC_URI += "file://0001-ucm2-da7213-Add-ADC-switch-in-HeadphoneMic2-sequence.pat SRC_URI += "file://0001-ucm2-Qualcomm-sa8775p-Remove-Fixed-channel-setting-f.patch" SRC_URI += "file://0002-ucm2-Qualcomm-qcs8300-Remove-Fixed-channel-setting-f.patch" SRC_URI += "file://0001-Qualcomm-glymur-Add-GLYMUR-CRD-HiFi-config.patch" +SRC_URI += "file://0001-ucm2-add-Arduino-monza-support.patch" +SRC_URI += "file://0002-ucm2-Arduino-Monza-add-display-port-audio.patch" SRC_URI[sha256sum] = "9f79e813c08fc86cfa46dd75c4fcda1a4a51b482db2607e1fcfaafb92f588a31" # Something went wrong at upstream tarballing
Signature · 1 line
2.34.1
Quoted 5 lines · Kumar Anurag via openembedded-core
Add UCM2 configs for the Qualcomm qcs8300 Arduino Monza board (VENTUNO), covering HiFi playback/capture via Line1, Headphones, Earpiece, HDMI1 and Headset, followed by the Display Port audio support added on the Arduino VENTUNO-Q variant (HDMI2/DP0).
Quoted 8 lines
Signed-off-by Kumar Anurag <[email protected]>--- .../0001-ucm2-add-Arduino-monza-support.patch | 193 ++++++++++++++++++ ...Arduino-Monza-add-display-port-audio.patch | 53 +++++ .../alsa/alsa-ucm-conf_1.2.15.3.bb | 2 + 3 files changed, 248 insertions(+) create mode 100644 meta/recipes-multimedia/alsa/alsa-ucm-conf/0001-ucm2-add-Arduino-monza-support.patch create mode 100644 meta/recipes-multimedia/alsa/alsa-ucm-conf/0002-ucm2-Arduino-Monza-add-display-port-audio.patch
Hello,
Adding new board support is a new feature and, as such, is not acceptable per stable policy[0]. So, I can't accept this patch, sorry.
Regards,
Signature · 2 lines
Yoann Congal Smile ECS