Matt DeVillier has submitted this change. ( https://review.coreboot.org/c/coreboot/+/86929?usp=email )
Change subject: mb/google/brya/variants/trulo: Enable BT audio offload ......................................................................
mb/google/brya/variants/trulo: Enable BT audio offload
vGPIO configs are configured to enable SSP2 for BT audio offload.
BUG=b:404741604 Test=Verified BT offload with HDA configuration
Change-Id: Ibce828e32f4640cb234591392bb6ebf0662105fc Signed-off-by: Monika A monika.a@intel.com Reviewed-on: https://review.coreboot.org/c/coreboot/+/86929 Tested-by: build bot (Jenkins) no-reply@coreboot.org Reviewed-by: Eric Lai ericllai@google.com --- M src/mainboard/google/brya/variants/trulo/gpio.c M src/mainboard/google/brya/variants/trulo/overridetree.cb 2 files changed, 21 insertions(+), 0 deletions(-)
Approvals: build bot (Jenkins): Verified Eric Lai: Looks good to me, approved
diff --git a/src/mainboard/google/brya/variants/trulo/gpio.c b/src/mainboard/google/brya/variants/trulo/gpio.c index fb805d6..c9852f5 100644 --- a/src/mainboard/google/brya/variants/trulo/gpio.c +++ b/src/mainboard/google/brya/variants/trulo/gpio.c @@ -410,6 +410,24 @@ PAD_NC(GPP_VGPIO_20, NONE), /* vUART0_RTS_B */ PAD_NC(GPP_VGPIO_21, NONE), + + /* Configure the virtual CNVi Bluetooth I2S GPIO Pads.*/ + /* BT_I2S_BCLK */ + PAD_CFG_NF(GPP_VGPIO_30, NONE, DEEP, NF3), + /* BT_I2S_SYNC */ + PAD_CFG_NF(GPP_VGPIO_31, NONE, DEEP, NF3), + /* BT_I2S_SDO */ + PAD_CFG_NF(GPP_VGPIO_32, NONE, DEEP, NF3), + /* BT_I2S_SDI */ + PAD_CFG_NF(GPP_VGPIO_33, NONE, DEEP, NF3), + /* SSP2_SCLK */ + PAD_CFG_NF(GPP_VGPIO_34, NONE, DEEP, NF1), + /* SSP2_SFRM */ + PAD_CFG_NF(GPP_VGPIO_35, NONE, DEEP, NF1), + /* SSP_TXD */ + PAD_CFG_NF(GPP_VGPIO_36, NONE, DEEP, NF1), + /* SSP_RXD */ + PAD_CFG_NF(GPP_VGPIO_37, NONE, DEEP, NF1), };
/* Early pad configuration in bootblock */ diff --git a/src/mainboard/google/brya/variants/trulo/overridetree.cb b/src/mainboard/google/brya/variants/trulo/overridetree.cb index 4c21173..3f0801e 100644 --- a/src/mainboard/google/brya/variants/trulo/overridetree.cb +++ b/src/mainboard/google/brya/variants/trulo/overridetree.cb @@ -116,6 +116,9 @@ .vnn_icc_max_ma = 500, }"
+ # Enable CNVi BT Audio offload + register "cnvi_bt_audio_offload" = "1" + register "serial_io_i2c_mode" = "{ [PchSerialIoIndexI2C0] = PchSerialIoPci, [PchSerialIoIndexI2C1] = PchSerialIoPci,