-
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 nau8825 configuration
Add configs for devices using nau8825 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
9 changed files
with
148 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,34 @@ | ||
SectionDevice."Headphone" { | ||
Comment "Headphones" | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId},1" | ||
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" | ||
CaptureCTL "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_nau8825/Acer-Lars-1.0-HiFi.conf" | ||
Comment "Play HiFi quality Music" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='DAC Oversampling Rate' 128" | ||
cset "name='Headset Mic Switch' off" | ||
cset "name='Mic Volume' 255" | ||
cset "name='Frontend PGA Volume' 19" | ||
] |
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,34 @@ | ||
SectionDevice."Headphone" { | ||
Comment "Headphones" | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId},1" | ||
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" | ||
CaptureCTL "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_nau8825/Google-Cave-1.0-HiFi.conf" | ||
Comment "Play HiFi quality Music" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='DAC Oversampling Rate' 128" | ||
cset "name='Headset Mic Switch' off" | ||
cset "name='Mic Volume' 255" | ||
] | ||
|
37 changes: 37 additions & 0 deletions
37
ucm2/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0-HiFi.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,37 @@ | ||
SectionDevice."Headphone" { | ||
Comment "Headphones" | ||
|
||
Value { | ||
PlaybackPCM "hw:${CardId},1" | ||
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" | ||
CaptureCTL "Mic" | ||
JackControl "Headset Mic" | ||
} | ||
|
||
EnableSequence [ | ||
cset "name='Headset Mic Switch' on" | ||
cset "name='BIQ Coefficients' 0,155,0,6,255,102,0,0,255,179,0,0,0,154,0,6,255,179,128,0" | ||
] | ||
|
||
DisableSequence [ | ||
cset "name='Headset Mic Switch' off" | ||
cset "name='BIQ Coefficients' 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" | ||
] | ||
} | ||
|
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,14 @@ | ||
Syntax 6 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/Intel/avs/avs_nau8825/Hewlett_Packard-Chell-1.0-HiFi.conf" | ||
Comment "Play HiFi quality Music" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='DAC Oversampling Rate' 64" | ||
cset "name='Headset Mic Switch' off" | ||
cset "name='BIQ Path Select' ADC" | ||
cset "name='BIQ Coefficients' 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0" | ||
cset "name='Mic Volume' 255" | ||
] |
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_nau8825/Acer-Lars-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_nau8825/Google-Cave-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_nau8825/Hewlett_Packard-Chell-1.0.conf |