From 5c85793d260c812ec041fa833de00f61d1f62748 Mon Sep 17 00:00:00 2001 From: Mac Chiang Date: Wed, 17 Sep 2025 13:30:21 +0800 Subject: [PATCH] mb/google/fatcat/var/lapis: Add cs42l43 and cs35l56 Soundwire links Enable the CS42L43 codec on SoundWire link 3 and the CS35L56 amplifiers on SoundWire link 2. Scope (\_SB.PCI0.HDAS.SNDW) { Device (SW30) { Name (_ADR, 0x00033001FA424301) // _ADR: Address Name (_DDN, "Headset Codec") // _DDN: DOS Device Name Name (_SUB, "1337") // _SUB: Subsystem ID ... { Device (SW20) { Name (_ADR, 0x00023001FA355601) // _ADR: Address Name (_DDN, "Left Speaker Amp") // _DDN: DOS Device Name Name (_SUB, "12345678") // _SUB: Subsystem ID ... Device (SW21) { Name (_ADR, 0x00023101FA355601) // _ADR: Address Name (_DDN, "Right Speaker Amp") // _DDN: DOS Device Name Name (_SUB, "12345678") // _SUB: Subsystem ID ... BUG=b:444122406, b:444302600 TES=emerge-lapis coreboot Change-Id: Ic73d705655bdc0a4a8140feafa28aceb2fc25ad3 Signed-off-by: Mac Chiang Reviewed-on: https://review.coreboot.org/c/coreboot/+/89345 Reviewed-by: Kapil Porwal Reviewed-by: Matt DeVillier Reviewed-by: Subrata Banik Tested-by: build bot (Jenkins) --- .../fatcat/variants/lapis/overridetree.cb | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/src/mainboard/google/fatcat/variants/lapis/overridetree.cb b/src/mainboard/google/fatcat/variants/lapis/overridetree.cb index 39da99b14c..8c98633a79 100644 --- a/src/mainboard/google/fatcat/variants/lapis/overridetree.cb +++ b/src/mainboard/google/fatcat/variants/lapis/overridetree.cb @@ -443,6 +443,32 @@ chip soc/intel/pantherlake end end #Touchpenal + device ref hda on + chip drivers/intel/soundwire + device generic 0 on + chip drivers/soundwire/cs42l43 + # SoundWire Link 3 ID 0 + register "desc" = ""Headset Codec"" + register "sub" = ""1337"" + device generic 3.0 on end + end + chip drivers/soundwire/cs35l56 + # SoundWire Link 2 ID 0 + register "desc" = ""Left Speaker Amp"" + register "part_id" = "MIPI_DEV_ID_CIRRUS_CS35L56" + register "sub" = ""12345678"" + device generic 2.0 on end + end + chip drivers/soundwire/cs35l56 + # SoundWire Link 2 ID 1 + register "desc" = ""Right Speaker Amp"" + register "part_id" = "MIPI_DEV_ID_CIRRUS_CS35L56" + register "sub" = ""12345678"" + device generic 2.1 on end + end + end + end + end # SNDW device ref i2c0 on end device ref i2c3 on chip drivers/i2c/tpm