-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ucm2: Intel: avs: Add UCM files for rt5663 configuration
Add configs for devices using rt5663 codec. Closes: #418 Signed-off-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- Loading branch information
Showing
6 changed files
with
94 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
SectionDevice."Headphones" { | ||
Comment "Headphones" | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId},1" | ||
PlaybackMixerElem "DAC" | ||
JackControl "Headphone Jack" | ||
} | ||
EnableSequence [ | ||
cset "name='Headphone Jack Switch' on" | ||
] | ||
DisableSequence [ | ||
cset "name='Headphone Jack Switch' off" | ||
] | ||
} | ||
|
||
SectionDevice."Mic" { | ||
Comment "Headset Microphone" | ||
|
||
Value { | ||
CapturePCM "hw:${CardId},1" | ||
CaptureMixerElem "Headset Mic" | ||
JackControl "Headset Mic" | ||
} | ||
EnableSequence [ | ||
cset "name='Headset Mic Switch' on" | ||
] | ||
DisableSequence [ | ||
cset "name='Headset Mic Switch' off" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Syntax 6 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Intel/avs/avs_rt5663/Google-Eve-1.0-HiFi.conf" | ||
Comment "Play HiFi quality Music" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Playback Volume' 16" | ||
cset "name='Headset Mic Switch' off" | ||
cset "name='STO1 ADC MIXL ADC1 Switch' on" | ||
cset "name='ADC Capture Volume' 35" | ||
cset "name='DAC L Mux' STO DAC MIXL" | ||
cset "name='DAC R Mux' STO DAC MIXR" | ||
cset "name='STO1 DAC MIXL DAC L Switch' on" | ||
cset "name='STO1 DAC MIXR DAC R Switch' on" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
SectionDevice."Headphones" { | ||
Comment "Headphones" | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId},1" | ||
PlaybackMixerElem "DAC" | ||
JackControl "Headphone Jack" | ||
} | ||
EnableSequence [ | ||
cset "name='Headphone Jack Switch' on" | ||
] | ||
DisableSequence [ | ||
cset "name='Headphone Jack Switch' off" | ||
] | ||
} | ||
|
||
SectionDevice."Mic" { | ||
Comment "Headset Microphone" | ||
|
||
Value { | ||
CapturePCM "hw:${CardId},1" | ||
CaptureMixerElem "Headset Mic" | ||
JackControl "Headset Mic" | ||
} | ||
EnableSequence [ | ||
cset "name='Headset Mic Switch' on" | ||
] | ||
DisableSequence [ | ||
cset "name='Headset Mic Switch' off" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Syntax 6 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Intel/avs/avs_rt5663/HP-Soraka-1.0-HiFi.conf" | ||
Comment "Play HiFi quality Music" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headphone Jack Switch' off" | ||
cset "name='Headset Mic Switch' off" | ||
cset "name='Headphone Playback Volume' 16" | ||
cset "name='STO1 ADC MIXL ADC1 Switch' on" | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Intel/avs/avs_rt5663/Google-Eve-1.0.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../Intel/avs/avs_rt5663/HP-Soraka-1.0.conf |