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

Fabio Estevam festevam at gmail.com
Tue Oct 19 11:13:06 EDT 2010


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.

Regards,

Fabio Estevam



More information about the linux-arm-kernel mailing list