mb/google/fatcat/var/kinmen: Add support ALC1320 Smart Amp
Enable Realtek ALC1320 as speaker Amplifier. Use ALC721 as codec and ALC1320 as Amplifier on SoundWire Link 3. BUG=b:435094908 TEST=emerge-fatcat coreboot 1. Set fw_config AUDIO bits to AUDIO_ALC1320_ALC721_SNDW 2. Check the SSDT.dsl: PCI0.HDAS.SNDW including 0x000331025D072101 & 0x000332025D132001 Change-Id: I82c0fb014c4b5ee5eec378acf0843893dd7aa2ac Signed-off-by: Ivy Jian <ivy.jian@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89036 Reviewed-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-by: Subrata Banik <subratabanik@google.com> Reviewed-by: Kapil Porwal <kapilporwal@google.com> Reviewed-by: Paul Menzel <paulepanter@mailbox.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
4ba1b615db
commit
092fca3210
2 changed files with 16 additions and 2 deletions
|
|
@ -76,6 +76,7 @@ config BOARD_GOOGLE_MODEL_FELINO
|
|||
config BOARD_GOOGLE_MODEL_KINMEN
|
||||
def_bool n
|
||||
select BOARD_GOOGLE_BASEBOARD_FATCAT
|
||||
select DRIVERS_SOUNDWIRE_ALC1320
|
||||
select FSP_UGOP_EARLY_SIGN_OF_LIFE
|
||||
select HAVE_SLP_S0_GATE
|
||||
select MAINBOARD_HAS_GOOGLE_STRAUSS_KEYBOARD
|
||||
|
|
|
|||
|
|
@ -3,8 +3,9 @@ fw_config
|
|||
option WIFI_CNVI_7 0
|
||||
end
|
||||
field AUDIO 3 5
|
||||
option AUDIO_UNKNOWN 0
|
||||
option AUDIO_ALC721_SNDW 1
|
||||
option AUDIO_UNKNOWN 0
|
||||
option AUDIO_ALC721_SNDW 1
|
||||
option AUDIO_ALC1320_ALC721_SNDW 2
|
||||
end
|
||||
field FPMCU 6 7
|
||||
option FP_ABSENT 0
|
||||
|
|
@ -374,6 +375,7 @@ chip soc/intel/pantherlake
|
|||
device ref smbus on end
|
||||
device ref hda on
|
||||
probe AUDIO AUDIO_ALC721_SNDW
|
||||
probe AUDIO AUDIO_ALC1320_ALC721_SNDW
|
||||
chip drivers/intel/soundwire
|
||||
device generic 0 on
|
||||
chip drivers/soundwire/alc711
|
||||
|
|
@ -384,8 +386,19 @@ chip soc/intel/pantherlake
|
|||
# SoundWire Link 3 ID 1
|
||||
device generic 3.1 on
|
||||
probe AUDIO AUDIO_ALC721_SNDW
|
||||
probe AUDIO AUDIO_ALC1320_ALC721_SNDW
|
||||
end
|
||||
end
|
||||
chip drivers/soundwire/alc1320
|
||||
register "desc" = ""Speaker Amp""
|
||||
register "alc1320_address.version" = "SOUNDWIRE_VERSION_1_2"
|
||||
register "alc1320_address.class" = "MIPI_CLASS_SDCA"
|
||||
register "alc1320_address.part_id" = "MIPI_DEV_ID_REALTEK_ALC1320"
|
||||
# SoundWire Link 3 ID 2
|
||||
device generic 3.2 on
|
||||
probe AUDIO AUDIO_ALC1320_ALC721_SNDW
|
||||
end # ALC1320 Smart Amp
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue