microwatt
microwatt copied to clipboard
Interrupts for GPIO
This adds interrupts for GPIO lines. I've kept the register interface as bit-per-line split across 3 "trigger type" registers (rising/falling/level etc), though the other option would be to have perhaps one register per line taking a type value. Any suggested changes welcome - it probably needs a bit of tidying before merging.
This pull request also hooks up the GPIOs on the arty board for testing purposes.
I have a Linux driver in https://github.com/CodeConstruct/linux/commit/46348b505100d52eb197eb66750e6a72ceb1f20b based on @shenki 's https://github.com/shenki/linux/tree/microwatt-v5.16