summaryrefslogtreecommitdiff
path: root/src/ec/google/chromeec
diff options
context:
space:
mode:
authorBrandon Breitenstein <brandon.breitenstein@intel.com>2020-04-01 13:30:37 -0700
committerDuncan Laurie <dlaurie@chromium.org>2020-04-13 23:39:29 +0000
commitbc885c194c0175b7a3ac9442cf9c82a0fa28ac2a (patch)
tree86dbedcd40225fcea986f533659583d87cf88ef0 /src/ec/google/chromeec
parent56a3ef2e7419150e468198ac6c6ae2ebdd9e0afd (diff)
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 <brandon.breitenstein@intel.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40024 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Prashant Malani <pmalani@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/ec/google/chromeec')
-rw-r--r--src/ec/google/chromeec/acpi/ec.asl9
1 files changed, 9 insertions, 0 deletions
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)
{