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>
This commit is contained in:
Mac Chiang 2023-06-29 04:37:08 -04:00 committed by Eric Lai
parent 6739a6a89f
commit 538bcf54c6
1 changed files with 21 additions and 0 deletions

View File

@ -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 */