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>
This commit is contained in:
Brandon Breitenstein 2020-04-01 13:30:37 -07:00 committed by Duncan Laurie
parent 56a3ef2e74
commit bc885c194c
1 changed files with 9 additions and 0 deletions

View File

@ -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)
{