Skip to content
Verified Commit 1c12fbdf authored by Mathieu Dubois-Briand's avatar Mathieu Dubois-Briand Committed by Mark Brown
Browse files

regmap: irq: Add support for chips without separate IRQ status



Some GPIO chips allow to rise an IRQ on GPIO level changes but do not
provide an IRQ status for each separate line: only the current gpio
level can be retrieved.

Add support for these chips, emulating IRQ status by comparing GPIO
levels with the levels during the previous interrupt.

Signed-off-by: default avatarMathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Reviewed-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://patch.msgid.link/20250522-mdb-max7360-support-v9-5-74fc03517e41@bootlin.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent eb4e0298
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment