8devices Community
https://www.8devices.com/community/

How to add support of GPIO based IRQs in openwrt for AR9331
https://www.8devices.com/community/viewtopic.php?f=13&t=823
Page 1 of 1

Author:  ritesh_prajapati [ 10 Oct 2014, 12:16 ]
Post subject:  How to add support of GPIO based IRQs in openwrt for AR9331

I want to add support of GPIO based interrupt functionality and want to use GPIO based IRQ for my application in AR9331 board.

I have looked into irq.h file of mach-ath79 for GPIO irq base but could not found base address of GPIO based IRQ.

There are total 51 IRQ numbers are defined but non of them are used for GPIOs and i want to use IRQs for GPIOs.

I have also looked into gpio.c file of arch/mips/ath79 folder but there is no any implementation for gpio_toirq() function.


I have also looked into dahasheet of AR9331 board and found that GPIO based IRQ enable/disable, Level set etc registers are supported for AR9331 board but not found GPIO base IRQ number in any files of ath79 AR9331 board.

Does any one has idea about how to define GPIO IRQ base for AR9331?

Author:  Giedrius [ 10 Oct 2014, 15:03 ]
Post subject:  Re: How to add support of GPIO based IRQs in openwrt for AR9

Isn't this related to viewtopic.php?f=13&t=620 ?

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/