From b4b6c3aa5565d9144534241aa67adb530099d392 Mon Sep 17 00:00:00 2001 From: Matt DeVillier Date: Sun, 5 Oct 2025 18:53:57 -0500 Subject: [PATCH] mb/google/brya/var/{marasov,mithrax,omnigul}: Add SOF chip driver entries These boards all use PDM1 for the microphone topology, and so need to override the baseboard default. TEST=boot Win11 on omnigul, verify speakers/microphone work with Coolstar's drivers. Change-Id: I55a5886fc02a83640392854cd7132aa811dac6f3 Signed-off-by: Matt DeVillier Reviewed-on: https://review.coreboot.org/c/coreboot/+/89454 Reviewed-by: Paul Menzel Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- .../google/brya/variants/marasov/overridetree.cb | 8 ++++++++ .../google/brya/variants/mithrax/overridetree.cb | 6 ++++++ .../google/brya/variants/omnigul/overridetree.cb | 8 ++++++++ 3 files changed, 22 insertions(+) diff --git a/src/mainboard/google/brya/variants/marasov/overridetree.cb b/src/mainboard/google/brya/variants/marasov/overridetree.cb index 392fbdd715..0718ef49ff 100644 --- a/src/mainboard/google/brya/variants/marasov/overridetree.cb +++ b/src/mainboard/google/brya/variants/marasov/overridetree.cb @@ -474,5 +474,13 @@ chip soc/intel/alderlake end end end + device ref hda on + chip drivers/sof + register "spkr_tplg" = "rt1019" + register "jack_tplg" = "rt5682" + register "mic_tplg" = "_2ch_pdm1" + device generic 0 on end + end + end end end diff --git a/src/mainboard/google/brya/variants/mithrax/overridetree.cb b/src/mainboard/google/brya/variants/mithrax/overridetree.cb index 4c1a359161..f455ce740d 100644 --- a/src/mainboard/google/brya/variants/mithrax/overridetree.cb +++ b/src/mainboard/google/brya/variants/mithrax/overridetree.cb @@ -304,6 +304,12 @@ chip soc/intel/alderlake register "sdmode_delay" = "5" device generic 0 on end end + chip drivers/sof + register "spkr_tplg" = "rt1019" + register "jack_tplg" = "rt5682" + register "mic_tplg" = "_2ch_pdm1" + device generic 0 on end + end end device ref pch_espi on chip ec/google/chromeec diff --git a/src/mainboard/google/brya/variants/omnigul/overridetree.cb b/src/mainboard/google/brya/variants/omnigul/overridetree.cb index 20e3d41064..cd580f2a09 100644 --- a/src/mainboard/google/brya/variants/omnigul/overridetree.cb +++ b/src/mainboard/google/brya/variants/omnigul/overridetree.cb @@ -465,5 +465,13 @@ chip soc/intel/alderlake end end end + device ref hda on + chip drivers/sof + register "spkr_tplg" = "max98360a" + register "jack_tplg" = "rt5682" + register "mic_tplg" = "_2ch_pdm1" + device generic 0 on end + end + end end end