mb/google/fatcat/var/moonstone: Add to support ALC1320 Smart Amp
Enable Realtek ALC1320 as speaker Amplifier. Use ALC721 as codec and ALC1320 as Amplifier on SoundWire Link 3. BUG=b:442964982 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: I4c6b5c3f2d9acb7eaf8f77844526bc9de3ae1f99 Signed-off-by: Ren Kuo <ren.kuo@quanta.corp-partner.google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/89177 Reviewed-by: Subrata Banik <subratabanik@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
1da045f6a5
commit
d3d2f0f1c8
1 changed files with 15 additions and 2 deletions
|
|
@ -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