From 306544b4276feb52df7be67b3767930f22ba872f Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 9 Jul 2025 07:25:28 +0000 Subject: [PATCH] mb/google/fatcat/var/francka: Add AUDIO_UNKNOWN and audio probes This commit introduces an `AUDIO_UNKNOWN` option to the `fw_config` for the Francka variant of the Fatcat mainboard. This allows for a default or fallback state when a specific audio configuration isn't known or desired. Additionally, this change introduces audio probe statements that allow the system to boot successfully even if `FW_CONFIG` is set to `AUDIO_UNKNOWN`, effectively disabling the audio controller in such cases. This prevents boot failures when an unsupported or unknown audio codec is selected, improving system robustness. BUG=b:430205874 TEST=Able to boot google/francka to UI without valid Audio configuration. Change-Id: I34f7fe5f0509cbddfd3648afb087786373fcf8df Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/88366 Tested-by: build bot (Jenkins) Reviewed-by: Kapil Porwal Reviewed-by: YH Lin --- src/mainboard/google/fatcat/variants/francka/overridetree.cb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mainboard/google/fatcat/variants/francka/overridetree.cb b/src/mainboard/google/fatcat/variants/francka/overridetree.cb index d93d6a1738..a0a6ec680d 100644 --- a/src/mainboard/google/fatcat/variants/francka/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/francka/overridetree.cb @@ -8,6 +8,7 @@ fw_config option AUDIO_ALC721_SNDW 1 option AUDIO_CS42L43_CS35L56_SNDW 2 option AUDIO_ALC722_ALC1320_SNDW 3 + option AUDIO_UNKNOWN 7 end field BRIDGE 6 7 option BRIDGE_HAYDEN 0 @@ -276,6 +277,10 @@ chip soc/intel/pantherlake device ref smbus on end device ref hda on + probe AUDIO AUDIO_ALC256M_CG_HDA + probe AUDIO AUDIO_ALC721_SNDW + probe AUDIO AUDIO_CS42L43_CS35L56_SNDW + probe AUDIO AUDIO_ALC722_ALC1320_SNDW chip drivers/sof register "spkr_tplg" = "max98360a" register "jack_tplg" = "rt5682"