Thread (11 messages) 11 messages, 5 authors, 2008-09-03

Re: GPIO interrupt on AMCC 460EX

flat view

From: Stefan Roese <sr@denx.de>
Date: 2008-08-28 15:25:28

Felix,

On Thursday 28 August 2008, Felix Radensky wrote:
I'm writing a Linux driver for CPLD access on custom
460EX based board. CPLD generates interrupt, which
is connected to GPIO pin 45. According to 460EX user
manual, this pin, if configured as alternate function 3,
will generate external interrupt 12, which is mapped into
irq 20 on UIC3.  My question is - how do I get irq number
suitable for passing to request_irq().
arch/powerpc now used virtual interrupts. You need to include this hardware 
interrupt number into your device-tree (create a new node for your CPLD) and 
extract the virtual irq number from there by calling irq_of_parse_and_map().

Best regards,
Stefan
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help