diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-08 16:00:07 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-04-08 16:00:07 +0000 |
commit | 7fe2412222a5198f9e169ce0effa8318320fe3ad (patch) | |
tree | a7ce485be0cac8f35324dc264f433104555c8424 /ucm-config/veyron_minnie/VEYRON-I2S/HiFi.conf | |
parent | 4f97d6740411fb53a4fb5f6e1af03e1f1b28c1ba (diff) | |
parent | 8d2c5b2edb9023b91d79709f2900ee1b643a3127 (diff) | |
download | adhd-android12-mainline-tzdata2-release.tar.gz |
Snap for 8426163 from 8d2c5b2edb9023b91d79709f2900ee1b643a3127 to mainline-tzdata2-releaseandroid-mainline-12.0.0_r112aml_tz2_305400500aml_tz2_305400300aml_tz2_305400100aml_tz2_304500300aml_tz2_303900110aml_tz2_303900102aml_tz2_303800002aml_tz2_303800001aml_tz2_303200001android12-mainline-tzdata2-releaseaml_tz2_305400100
Change-Id: I127ce133361317d9ebfb8ef2a903afdd64a6feeb
Diffstat (limited to 'ucm-config/veyron_minnie/VEYRON-I2S/HiFi.conf')
-rw-r--r-- | ucm-config/veyron_minnie/VEYRON-I2S/HiFi.conf | 158 |
1 files changed, 158 insertions, 0 deletions
diff --git a/ucm-config/veyron_minnie/VEYRON-I2S/HiFi.conf b/ucm-config/veyron_minnie/VEYRON-I2S/HiFi.conf new file mode 100644 index 00000000..fd4e6a84 --- /dev/null +++ b/ucm-config/veyron_minnie/VEYRON-I2S/HiFi.conf @@ -0,0 +1,158 @@ +SectionVerb { + Value { + OutputDspName "speaker_eq" + MinBufferLevel "512" + FullySpecifiedUCM "1" + } + + EnableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Left Speaker Mixer Left DAC Switch' on" + cset "name='Right Speaker Mixer Right DAC Switch' on" + cset "name='Digital EQ 3 Band Switch' off" + cset "name='Digital EQ 5 Band Switch' off" + cset "name='Digital EQ 7 Band Switch' off" + cset "name='Biquad Switch' off" + cset "name='Filter Mode' Music" + cset "name='ADC Oversampling Rate' 0" + + cset "name='DMIC Mux' DMIC" + cset "name='MIC2 Mux' IN34" + cset "name='Right ADC Mixer MIC2 Switch' on" + cset "name='Left ADC Mixer MIC2 Switch' on" + cset "name='MIC2 Volume' 20" + cset "name='Headset Mic Switch' off" + cset "name='Int Mic Switch' on" + + cset "name='ADCR Boost Volume' 4" + cset "name='ADCL Boost Volume' 4" + cset "name='ADCR Volume' 8" + cset "name='ADCL Volume' 8" + + cset "name='Left Speaker Mixer Left DAC Switch' on" + cset "name='Right Speaker Mixer Right DAC Switch' on" + cset "name='Speaker Left Mixer Volume' 2" + cset "name='Speaker Right Mixer Volume' 2" + cset "name='Record Path DC Blocking' on" + cset "name='Playback Path DC Blocking' on" + + cset "name='Speaker Left Switch' off" + cset "name='Speaker Right Switch' off" + cset "name='Speaker Switch' off" + + cset "name='Headphone Switch' off" + cset "name='HP Left Out Switch' off" + cset "name='HP Right Out Switch' off" + cset "name='Headphone Left Switch' on" + cset "name='Headphone Right Switch' on" + ] + + DisableSequence [ + ] +} + +SectionDevice."Speaker".0 { + Value { + PlaybackPCM "hw:VEYRONI2S,0" + MixerName "Speaker" + } + EnableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Speaker Left Switch' on" + cset "name='Speaker Right Switch' on" + cset "name='Speaker Switch' on" + ] + DisableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Speaker Switch' off" + cset "name='Speaker Left Switch' off" + cset "name='Speaker Right Switch' off" + ] +} + +SectionDevice."Internal Mic".0 { + Value { + CapturePCM "hw:VEYRONI2S,0" + MixerName "Int Mic" + } + EnableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Int Mic Switch' on" + ] + DisableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Int Mic Switch' off" + ] +} + +SectionDevice."Headphone".0 { + Value { + PlaybackPCM "hw:VEYRONI2S,0" + MixerName "Headphone" + JackType "gpio" + JackName "VEYRON-I2S Headset Jack" + OutputDspName "" + } + + EnableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='HP Left Out Switch' on" + cset "name='HP Right Out Switch' on" + cset "name='Headphone Switch' on" + ] + DisableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Headphone Switch' off" + cset "name='HP Left Out Switch' off" + cset "name='HP Right Out Switch' off" + ] +} + +SectionDevice."Mic".0 { + Value { + CapturePCM "hw:VEYRONI2S,0" + MixerName "Headset Mic" + JackType "gpio" + JackName "VEYRON-I2S Headset Jack" + } + + EnableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Int Mic Switch' off" + cset "name='DMIC Mux' ADC" + cset "name='Headset Mic Switch' on" + cset "name='Record Path DC Blocking' on" + ] + + DisableSequence [ + cdev "hw:VEYRONI2S" + + cset "name='Headset Mic Switch' off" + cset "name='DMIC Mux' DMIC" + cset "name='Int Mic Switch' on" + cset "name='Record Path DC Blocking' off" + ] +} + +SectionDevice."HDMI".0 { + Value { + PlaybackPCM "hw:VEYRONI2S,1" + JackName "VEYRON-I2S HDMI Jack" + JackType "gpio" + EDIDFile "/sys/class/drm/card1-HDMI-A-1/edid" + } + EnableSequence [ + cdev "hw:VEYRONI2S" + ] + DisableSequence [ + cdev "hw:VEYRONI2S" + ] +} |