From bc885c194c0175b7a3ac9442cf9c82a0fa28ac2a Mon Sep 17 00:00:00 2001 From: Brandon Breitenstein Date: Wed, 1 Apr 2020 13:30:37 -0700 Subject: google/chromeec: Add USB MUX Interrupt Kernel relies on the USB MUX interrupt to configure USB devices that are connected on the Type-C ports for TGL. Adding in the Q1C Interrupt so the Kernel can properly receive and configure USB devices BUG=b:152902608 TEST=buld_packages for volteer and verified that Proto 1 and Proto 2 are now seeing extcon events Change-Id: Ie3a2f829a295f090a03e72e12f19ecc5bb724952 Signed-off-by: Brandon Breitenstein Reviewed-on: https://review.coreboot.org/c/coreboot/+/40024 Tested-by: build bot (Jenkins) Reviewed-by: Prashant Malani Reviewed-by: Furquan Shaikh --- src/ec/google/chromeec/acpi/ec.asl | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/ec/google') diff --git a/src/ec/google/chromeec/acpi/ec.asl b/src/ec/google/chromeec/acpi/ec.asl index 1b8e128320..67e5f56d3c 100644 --- a/src/ec/google/chromeec/acpi/ec.asl +++ b/src/ec/google/chromeec/acpi/ec.asl @@ -355,6 +355,15 @@ Device (EC0) Notify (CREC, 0x80) } +#ifdef EC_ENABLE_PD_MCU_DEVICE + // USB MUX Interrupt + Method (_Q1C, 0, NotSerialized) + { + Store ("EC: USB MUX", Debug) + Notify (\_SB.PCI0.LPCB.EC0.CREC.ECPD, 0x80) + } +#endif + // TABLET mode switch Event Method (_Q1D, 0, NotSerialized) { -- cgit v1.2.3