From d38baae038a72c08dd5ec73c0dcfaaa138bb77cb Mon Sep 17 00:00:00 2001 From: Subrata Banik Date: Fri, 16 Dec 2022 11:46:49 +0530 Subject: [PATCH] mb/google/rex: Revise config for the Proto 1 build 1. Rename DB_USB4 for KB8010 while adding ANX7452 as different DB_USB4 option. 2. Add audio component for Soundwire. 3. Rename MAX98357_ALC5682I_I2S to MAX98360_ALC5682I_I2S. Change-Id: I9f04c644b8a392feb2609f906bc9db945bf5fce2 Signed-off-by: Subrata Banik Reviewed-on: https://review.coreboot.org/c/coreboot/+/70867 Reviewed-by: Ivy Jian Reviewed-by: Eric Lai Reviewed-by: YH Lin Reviewed-by: Kapil Porwal Tested-by: build bot (Jenkins) --- .../google/rex/variants/rex0/overridetree.cb | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/mainboard/google/rex/variants/rex0/overridetree.cb b/src/mainboard/google/rex/variants/rex0/overridetree.cb index e7244cb69f..2a8c14c59f 100644 --- a/src/mainboard/google/rex/variants/rex0/overridetree.cb +++ b/src/mainboard/google/rex/variants/rex0/overridetree.cb @@ -1,7 +1,8 @@ fw_config field AUDIO 0 3 option AUDIO_UNKNOWN 0 - option MAX98357_ALC5682I_I2S 1 + option MAX98360_ALC5682I_I2S 1 + option MAX98363_CS42L42_SNDW 2 end field CELLULAR 4 5 option CELLULAR_ABSENT 0 @@ -23,7 +24,8 @@ fw_config field DB_USB 12 13 option USB_UNKNOWN 0 option USB3_PS8815 1 - option USB4 2 + option USB4_KB8010 2 + option USB4_ANX7452 3 end end @@ -267,7 +269,7 @@ chip soc/intel/meteorlake register "property_list[0].name" = ""realtek,jd-src"" register "property_list[0].integer" = "1" device i2c 1a on - probe AUDIO MAX98357_ALC5682I_I2S + probe AUDIO MAX98360_ALC5682I_I2S end end chip drivers/intel/mipi_camera @@ -544,12 +546,12 @@ chip soc/intel/meteorlake end device ref hda on chip drivers/generic/max98357a - register "hid" = ""MX98357A"" + register "hid" = ""MX98360A"" register "sdmode_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_HIGH(GPP_D04)" register "sdmode_delay" = "5" device generic 0 on - probe AUDIO MAX98357_ALC5682I_I2S + probe AUDIO MAX98360_ALC5682I_I2S end end end