-
Notifications
You must be signed in to change notification settings - Fork 201
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ucm2: MediaTek: mt8195-demo: Add Initial support
Add the Initial ucm support for the Mediatek mt8195-demo platform. Fixes: #167 Signed-off-by: Nicolas Belin <nbelin@baylibre.com> Signed-off-by: fchiby <fchiby@baylibre.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
- Loading branch information
Showing
3 changed files
with
124 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,60 @@ | ||
SectionDevice."Hdmi" { | ||
Comment "Hdmi/DP output" | ||
|
||
Value { | ||
PlaybackPriority 250 | ||
PlaybackPCM "hw:${CardId},5" | ||
} | ||
} | ||
|
||
SectionDevice."Headphones" { | ||
Comment "Headset speakers" | ||
|
||
Value { | ||
PlaybackPriority 300 | ||
PlaybackChannels 2 | ||
PlaybackPCM "hw:${CardId},0" | ||
PlaybackVolume "name='Headset Volume'" | ||
} | ||
} | ||
|
||
SectionDevice."Mic1" { | ||
Comment "Headset microphone" | ||
|
||
Value { | ||
CapturePriority 300 | ||
CaptureChannels 1 | ||
CapturePCM "hw:${CardId},10" | ||
CaptureVolume "PGA1 Volume" | ||
} | ||
} | ||
|
||
SectionDevice."Line1" { | ||
Comment "I2S Line In" | ||
|
||
Value { | ||
CapturePriority 200 | ||
CaptureChannels 2 | ||
CapturePCM "hw:${CardId},11" | ||
} | ||
} | ||
|
||
SectionDevice."Line2" { | ||
Comment "I2S Line out" | ||
|
||
Value { | ||
PlaybackPriority 200 | ||
PlaybackChannels 8 | ||
PlaybackPCM "hw:${CardId},6" | ||
} | ||
} | ||
|
||
SectionDevice."Mic2" { | ||
Comment "PDM microphones" | ||
|
||
Value { | ||
CapturePriority 100 | ||
CaptureChannels 8 | ||
CapturePCM "hw:${CardId},14" | ||
} | ||
} |
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,63 @@ | ||
Syntax 3 | ||
|
||
SectionUseCase."HiFi" { | ||
File "/MediaTek/mt8195_demo/HiFi.conf" | ||
Comment "Play high quality music" | ||
} | ||
|
||
BootSequence [ | ||
cset "name='Headset Volume' 0" | ||
cset "name='Lineout Volume' 0" | ||
cset "name='HP Mux' Audio\ Playback" | ||
cset "name='LOL Mux' Playback" | ||
cset "name='MISO0_MUX' UL1_CH1" | ||
cset "name='MISO1_MUX' UL1_CH1" | ||
cset "name='ADC_L_Mux' Left\ Preamplifier" | ||
cset "name='PGA_L_Mux' AIN1" | ||
cset "name='HDMI_OUT_MUX' Connect" | ||
cset "name='DPTX_OUT_MUX' Connect" | ||
cset "name='O176 I070 Switch' on" | ||
cset "name='O177 I071 Switch' on" | ||
cset "name='O034 I168 Switch' on" | ||
cset "name='O035 I169 Switch' on" | ||
cset "name='O036 I012 Switch' on" | ||
cset "name='O037 I013 Switch' on" | ||
cset "name='O072 I022 Switch' on" | ||
cset "name='O073 I023 Switch' on" | ||
cset "name='O074 I024 Switch' on" | ||
cset "name='O075 I025 Switch' on" | ||
cset "name='O076 I026 Switch' on" | ||
cset "name='O077 I027 Switch' on" | ||
cset "name='O078 I028 Switch' on" | ||
cset "name='O079 I029 Switch' on" | ||
cset "name='O002 I004 Switch' on" | ||
cset "name='O003 I005 Switch' on" | ||
cset "name='O004 I006 Switch' on" | ||
cset "name='O005 I007 Switch' on" | ||
cset "name='O006 I008 Switch' on" | ||
cset "name='O007 I009 Switch' on" | ||
cset "name='O008 I010 Switch' on" | ||
cset "name='O009 I011 Switch' on" | ||
cset "name='O176 I070 Switch' off" | ||
cset "name='O177 I071 Switch' off" | ||
cset "name='O034 I168 Switch' off" | ||
cset "name='O035 I169 Switch' off" | ||
cset "name='O036 I012 Switch' off" | ||
cset "name='O037 I013 Switch' off" | ||
cset "name='O072 I022 Switch' off" | ||
cset "name='O073 I023 Switch' off" | ||
cset "name='O074 I024 Switch' off" | ||
cset "name='O075 I025 Switch' off" | ||
cset "name='O076 I026 Switch' off" | ||
cset "name='O077 I027 Switch' off" | ||
cset "name='O078 I028 Switch' off" | ||
cset "name='O079 I029 Switch' off" | ||
cset "name='O002 I004 Switch' off" | ||
cset "name='O003 I005 Switch' off" | ||
cset "name='O004 I006 Switch' off" | ||
cset "name='O005 I007 Switch' off" | ||
cset "name='O006 I008 Switch' off" | ||
cset "name='O007 I009 Switch' off" | ||
cset "name='O008 I010 Switch' off" | ||
cset "name='O009 I011 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 @@ | ||
../../MediaTek/mt8195_demo/mt8195_demo.conf |