summaryrefslogtreecommitdiff
path: root/src/mainboard/google/brya
diff options
context:
space:
mode:
authorMac Chiang <mac.chiang@intel.com>2023-06-29 04:37:08 -0400
committerEric Lai <eric_lai@quanta.corp-partner.google.com>2023-07-10 06:28:41 +0000
commit538bcf54c630088c84114001d100605b0d31a76b (patch)
treea9ee8033d3b0cf2605666618f9cc32e5c5604b8c /src/mainboard/google/brya
parent6739a6a89f5b7526bddc63b16ffc519c39d788dd (diff)
mb/google/brya: put Bluetooth VPGIOs overridable
The BT VGPIOs pad config in variant of gpio.c won't be overwritten on board eventually because no matched gpios existed here. Put BT VGPIOs in gpio_table, ensure that these were able to be overwritten. The fix included crota and omnigul BT offload work successfully. BUG=b:264834572 TEST=test Bluetooth offload playback/capture in SCO profile. Change-Id: I62cecf26abd0411f7cbb0a56b8b8f0a25d370c69 Signed-off-by: Mac Chiang <mac.chiang@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/76247 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Derek Huang <derekhuang@google.com>
Diffstat (limited to 'src/mainboard/google/brya')
-rw-r--r--src/mainboard/google/brya/variants/baseboard/brya/gpio.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/mainboard/google/brya/variants/baseboard/brya/gpio.c b/src/mainboard/google/brya/variants/baseboard/brya/gpio.c
index f3ab850df6..a4892d4d3a 100644
--- a/src/mainboard/google/brya/variants/baseboard/brya/gpio.c
+++ b/src/mainboard/google/brya/variants/baseboard/brya/gpio.c
@@ -380,6 +380,27 @@ static const struct pad_config gpio_table[] = {
PAD_NC(GPP_VGPIO_19, NONE),
PAD_NC(GPP_VGPIO_20, NONE),
PAD_NC(GPP_VGPIO_21, NONE),
+
+ /* Put option BT_I2S and SoC SSP2 pins in NC mode, ensure that
+ * all the relevant VGPIOs were able to be overritten via
+ * override_gpio_table of each variant of gpio.c
+ */
+ /* BT_I2S_BCLK */
+ PAD_NC(GPP_VGPIO_30, NONE),
+ /* BT_I2S_SYNC */
+ PAD_NC(GPP_VGPIO_31, NONE),
+ /* BT_I2S_SDO */
+ PAD_NC(GPP_VGPIO_32, NONE),
+ /* BT_I2S_SDI */
+ PAD_NC(GPP_VGPIO_33, NONE),
+ /* SSP2_SCLK */
+ PAD_NC(GPP_VGPIO_34, NONE),
+ /* SSP2_SFRM */
+ PAD_NC(GPP_VGPIO_35, NONE),
+ /* SSP2_TXD */
+ PAD_NC(GPP_VGPIO_36, NONE),
+ /* SSP2_RXD */
+ PAD_NC(GPP_VGPIO_37, NONE),
};
/* Early pad configuration in bootblock */