Thread (8 messages) 8 messages, 3 authors, 2009-02-19

Re: Regarding irq_of_parse_and_map

From: Scott Wood <hidden>
Date: 2009-02-16 18:09:04

On Mon, Feb 16, 2009 at 05:25:23PM +0530, Vijay Nikam wrote:
2. Also I would like to ask how I can determine the virtual irq using
irq_of_parse_and_map (struct device_node *dev, int index)  ? ? ?

here I am not getting what I should pass *dev and index ? ? ? as in my
mpc8313erdb.dts I could not find any node name 'gpio' so I do not know
what I can use ...
You'd need to add a gpio node to the device tree.  If you do this, be
sure to follow existing bindings.
Kindly please acknowledge ... thank you ...

Following is the content of mpc8313erdb.dts
That device tree looks very old, as if it came from a BSP rather than
upstream Linux.

-Scott
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help