- # Use case configuration for LenovoX13s.
- # Author: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
- SectionVerb {
- EnableSequence [
- cset "name='RX_CODEC_DMA_RX_0 Audio Mixer MultiMedia1' 1"
- cset "name='WSA_CODEC_DMA_RX_0 Audio Mixer MultiMedia2' 1"
- cset "name='MultiMedia4 Mixer VA_CODEC_DMA_TX_0' 1"
- cset "name='MultiMedia3 Mixer TX_CODEC_DMA_TX_3' 1"
- cset "name='stream1.vol_ctrl1 MultiMedia1 Playback Volu' 5000"
- cset "name='stream2.vol_ctrl2 MultiMedia2 Playback Volu' 5000"
- ]
- Include.wcde.File "/codecs/wcd938x/DefaultEnableSeq.conf"
- Include.wsae.File "/codecs/wsa883x/DefaultEnableSeq.conf"
- Include.txme.File "/codecs/qcom-lpass/tx-macro/DefaultEnableSeq.conf"
- Include.wcdd {
- File "/codecs/wcd938x/DefaultDisableSeq.conf"
- Before.DisableSequence "0"
- }
- Value {
- TQ "HiFi"
- }
- }
- SectionDevice."Speaker" {
- Comment "Speaker playback"
- Include.wcdspke.File "/codecs/qcom-lpass/wsa-macro/SpeakerEnableSeq.conf"
- Include.wcdspkd.File "/codecs/qcom-lpass/wsa-macro/SpeakerDisableSeq.conf"
- Include.wsaspke.File "/codecs/wsa883x/SpeakerEnableSeq.conf"
- Include.wsaspkd.File "/codecs/wsa883x/SpeakerDisableSeq.conf"
- Value {
- PlaybackPriority 100
- PlaybackPCM "hw:${CardId},5"
- PlaybackMixer "default:${CardId}"
- }
- }
- SectionDevice."Headphones" {
- Comment "Headphones playback"
- Include.wcdhpe.File "/codecs/wcd938x/HeadphoneEnableSeq.conf"
- Include.wcdhpd.File "/codecs/wcd938x/HeadphoneDisableSeq.conf"
- Include.rxmhpe.File "/codecs/qcom-lpass/rx-macro/HeadphoneEnableSeq.conf"
- Include.rxmhpd.File "/codecs/qcom-lpass/rx-macro/HeadphoneDisableSeq.conf"
- Value {
- PlaybackPriority 200
- PlaybackPCM "hw:${CardId},4"
- PlaybackMixer "default:${CardId}"
- PlaybackMixerElem "HP Digital"
- JackControl "Headphone Jack"
- JackHWMute "Speaker"
- }
- }
- SectionDevice."Mic" {
- Comment "Mic"
- Include.wcdmice.File "/codecs/wcd938x/HeadphoneMicEnableSeq.conf"
- Include.wcdmicd.File "/codecs/wcd938x/HeadphoneMicDisableSeq.conf"
- Include.txmhpe.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicEnableSeq.conf"
- Include.txmhpd.File "/codecs/qcom-lpass/tx-macro/HeadphoneMicDisableSeq.conf"
- Value {
- CapturePriority 100
- CapturePCM "hw:${CardId},6"
- CaptureMixerElem "ADC2"
- JackControl "Mic Jack"
- JackHWMute "DMic01"
- }
- }
- SectionDevice."DMic01" {
- Comment "DMic01"
- Include.vadm0e.File "/codecs/qcom-lpass/va-macro/DMIC0EnableSeq.conf"
- Include.vadm0d.File "/codecs/qcom-lpass/va-macro/DMIC0DisableSeq.conf"
- Include.vadm1e.File "/codecs/qcom-lpass/va-macro/DMIC1EnableSeq.conf"
- Include.vadm1d.File "/codecs/qcom-lpass/va-macro/DMIC1DisableSeq.conf"
- Value {
- CapturePriority 100
- CapturePCM "hw:${CardId},7"
- }
- }
