Regarding irq_of_parse_and_map
Scott Wood
scottwood at freescale.com
Thu Feb 19 03:57:24 EST 2009
On Wed, Feb 18, 2009 at 05:31:34PM +0530, Vijay Nikam wrote:
> > Don't specify this explicitly. Please base new development off of the
> > device tree that is in upstream Linux, not the very old tree in your BSP.
>
> May I know the reason why I should not specify it explicitly ? ? ?
Because dtc will generate phandles automatically when you reference the
node with the & operator.
> Also what would be the problem if I do in the same way as it is given
> in BSP mpc8313erdb.dts ? ? ?
Do you want your changes to ever make it into the upstream kernel?
> And should I use gpio-controller as a gpio device node ? ? ?
Yes, the node should label itself as a gpio controller.
-Scott
More information about the Linuxppc-dev
mailing list