Wentao Qin has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/75609?usp=email )
Change subject: mb/google/rex/var/screebo: Enable Cnvi BT Audio Offload feature ......................................................................
mb/google/rex/var/screebo: Enable Cnvi BT Audio Offload feature
This patch enables Cnvi BT Audio Offload feature and also configures the virtual GPIO for CNVi Bluetooth I2S pads.
BUG=b:278169268 TEST=Verified BT offload feature on Sceebo
Change-Id: Ic050ca2f4f76a06e1abf3222ce36b567ba89f3a3 Signed-off-by: Wentao Qin qinwentao@huaqin.corp-partner.google.com --- M src/mainboard/google/rex/variants/screebo/gpio.c M src/mainboard/google/rex/variants/screebo/overridetree.cb 2 files changed, 19 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/09/75609/1
diff --git a/src/mainboard/google/rex/variants/screebo/gpio.c b/src/mainboard/google/rex/variants/screebo/gpio.c index f31506c..c9cef06 100644 --- a/src/mainboard/google/rex/variants/screebo/gpio.c +++ b/src/mainboard/google/rex/variants/screebo/gpio.c @@ -364,6 +364,22 @@ PAD_NC(GPP_V22, NONE), /* GPP_V23 : [] ==> UCAM_RST_L */ PAD_CFG_GPO(GPP_V23, 0, DEEP), + /* GPP_V30 : [] ==> BT_I2S_BCLK */ + PAD_CFG_NF(GPP_VGPIO30, NONE, DEEP, NF2), + /* GPP_V31 : [] ==> BT_I2S_SYNC */ + PAD_CFG_NF(GPP_VGPIO31, NONE, DEEP, NF2), + /* GPP_V32 : [] ==> BT_I2S_SDO */ + PAD_CFG_NF(GPP_VGPIO32, NONE, DEEP, NF2), + /* GPP_V33 : [] ==> BT_I2S_SDI */ + PAD_CFG_NF(GPP_VGPIO33, NONE, DEEP, NF2), + /* GPP_V34 : [] ==> SSP2_SCLK */ + PAD_CFG_NF(GPP_VGPIO34, NONE, DEEP, NF1), + /* GPP_V35 : [] ==> SSP2_SFRM */ + PAD_CFG_NF(GPP_VGPIO35, NONE, DEEP, NF1), + /* GPP_V36 : [] ==> SSP_TXD */ + PAD_CFG_NF(GPP_VGPIO36, NONE, DEEP, NF1), + /* GPP_V37 : [] ==> SSP_RXD */ + PAD_CFG_NF(GPP_VGPIO37, NONE, DEEP, NF1), };
/* Early pad configuration in bootblock */ diff --git a/src/mainboard/google/rex/variants/screebo/overridetree.cb b/src/mainboard/google/rex/variants/screebo/overridetree.cb index aa99a6b..60eccc0 100644 --- a/src/mainboard/google/rex/variants/screebo/overridetree.cb +++ b/src/mainboard/google/rex/variants/screebo/overridetree.cb @@ -62,6 +62,9 @@ # Temporary setting TCC of 90C = Tj max - Tcc register "tcc_offset" = "20"
+ # Enable the Cnvi BT Audio Offload + register "cnvi_bt_audio_offload" = "1" + # Intel Common SoC Config #+-------------------+---------------------------+ #| Field | Value |