Subrata Banik has submitted this change. ( https://review.coreboot.org/c/coreboot/+/77755?usp=email )
(
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: mb/google/rex/var/screebo: Enable BT audio offload config ......................................................................
mb/google/rex/var/screebo: Enable BT audio offload config
Enable BT audio offload of ALC1019_ALC5682I_I2S based on fw_config.
BUG=b:299510759 TEST=Build and boot to Screebo. Verify the config from serial logs.
w/o this CL - ``` [SPEW ] ------------------ CNVi Config ------------------ [SPEW ] CNVi Mode = 1 [SPEW ] Wi-Fi Core = 1 [SPEW ] BT Core = 1 [SPEW ] BT Audio Offload = 0 [SPEW ] BT Interface = 1 ```
w/ this CL - ``` [SPEW ] ------------------ CNVi Config ------------------ [SPEW ] CNVi Mode = 1 [SPEW ] Wi-Fi Core = 1 [SPEW ] BT Core = 1 [SPEW ] BT Audio Offload = 1 [SPEW ] BT Interface = 1 ```
Signed-off-by: Kapil Porwal kapilporwal@google.com Change-Id: I6c713752f3f0bf58b5ebd78b904e773fdbf16e06 Reviewed-on: https://review.coreboot.org/c/coreboot/+/77755 Reviewed-by: Subrata Banik subratabanik@google.com Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Wentao Qin qinwentao@huaqin.corp-partner.google.com Reviewed-by: Paul Menzel paulepanter@mailbox.org --- M src/mainboard/google/rex/variants/screebo/variant.c 1 file changed, 3 insertions(+), 0 deletions(-)
Approvals: Wentao Qin: Looks good to me, but someone else must approve build bot (Jenkins): Verified Paul Menzel: Looks good to me, but someone else must approve Subrata Banik: Looks good to me, approved
diff --git a/src/mainboard/google/rex/variants/screebo/variant.c b/src/mainboard/google/rex/variants/screebo/variant.c index 4ea6598..1dd8b98 100644 --- a/src/mainboard/google/rex/variants/screebo/variant.c +++ b/src/mainboard/google/rex/variants/screebo/variant.c @@ -12,6 +12,9 @@
void variant_update_soc_chip_config(struct soc_intel_meteorlake_config *config) { + if (fw_config_probe(FW_CONFIG(AUDIO, ALC1019_ALC5682I_I2S))) + config->cnvi_bt_audio_offload = true; + /* SOC Aux orientation override: * This is a bitfield that corresponds to up to 4 TCSS ports. * Bits (0,1) allocated for TCSS Port1 configuration and Bits (2,3)for TCSS Port2.