platform/chrome: Add a new interrupt path for cros_ec_lpc
authorEnrico Granata <egranata@chromium.org>
Tue, 9 Oct 2018 17:56:46 +0000 (10:56 -0700)
committerBenson Leung <bleung@chromium.org>
Wed, 10 Oct 2018 04:44:44 +0000 (21:44 -0700)
commitda1cf5a1cf124fc0a0b50c4ec78d5e97ee68bae2
treedb6bdfa1b38fb5e9a4cb515050fd07a115d5534e
parent2c42dd6e0e3b0f5949924c8251a9d34ab373d2e0
platform/chrome: Add a new interrupt path for cros_ec_lpc

This commit allows cros_ec_lpc to register a direct IRQ instead of relying
on the ACPI notification chain to receive MKBP events.

This change is done in the interest of allowing reduced jitter in the
communication path between the CrOS EC and the host for receiving sensor
data.

Signed-off-by: Enrico Granata <egranata@chromium.org>
Signed-off-by: Benson Leung <bleung@chromium.org>
drivers/platform/chrome/cros_ec_lpc.c