commit | 6e13e703ed11e78d111f660331b6eda42f224c00 | [log] [tgz] |
---|---|---|
author | Enrico Granata <[email protected]> | Wed Feb 06 02:16:49 2019 |
committer | ChromeOS Commit Bot <[email protected]> | Wed Feb 13 21:39:25 2019 |
tree | a92bb2104f87a54c1e7d0dbe8bd2521c442450d3 | |
parent | 71f796ab3758ac44f60257bc160fccc8a2340079 [diff] |
HACK: CHROMIUM: cros_ec: Support MKBP sync IRQ defined via ACPI GpioInt{} On some ChromeOS devices, the EC -> AP sync IRQ is registered using a GpioInt{} ACPI command. This is done in order to allow routing via the AMD GPIO controller. Retrieving the IRQ number in this case requires a different code path that goes via ACPI and a GPIO-to-IRQ conversion instead of using the platform device to directly retrieve the IRQ number. We are working with upstream to get https://patchwork.kernel.org/patch/10801897/ merged, but until that reaches consensus, this local hack enables us to make forward progress. BUG=b:123750725 TEST=observe chromeos-ec interrupt in /proc/interrupts Change-Id: Ic88d28c4c921a5520759640a9fb0c203ec05e2c8 Signed-off-by: Enrico Granata <[email protected]> Reviewed-on: https://chromium-review.googlesource.com/1455372 Reviewed-by: Dmitry Torokhov <[email protected]> (cherry picked from commit 2c618b26abe06ff07cbb3f439132773f3943bc3e) Reviewed-on: https://chromium-review.googlesource.com/c/1471272