Skip to content
Commit 06e4ba88 authored by Vincent Geneves's avatar Vincent Geneves Committed by Anas Nashif
Browse files

drivers: gpio: pca95xx: add latch for interrupt pins



Basically, once a pin is configured for interrupt, we enable the latch
on it, in order not to miss short pulses.
The bottom half of the interrupt then reads the input port twice, to
read the latch and then read the potentially new state of the pins, to
compute the posedge, negedge, and level callbacks accordingly.

Signed-off-by: default avatarVincent Geneves <vgeneves@kalray.eu>
parent 6612f1e4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment