Terry Chen has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/64019 )
Change subject: mb/google/brya/variants/crota: Enable Bluetooth offload support ......................................................................
mb/google/brya/variants/crota: Enable Bluetooth offload support
Enable CnviBtAudioOffload UPD
BUG=b:230418589 TEST=emerge-byra coreboot
Signed-off-by: Terry Chen terry_chen@wistron.corp-partner.google.com Change-Id: I7ac54156cc4a8d824ed1c549d66fc369698a352c --- M src/mainboard/google/brya/variants/crota/Makefile.inc M src/mainboard/google/brya/variants/crota/gpio.c A src/mainboard/google/brya/variants/crota/variant.c 3 files changed, 20 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/19/64019/1
diff --git a/src/mainboard/google/brya/variants/crota/Makefile.inc b/src/mainboard/google/brya/variants/crota/Makefile.inc index 7d1f886..25677bc 100644 --- a/src/mainboard/google/brya/variants/crota/Makefile.inc +++ b/src/mainboard/google/brya/variants/crota/Makefile.inc @@ -4,3 +4,5 @@ romstage-y += memory.c
ramstage-y += gpio.c + +ramstage-y += variant.c \ No newline at end of file diff --git a/src/mainboard/google/brya/variants/crota/gpio.c b/src/mainboard/google/brya/variants/crota/gpio.c index ee8ee19..4c2e940 100644 --- a/src/mainboard/google/brya/variants/crota/gpio.c +++ b/src/mainboard/google/brya/variants/crota/gpio.c @@ -99,6 +99,14 @@
/* GPD11: LANPHYC ==> NC */ PAD_NC(GPD11, NONE), + PAD_CFG_NF(GPP_VGPIO_30, NONE, DEEP, NF3), /* BT_I2S_BCLK */ + PAD_CFG_NF(GPP_VGPIO_31, NONE, DEEP, NF3), /* BT_I2S_SYNC */ + PAD_CFG_NF(GPP_VGPIO_32, NONE, DEEP, NF3), /* BT_I2S_SDO */ + PAD_CFG_NF(GPP_VGPIO_33, NONE, DEEP, NF3), /* BT_I2S_SDI */ + PAD_CFG_NF(GPP_VGPIO_34, NONE, DEEP, NF1), /* SSP2_SCLK */ + PAD_CFG_NF(GPP_VGPIO_35, NONE, DEEP, NF1), /* SSP2_SFRM */ + PAD_CFG_NF(GPP_VGPIO_36, NONE, DEEP, NF1), /* SSP_TXD */ + PAD_CFG_NF(GPP_VGPIO_37, NONE, DEEP, NF1), /* SSP_RXD */ };
/* Early pad configuration in bootblock */ diff --git a/src/mainboard/google/brya/variants/crota/variant.c b/src/mainboard/google/brya/variants/crota/variant.c new file mode 100644 index 0000000..b8d8390 --- /dev/null +++ b/src/mainboard/google/brya/variants/crota/variant.c @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0-only */ + +#include <sar.h> +#include <chip.h> +#include <baseboard/variants.h> + +void variant_update_soc_chip_config(struct soc_intel_alderlake_config *config) +{ + config->cnvi_bt_audio_offload = 1; +}