mb/intel: Enable ALC711 Audio codec over SNDW0 link

The patch enables ALC711 Audio codec.

Test=Verified on ADL RVP.

Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Change-Id: I73f480dad1047cebd7ffc66e0104ff10cacc300b
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47278
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Subrata Banik <subrata.banik@intel.com>
Reviewed-by: V Sowmya <v.sowmya@intel.com>
This commit is contained in:
Sridhar Siricilla 2020-11-05 14:18:38 +05:30 committed by Subrata Banik
parent 73caae9772
commit f2de1e7e19
3 changed files with 7 additions and 2 deletions

View File

@ -13,6 +13,7 @@ config BOARD_SPECIFIC_OPTIONS
select DRIVERS_SPI_ACPI
select SOC_INTEL_ALDERLAKE
select HAVE_SPD_IN_CBFS
select DRIVERS_SOUNDWIRE_ALC711
config CHROMEOS
bool

View File

@ -258,6 +258,11 @@ chip soc/intel/alderlake
device pci 1f.3 on
chip drivers/intel/soundwire
device generic 0 on
chip drivers/soundwire/alc711
# SoundWire Link 0 ID 1
register "desc" = ""Headset Codec""
device generic 0.1 on end
end
end
end
end # Intel Audio SNDW

View File

@ -37,8 +37,7 @@ static const struct soundwire_link link_xtal_24 = {
static struct intel_soundwire_controller intel_controller = {
.acpi_address = 0x40000000,
.sdw = {
/* TODO: Verified Audio in nocodec mode, add codec support */
.master_list_count = 0
.master_list_count = 1
}
};