mb/google/fatcat: Update Soundwire codec address based on devicetree
This change adds soundwire codec addresses in the devicetree to calculate addresses for the ACPI table instead of previous kconfig which allows single board to select multiple soundwire codecs at runtime based on FW_CONFIG. BUG=b:368495490 TEST=build coreboot image and boot on google fatcat. Disassemble SSDT and confirm ACPI entries are correct for alc7xx device. Change-Id: I3322ae2d106d3628dbf627aacf999056d82ee7a9 Signed-off-by: Varun Upadhyay <varun.upadhyay@intel.com> Signed-off-by: Naveen M <naveen.m@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/85440 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Subrata Banik <subratabanik@google.com>
This commit is contained in:
parent
2411942a05
commit
075a13b775
2 changed files with 11 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ config BOARD_GOOGLE_FATCAT_COMMON
|
|||
select DRIVERS_INTEL_SOUNDWIRE
|
||||
select DRIVERS_WWAN_FM350GL
|
||||
select DRIVERS_AUDIO_SOF
|
||||
select DRIVERS_SOUNDWIRE_ALC722
|
||||
select DRIVERS_SOUNDWIRE_ALC_BASE_7XX
|
||||
select DRIVERS_SPI_ACPI
|
||||
select DUMP_SMBIOS_TYPE17
|
||||
select EC_ACPI
|
||||
|
|
|
|||
|
|
@ -621,11 +621,20 @@ chip soc/intel/pantherlake
|
|||
chip drivers/intel/soundwire
|
||||
device generic 0 on
|
||||
chip drivers/soundwire/alc711
|
||||
# SoundWire Link 1 ID 1
|
||||
register "desc" = ""Headset Codec""
|
||||
register "alc711_address.version" = "SOUNDWIRE_VERSION_1_2"
|
||||
register "alc711_address.class" = "MIPI_CLASS_SDCA"
|
||||
register "alc711_address.part_id" = "MIPI_DEV_ID_REALTEK_ALC722"
|
||||
# SoundWire Link 1 ID 1
|
||||
device generic 1.1 on
|
||||
probe AUDIO AUDIO_ALC722_SNDW
|
||||
end
|
||||
end
|
||||
chip drivers/soundwire/alc711
|
||||
register "desc" = ""Headset Codec""
|
||||
register "alc711_address.version" = "SOUNDWIRE_VERSION_1_2"
|
||||
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
|
||||
probe AUDIO AUDIO_ALC721_SNDW
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue