Does gpio_to_irq() work for MPC52xx gpios?

Bill Gatliff bgat at
Thu Dec 24 17:52:26 EST 2009

Bill Gatliff wrote:
> Guys:
> Ok, I have gpio_to_irq() more-or-less showing signs of life for the
> MPC5200.  But I'm having some trouble using it the way I want to.

I think I've got the idea all of a sudden.

In order to describe the inputs to my rotary encoder using the syntax I
want, I have to implement something similar to of_get_gpio_flags(), right?


Bill Gatliff
bgat at

More information about the Linuxppc-dev mailing list