acpi_device: Add macro for GpioInt that uses both polarity
commit346cfe363ee79da6a59611b8b24f5ad01053ea01
authorDuncan Laurie <dlaurie@chromium.org>
Wed, 15 Mar 2017 18:14:57 +0000 (15 11:14 -0700)
committerDuncan Laurie <dlaurie@chromium.org>
Thu, 16 Mar 2017 15:24:46 +0000 (16 16:24 +0100)
tree9d195e376d240375cc732d931406b6236109d94e
parent9462e140653048856947b31612590a8b98222787
acpi_device: Add macro for GpioInt that uses both polarity

GPIO edge interrupts can report that they are ActiveBoth and will
generate an interrupt event on both rising and falling edges.

Add a macro so this type of GPIO interrupt can be used.

BUG=b:35581264
BRANCH=none
TEST=successfully use this interrupt type on Eve

Change-Id: I91408386538e442bddcacc9840e0aa14370a446c
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/18834
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
src/arch/x86/include/arch/acpi_device.h