On 29 June 2011 01:08, Grant Likely <[email protected]> wrote:
[...]

> > >
> > > Any specific reason for missing entries in device node structures?
> > >
> > > Since you explored other ARM boards, is this interrupts field used and
> > > tested?
>
> What tree do you have your work based on top of?


git://git.secretlab.ca/git/linux-2.6.git
branch: devicetree/test

Do you have the irq_domain patch applied?

If so, then the problem is most likely that an
> irq_domain has not been registered for the OMAP interrupt controller
> (which is not surprising since the gic has not been converted to use
> irq_domain yet).  There are patches that have been posted to the list
> to do so, but they are not finished yet.

ok.


> In the mean time you can use
> irq_domain_generate_simple() to create an irq_domain registration for
> the OMAP that will get you past this step.
>
> Search the devicetree/test branch for irq_domain_generate_simple() to
> see how to use it.
>
> I realized this hence used

node = of_find_matching_node_by_address(NULL, omap_dt_gic_match,
                                                OMAP44XX_GIC_DIST_BASE);
        if (node)
                irq_domain_add_simple(node, 0);

which resolved the irq issue.

Thanks for the info.

-Manjunath
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to