From edf47d44cd615fd27268bdf3215e9ea9d8e4aef0 Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Wed, 9 Jul 2025 07:21:50 +0000 Subject: [PATCH] mb/google/fatcat/var/fatcat: Disable Audio for invalid Audio FW_CONFIG This commit modifies the Fatcat mainboard configuration to ensure the Audio controller is only enabled when a valid `FW_CONFIG` is selected. 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/fatcat to UI without valid Audio configuration. Change-Id: I7d1fa07978725129c2651f258894f3590e0a69eb Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/88365 Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) Reviewed-by: YH Lin --- src/mainboard/google/fatcat/variants/fatcat/overridetree.cb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb index 69c00ee8de..12c293b4a4 100644 --- a/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/fatcat/overridetree.cb @@ -924,6 +924,11 @@ chip soc/intel/pantherlake device ref smbus on end device ref hda on + probe AUDIO AUDIO_MAX98373_ALC5682_SNDW + probe AUDIO AUDIO_ALC722_SNDW + probe AUDIO AUDIO_ALC256_HDA + probe AUDIO AUDIO_MAX98360_ALC5682I_I2S + probe AUDIO AUDIO_ALC721_SNDW chip drivers/intel/soundwire device generic 0 on chip drivers/soundwire/alc711