conf/ucm: ROCKCHIP-I2S: rename to VEYRON-I2S

Commit a192f52fc6 introduced an ucm profile for Rockchip Veyron-
Chromebooks by taking the ucm profile from the ChromeOS userspace.

But similarly to DAISY-I2S, PAZ00 and most other profiles, the audio
setup is pretty specific to a board type, so hogging the Rockchip name
will make it harder for future Rockchip based boards to fit in nicely.

And while Veyron also is a family of boards, all of them share the
same audio setup. The ucm profile was not released with any official
alsa release and the audio setup also isn't in the mainline kernel yet,
so such a rename should be easily possible.

Fixes: a192f52fc6 ("conf/ucm: ROCKCHIP-I2S: add Rockchip I2S UCM config.")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Heiko Stübner 2016-06-09 01:17:15 +02:00 committed by Takashi Iwai
parent d39e1879b9
commit f449a29943
6 changed files with 14 additions and 14 deletions

View file

@ -0,0 +1,94 @@
SectionVerb {
Value {
OutputDspName "speaker_eq"
MinBufferLevel "512"
}
EnableSequence [
cdev "hw:VEYRONI2S"
cset "name='Left Speaker Mixer Left DAC Switch' on"
cset "name='Right Speaker Mixer Right DAC Switch' on"
cset "name='Headphone Left Switch' off"
cset "name='Headphone Right Switch' off"
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' 11"
cset "name='ADCL Volume' 11"
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' on"
cset "name='Speaker Right Switch' on"
cset "name='Speaker Switch' on"
]
DisableSequence [
]
}
SectionDevice."Headphone".0 {
Value {
JackName "VEYRON-I2S Headset Jack"
OutputDspName ""
}
EnableSequence [
cdev "hw:VEYRONI2S"
cset "name='Speaker Switch' off"
cset "name='Headphone Left Switch' on"
cset "name='Headphone Right Switch' on"
]
DisableSequence [
cdev "hw:VEYRONI2S"
cset "name='Headphone Left Switch' off"
cset "name='Headphone Right Switch' off"
cset "name='Speaker Switch' on"
]
}
SectionDevice."Mic".0 {
Value {
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"
]
}

View file

@ -0,0 +1,4 @@
alsaconfigdir = @ALSA_CONFIG_DIR@
ucmdir = $(alsaconfigdir)/ucm/VEYRON-I2S
ucm_DATA = VEYRON-I2S.conf HiFi.conf
EXTRA_DIST = $(ucm_DATA)

View file

@ -0,0 +1,6 @@
Comment "Rockchip Veyron card"
SectionUseCase."HiFi" {
File "HiFi.conf"
Comment "Default"
}