This driver add support for the NMI controller for A20 and A31 SoC.
The NMI is mainly used for the PMU.
Details
Details
- Reviewers
andrew - Group Reviewers
ARM - Commits
- rS298721: Add support for the Non-maskable interrupt driver found in the Allwinner A20…
Apply patch and build kernel and test on hw.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 2923 Build 2951: arc lint + arc unit
Event Timeline
sys/arm/allwinner/aw_nmi.c | ||
---|---|---|
46 | I think you can include <dt-bindings/interrupt-controller/irq.h> here instead? |
sys/arm/allwinner/aw_nmi.c | ||
---|---|---|
303 | There's already an '#ifdef ARM_INTRNG' on line 48 |
Comment Actions
I'm sorry but I have changed PIC interface in r297539. It should be stable now and simpler. There are also more controllers rewritten for INTRNG in tree. The BEAGLEBONE aintc.c is a simplest one.
Comment Actions
No problem :)
I've updated the driver this morning, just need to find some time to test it.
Comment Actions
Make the driver optional with intrng
Remove some leftover of the convertion
Fix style(9)
Comment Actions
The commit should say something like:
Add a driver for the Non-maskable interrupt driver in the Allwinner A20 and A31 SoCs. This is normally used for the PMU.
sys/arm/allwinner/aw_nmi.c | ||
---|---|---|
157–178 | It fells like we could pull this out to a common function (in a future change). |