summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTerry Chen <terry_chen@wistron.corp-partner.google.com>2022-05-03 11:34:08 +0800
committerFelix Held <felix-coreboot@felixheld.de>2022-05-06 13:37:32 +0000
commitc8a986d14ca3c8b33a073ea9b1042aa281175792 (patch)
tree6cfe097f3e1a0c958bc0d88dd2e9f197fd8b2b78
parentdd14a623b14032fccb7ea2c5b8e1a7f10f762a6f (diff)
mb/google/brya/variants/crota: Enable Bluetooth offload support
Enable CnviBtAudioOffload UPD from Intel Guideline BUG=b:230418589 TEST=emerge-byra coreboot and verified pass Signed-off-by: Terry Chen <terry_chen@wistron.corp-partner.google.com> Change-Id: I7ac54156cc4a8d824ed1c549d66fc369698a352c Reviewed-on: https://review.coreboot.org/c/coreboot/+/64019 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
-rw-r--r--src/mainboard/google/brya/variants/crota/gpio.c8
-rw-r--r--src/mainboard/google/brya/variants/crota/overridetree.cb1
2 files changed, 9 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/crota/gpio.c b/src/mainboard/google/brya/variants/crota/gpio.c
index 35803a0242..a7def69aaf 100644
--- a/src/mainboard/google/brya/variants/crota/gpio.c
+++ b/src/mainboard/google/brya/variants/crota/gpio.c
@@ -101,6 +101,14 @@ static const struct pad_config override_gpio_table[] = {
/* 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/overridetree.cb b/src/mainboard/google/brya/variants/crota/overridetree.cb
index 20820accae..a8b7113d99 100644
--- a/src/mainboard/google/brya/variants/crota/overridetree.cb
+++ b/src/mainboard/google/brya/variants/crota/overridetree.cb
@@ -20,6 +20,7 @@ end
chip soc/intel/alderlake
register "max_dram_speed_mts" = "4800"
+ register "cnvi_bt_audio_offload" = "1"
# Acoustic settings
register "acoustic_noise_mitigation" = "1"