Skip to content

Commit

Permalink
topology2: dmic-generic: add switch for LED control
Browse files Browse the repository at this point in the history
Add a mute switch to gain widget for DMIC. Also register this switch
as MIC mute LED mixer control on Linux side.

Signed-off-by: Brent Lu <[email protected]>
(cherry picked from commit 33e2376)
Signed-off-by: Jyri Sarha <[email protected]>
  • Loading branch information
brentlu authored and kv2019i committed Feb 14, 2024
1 parent 1b00ccd commit 9ec0589
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tools/topology/topology2/platform/intel/dmic-generic.conf
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,12 @@ IncludeByKey.PASSTHROUGH {
Object.Control.mixer.1 {
name '$DMIC0_PCM_NAME Capture Volume'
}
Object.Control.mixer.2 {
name 'Dmic0 Capture Switch'

mute_led_use 1
mute_led_direction 1
}
}

Object.Widget.module-copier."2" {
Expand Down

0 comments on commit 9ec0589

Please sign in to comment.