commit | 06e4ba88b417b666e345e6af8aecb804de002fc5 | [log] [tgz] |
---|---|---|
author | Vincent Geneves <vgeneves@kalray.eu> | Sat May 20 10:20:01 2023 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Sun May 28 04:05:31 2023 -0400 |
tree | 09b19fc786afe943dac46ae4946313d9fef0ea52 | |
parent | 6612f1e4d5cf2c46a5b03b135f32853b34f59bb2 [diff] |
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: Vincent Geneves <vgeneves@kalray.eu>