Skip to content

Commit

Permalink
ucm2: Intel: avs: Add UCM files for max98357a configuration
Browse files Browse the repository at this point in the history
Add configs for devices using max98357a 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
Amadeusz Sławiński authored and perexg committed Oct 8, 2024
1 parent a56b33b commit 8fab0d5
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
15 changes: 15 additions & 0 deletions ucm2/Intel/avs/avs_max98357a/avs_max98357a-HiFi.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SectionDevice."Speaker" {
Comment "Speakers"

Value {
PlaybackPCM "hw:${CardId},1"
}

EnableSequence [
cset "name='Spk Switch' on"
]

DisableSequence [
cset "name='Spk Switch' off"
]
}
6 changes: 6 additions & 0 deletions ucm2/Intel/avs/avs_max98357a/avs_max98357a.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Syntax 6

SectionUseCase."HiFi" {
File "/Intel/avs/avs_max98357a/avs_max98357a-HiFi.conf"
Comment "Play HiFi quality Music"
}
1 change: 1 addition & 0 deletions ucm2/conf.d/avs_max98357a/Acer-Lars-1.0.conf
1 change: 1 addition & 0 deletions ucm2/conf.d/avs_max98357a/Google-Cave-1.0.conf
1 change: 1 addition & 0 deletions ucm2/conf.d/avs_max98357a/Google-Coral-rev2.conf

0 comments on commit 8fab0d5

Please sign in to comment.