diff options
author | Aamir Bohra <aamir.bohra@intel.com> | 2019-02-01 18:15:17 +0530 |
---|---|---|
committer | Subrata Banik <subrata.banik@intel.com> | 2019-02-05 05:35:38 +0000 |
commit | fc63b8bbc0d2f16bc2693c23c50db531382b6ade (patch) | |
tree | feb6a1066b77627bb09cef967fa571982d1fd0cc /src/mainboard | |
parent | f56249ba0b1cf4bf83d93f3d717d3eb8a0624ff2 (diff) |
mb/google/hatch: Add USB port capability ACPI support for USB2 port10
This implementation adds support to create ACPI package for USB port
capability (_UPC) and physical location of device (_PLD) for USB2 port 10.
BUG:b:123375275
TEST:Verify _UPC and _PLD ACPI packages gets published for USB2 Port 10
in SSDT and BT is functional in discrete and integrated mode.
Change-Id: Ifeab24505a700e8e4677be20074c7d0400769cec
Signed-off-by: Aamir Bohra <aamir.bohra@intel.com>
Reviewed-on: https://review.coreboot.org/c/31197
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard')
-rw-r--r-- | src/mainboard/google/hatch/Kconfig | 1 | ||||
-rw-r--r-- | src/mainboard/google/hatch/variants/baseboard/devicetree.cb | 7 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/mainboard/google/hatch/Kconfig b/src/mainboard/google/hatch/Kconfig index 6a37325e15..01f8e09361 100644 --- a/src/mainboard/google/hatch/Kconfig +++ b/src/mainboard/google/hatch/Kconfig @@ -5,6 +5,7 @@ config BOARD_GOOGLE_BASEBOARD_HATCH select DRIVERS_I2C_GENERIC select DRIVERS_I2C_HID select DRIVERS_SPI_ACPI + select DRIVERS_USB_ACPI select EC_GOOGLE_CHROMEEC select EC_GOOGLE_CHROMEEC_LPC select HAVE_ACPI_RESUME diff --git a/src/mainboard/google/hatch/variants/baseboard/devicetree.cb b/src/mainboard/google/hatch/variants/baseboard/devicetree.cb index 2bc4f785a8..511c2d681f 100644 --- a/src/mainboard/google/hatch/variants/baseboard/devicetree.cb +++ b/src/mainboard/google/hatch/variants/baseboard/devicetree.cb @@ -134,7 +134,7 @@ chip soc/intel/cannonlake device usb 2.3 on end end chip drivers/usb/acpi - register "desc" = ""Bluetooth"" + register "desc" = ""Discrete bluetooth"" register "type" = "UPC_TYPE_INTERNAL" device usb 2.4 on end end @@ -149,6 +149,11 @@ chip soc/intel/cannonlake device usb 2.6 on end end chip drivers/usb/acpi + register "desc" = ""Integrated CnVi bluetooth"" + register "type" = "UPC_TYPE_INTERNAL" + device usb 2.9 on end + end + chip drivers/usb/acpi register "desc" = ""Left Type-C Port"" register "type" = "UPC_TYPE_C_USB2_SS_SWITCH" register "group" = "ACPI_PLD_GROUP(1, 1)" |