diff options
author | Duncan Laurie <dlaurie@chromium.org> | 2017-03-15 11:25:31 -0700 |
---|---|---|
committer | Duncan Laurie <dlaurie@chromium.org> | 2017-03-16 16:25:00 +0100 |
commit | b94e93531f14a3788c3722d291ce061be271fd48 (patch) | |
tree | e046ae77db37b2bae1305507ad9e33c07409d7a7 /payloads/libpayload/libc/hexdump.c | |
parent | 346cfe363ee79da6a59611b8b24f5ad01053ea01 (diff) |
i2c/generic: Add support for GPIO IRQ
Add support for using GPIO IRQ instead of PIRQ with an I2C device.
This allows a device to use an edge triggered interrupt that will
trigger on both high and low transitions.
The _DSD method for describing these GPIOs has a field for 'active
low' which is supposed to be 1 if the pin is active low, otherwise
is zero. The value in here doesn't mean too much for GpioInt() as
those will end up using the value from GpioInt() when it actually
requests the interrupt.
BUG=b:35581264
BRANCH=none
TEST=test on Eve board that codec IRQ can be delcared as GPIO IRQ
Change-Id: I02c64c7fc28dc2d608ad40db889c7242892f16db
Signed-off-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-on: https://review.coreboot.org/18835
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'payloads/libpayload/libc/hexdump.c')
0 files changed, 0 insertions, 0 deletions