Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

GPIO pin interrupt IRQ's #7

Open
Zodiac-69 opened this Issue Oct 6, 2012 · 2 comments

Comments

Projects
None yet
2 participants

Every GPIO pin can generate an interrupt with number 40 + GPIO pin number.
But the init code set the max value to 48 - irq.h - "#define NR_IRQS 48"
Thus GPIO(1) to GPIO(8) only.

Please increase this to at least 54, this will give us IRQ's for all the GPIO's available to us.

Zodiac69

@8devices 8devices was assigned Oct 12, 2012

@ghost

ghost commented Oct 12, 2012

I will take a look at this once I am done with OpenWRT upstream merging (2 month schedule, #6)

I see that in "carambola-master\target\linux\ramips\files\arch\mips\include\asm\mach-ralink\rt305x\irq.h"
the number of IRQ's is still only 8 - #define NR_IRQS 48

No plan to increase this to the full 14 I/O's that are available to us?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment