|
| 1 | +diff --git a/src/ucm2/Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/HiFi.conf b/src/ucm2/Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/HiFi.conf |
| 2 | +new file mode 100644 |
| 3 | +index 0000000..d36d0a7 |
| 4 | +--- /dev/null |
| 5 | ++++ b/src/ucm2/Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/HiFi.conf |
| 6 | +@@ -0,0 +1,73 @@ |
| 7 | ++SectionVerb { |
| 8 | ++ EnableSequence [ |
| 9 | ++ cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1" |
| 10 | ++ cset "name='DISPLAY_PORT_RX_0 Audio Mixer MultiMedia2' 0" |
| 11 | ++ cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" |
| 12 | ++ cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1" |
| 13 | ++ ] |
| 14 | ++ |
| 15 | ++ Value { |
| 16 | ++ TQ "HiFi" |
| 17 | ++ } |
| 18 | ++} |
| 19 | ++ |
| 20 | ++SectionDevice."Headphones" { |
| 21 | ++ Comment "Headphones playback" |
| 22 | ++ |
| 23 | ++ Include.wcdhpe.File "/codecs/wcd938x/HeadphoneEnableSeq.conf" |
| 24 | ++ Include.wcdhpd.File "/codecs/wcd938x/HeadphoneDisableSeq.conf" |
| 25 | ++ Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf" |
| 26 | ++ Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf" |
| 27 | ++ |
| 28 | ++ EnableSequence [ |
| 29 | ++ cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1" |
| 30 | ++ ] |
| 31 | ++ |
| 32 | ++ DisableSequence [ |
| 33 | ++ cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 0" |
| 34 | ++ ] |
| 35 | ++ |
| 36 | ++ Value { |
| 37 | ++ PlaybackPriority 200 |
| 38 | ++ PlaybackPCM "hw:${CardId},0" |
| 39 | ++ PlaybackMixer "default:${CardId}" |
| 40 | ++ PlaybackMixerElem "HP" |
| 41 | ++ JackControl "Headphone Jack" |
| 42 | ++ } |
| 43 | ++} |
| 44 | ++ |
| 45 | ++SectionDevice."HDMI" { |
| 46 | ++ Comment "HDMI/DisplayPort0 playback" |
| 47 | ++ |
| 48 | ++ EnableSequence [ |
| 49 | ++ cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 0" |
| 50 | ++ cset "name='DISPLAY_PORT_RX_0 Audio Mixer MultiMedia2' 1" |
| 51 | ++ ] |
| 52 | ++ |
| 53 | ++ DisableSequence [ |
| 54 | ++ cset "name='DISPLAY_PORT_RX_0 Audio Mixer MultiMedia2' 0" |
| 55 | ++ cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1" |
| 56 | ++ ] |
| 57 | ++ |
| 58 | ++ Value { |
| 59 | ++ PlaybackPriority 100 |
| 60 | ++ PlaybackPCM "hw:${CardId},1" |
| 61 | ++ JackControl "DP0 Jack" |
| 62 | ++ } |
| 63 | ++} |
| 64 | ++ |
| 65 | ++SectionDevice."Headset" { |
| 66 | ++ Comment "Headset microphone" |
| 67 | ++ |
| 68 | ++ Include.wcdmice.File "/codecs/wcd938x/HeadphoneMicEnableSeq.conf" |
| 69 | ++ Include.wcdmicd.File "/codecs/wcd938x/HeadphoneMicDisableSeq.conf" |
| 70 | ++ Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf" |
| 71 | ++ Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf" |
| 72 | ++ |
| 73 | ++ Value { |
| 74 | ++ CapturePriority 100 |
| 75 | ++ CapturePCM "hw:${CardId},2" |
| 76 | ++ CaptureMixerElem "ADC2" |
| 77 | ++ JackControl "Mic Jack" |
| 78 | ++ } |
| 79 | ++} |
| 80 | +diff --git a/src/ucm2/Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/QCS6490-Radxa-CM-Q64.conf b/src/ucm2/Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/QCS6490-Radxa-CM-Q64.conf |
| 81 | +new file mode 100644 |
| 82 | +index 0000000..42ae12d |
| 83 | +--- /dev/null |
| 84 | ++++ b/src/ucm2/Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/QCS6490-Radxa-CM-Q64.conf |
| 85 | +@@ -0,0 +1,17 @@ |
| 86 | ++Syntax 4 |
| 87 | ++ |
| 88 | ++SectionUseCase."HiFi" { |
| 89 | ++ File "/Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/HiFi.conf" |
| 90 | ++ Comment "HiFi quality Music." |
| 91 | ++} |
| 92 | ++ |
| 93 | ++BootSequence [ |
| 94 | ++ cset "name='HPHL Volume' 2" |
| 95 | ++ cset "name='HPHR Volume' 2" |
| 96 | ++ cset "name='ADC2 Volume' 10" |
| 97 | ++] |
| 98 | ++ |
| 99 | ++Include.card-init.File "/lib/card-init.conf" |
| 100 | ++Include.ctl-remap.File "/lib/ctl-remap.conf" |
| 101 | ++Include.wcd-init.File "/codecs/wcd938x/init.conf" |
| 102 | ++Include.rxm-init.File "/codecs/qcom-lpass/rx-macro/init.conf" |
| 103 | +diff --git a/src/ucm2/conf.d/qcs6490/QCS6490-Radxa-CM-Q64.conf b/src/ucm2/conf.d/qcs6490/QCS6490-Radxa-CM-Q64.conf |
| 104 | +new file mode 120000 |
| 105 | +index 0000000..f946c0e |
| 106 | +--- /dev/null |
| 107 | ++++ b/src/ucm2/conf.d/qcs6490/QCS6490-Radxa-CM-Q64.conf |
| 108 | +@@ -0,0 +1 @@ |
| 109 | ++../../Qualcomm/qcs6490/QCS6490-Radxa-CM-Q64/QCS6490-Radxa-CM-Q64.conf |
| 110 | +\ No newline at end of file |
0 commit comments