Shaunak Saha has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/46825 )
Change subject: mb/google/volteer: Reset the M.2 bluetooth module on system reset ......................................................................
mb/google/volteer: Reset the M.2 bluetooth module on system reset
This patch helps to reset bluetooth by toggling BT_DISABLE_L by reseting the GPIO pin A13.
BUG=b:171085081 TEST=Build and boot a delbin device. Test that the BT is getting reset by toggling the gpio pin A13 through iotools in kernel console.
Signed-off-by: Shaunak Saha shaunak.saha@intel.com Change-Id: Ieeb53d339cd2ee0be3b5c9d5cc517b4c7c9aa0b8 --- M src/mainboard/google/volteer/Kconfig M src/mainboard/google/volteer/variants/baseboard/devicetree.cb 2 files changed, 12 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/25/46825/1
diff --git a/src/mainboard/google/volteer/Kconfig b/src/mainboard/google/volteer/Kconfig index 69f58b5..2183322 100644 --- a/src/mainboard/google/volteer/Kconfig +++ b/src/mainboard/google/volteer/Kconfig @@ -22,6 +22,7 @@ select FW_CONFIG_SOURCE_CHROMEEC_CBI select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES + select DRIVERS_USB_ACPI select INTEL_LPSS_UART_FOR_CONSOLE select MAINBOARD_HAS_CHROMEOS select MAINBOARD_HAS_SPI_TPM_CR50 diff --git a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb index 2a62505..37000c1 100644 --- a/src/mainboard/google/volteer/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/volteer/variants/baseboard/devicetree.cb @@ -431,7 +431,17 @@ device ref gna on end device ref north_xhci on end device ref cnvi_bt on end - device ref south_xhci on end + device ref south_xhci on + chip drivers/usb/acpi + device usb 0.0 on + chip drivers/usb/acpi + register "desc" = ""Integrated CnVi bluetooth"" + register "reset_gpio" = "ACPI_GPIO_OUTPUT_ACTIVE_LOW(GPP_A13)" + device usb 2.9 on end + end + end + end + end device ref shared_ram on end chip drivers/wifi/generic register "wake" = "GPE0_PME_B0"