[PATCH 1/1] Mx35pdk: enable debug board support

xiao jiang jgq516 at gmail.com
Tue Oct 19 11:59:27 EDT 2010


2010/10/19 Fabio Estevam <festevam at gmail.com>

> Xiao,
> ...
>
> > I tried to use  MX35_PAD_GPIO1_1__GPIO1_1, but there isn't function to
> > transform to irq num, so I added
> > the pin definition in iomux-mx3.h. Is there any function can transform
> the
> > PAD to irq num?
>
> You can do the following:
>
> #define EXPIO_PARENT_INT       IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)
>
> and also add MX35_PAD_GPIO1_1__GPIO1_1 into the mx35pdk_pads struct.
>
> I don't think so, since **_PIN_** is expected for IOMUX_TO_IRQ, not
**_PAD_**, and I think kernel can't pass compile with
"IOMUX_TO_IRQ(MX35_PAD_GPIO1_1__GPIO1_1)"

Thanks,
Xiao Jiang

> Regards,
>
> Fabio Estevam
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20101019/f8e89f05/attachment-0001.html>


More information about the linux-arm-kernel mailing list