mb/google/fatcat/var/kinmen: Add AUDIO_UNKNOWN and probe for ALC721

This commit enhances the Kinmen variant of the Fatcat mainboard by
introducing an `fw_config` field for AUDIO. This field includes an
`AUDIO_UNKNOWN` option, providing a clear state when no specific audio
configuration is selected or known.

Furthermore, a probe statement for `AUDIO_ALC721_SNDW` has been added
to the `hda` device. This ensures that the system can correctly identify
and initialize the Realtek ALC721 audio codec when present.

These changes improve the flexibility and accuracy of audio
configuration and detection for the Kinmen board.

BUG=b:430205874
TEST=Able to boot google/kinmen to UI without valid Audio configuration.

Change-Id: I86634a4a49c4006584fc808719b2891186953a51
Signed-off-by: Subrata Banik <subratabanik@google.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/88367
Reviewed-by: Kapil Porwal <kapilporwal@google.com>
Reviewed-by: YH Lin <yueherngl@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Subrata Banik 2025-07-09 07:28:20 +00:00
commit a1dfd39e04

View file

@ -1,3 +1,10 @@
fw_config
field AUDIO 3 5
option AUDIO_UNKNOWN 0
option AUDIO_ALC721_SNDW 1
end
end
chip soc/intel/pantherlake
# The initial version temporarily uses the PTL-H,
@ -279,6 +286,7 @@ chip soc/intel/pantherlake
device ref smbus on end
device ref hda on
probe AUDIO AUDIO_ALC721_SNDW
chip drivers/intel/soundwire
device generic 0 on
chip drivers/soundwire/alc711
@ -287,7 +295,9 @@ chip soc/intel/pantherlake
register "alc711_address.class" = "MIPI_CLASS_SDCA"
register "alc711_address.part_id" = "MIPI_DEV_ID_REALTEK_ALC721"
# SoundWire Link 3 ID 1
device generic 3.1 on end
device generic 3.1 on
probe AUDIO AUDIO_ALC721_SNDW
end
end
end
end