www.8devices.com
View unanswered posts | View active topics It is currently 29 Apr 2024, 14:45



Reply to topic  [ 2 posts ] 
 How to add support of GPIO based IRQs in openwrt for AR9331 
Author Message

Joined: 19 Sep 2014, 09:34
Posts: 2
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?


10 Oct 2014, 12:16
Profile

Joined: 11 Jun 2014, 14:45
Posts: 135
Isn't this related to viewtopic.php?f=13&t=620 ?


10 Oct 2014, 15:03
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.