diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-11-20 14:01:26 -0600 |
---|---|---|
committer | chrome-internal-fetch <chrome-internal-fetch@google.com> | 2013-11-21 04:31:08 +0000 |
commit | 8db204073ac55ee1f5ba6a450983dbad0c9d0a36 (patch) | |
tree | 70fc271fc1ff3156518ad9b32265e8636a3ce279 /include | |
parent | 14c7191b53607e46187cea6e95ebf869f3b85e2a (diff) | |
download | chrome-ec-8db204073ac55ee1f5ba6a450983dbad0c9d0a36.tar.gz |
lm4: add option for using gpio as kebyoard interrupt
On certain boards it's no feasible to use the SERIRQ
method for generating the kebyboard interrupt. To that
end provide CONFIG_KEYBOARD_IRQ_GPIO option which
specifies the negative edge-triggered gpio for the
keyaboard interrupt.
BUG=chrome-os-partner:23965
BRANCH=None
TEST=Built and booted rambi using this option. Keyboard
works in kernel with interrupts for i8042 device.
Change-Id: I64f7e9530841c184d2a33821126ec446c96bb0f0
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/177188
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Tested-by: Bernie Thompson <bhthompson@chromium.org>
Reviewed-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 3167e00d8c..0893f604c4 100644 --- a/include/config.h +++ b/include/config.h @@ -442,6 +442,9 @@ /* Enable extra debugging output from keyboard modules */ #undef CONFIG_KEYBOARD_DEBUG +/* The board uses a negative edge-triggered GPIO for keyboard interrupts. */ +#undef CONFIG_KEYBOARD_IRQ_GPIO + /* Compile code for 8042 keyboard protocol */ #undef CONFIG_KEYBOARD_PROTOCOL_8042 |