diff options
author | Jett Rink <jettrink@chromium.org> | 2019-01-09 08:00:32 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2019-01-10 13:58:43 -0800 |
commit | 62adbc1bd61124f04405b9ee94b7172171546239 (patch) | |
tree | 29216a9f46e55802d7214942ae0882460b6ba0ac /baseboard/octopus/baseboard.h | |
parent | 1f1e33a579ba26e4edd258bd93c5366bd8bc52eb (diff) | |
download | chrome-ec-62adbc1bd61124f04405b9ee94b7172171546239.tar.gz |
octopus: convert boards to use hardware int
Recent kernel changes expect the EC to use a dedicated interrupt pin
from the EC to the AP to notify the AP of pending sensor data (instead
of using an eSPI "interrupt").
The octopus boards have this hardware support, we just need to enable
the EC use it.
BRANCH=octopus
BUG=b:122552125,b:120679547
TEST=perform sensor tests on various octopus boards
Change-Id: I2bd3ffe14947d5f1ec71acbb53fcac962b007cf9
Signed-off-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1403103
Reviewed-by: Enrico Granata <egranata@chromium.org>
Diffstat (limited to 'baseboard/octopus/baseboard.h')
-rw-r--r-- | baseboard/octopus/baseboard.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/baseboard/octopus/baseboard.h b/baseboard/octopus/baseboard.h index 1b91245da0..94c0197ec6 100644 --- a/baseboard/octopus/baseboard.h +++ b/baseboard/octopus/baseboard.h @@ -279,6 +279,13 @@ /* Depends on how fast the AP boots and typical ODRs */ #define CONFIG_ACCEL_FIFO_THRES (CONFIG_ACCEL_FIFO / 3) +/* + * Sensor stack in EC/Kernel depends on a hardware interrupt pin from EC->AP, so + * do not define CONFIG_MKBP_USE_HOST_EVENT since all octopus boards use + * hardware pin to send interrupt from EC -> AP (except bip). + */ +#define CONFIG_MKBP_EVENT + #ifndef __ASSEMBLER__ #include "gpio_signal.h" |