Grant Likely wrote:
> Correct. IRQ2 can only be used as IRQ2. It cannot be used a GPIO.
> (Well, I suppose you *could* try to hack into the interrupt controller
> driver and fetch the pin state that way; but I don't know if you can
> read the state of masked out IRQ pins, and it sure would be ugl
On Mon, Dec 21, 2009 at 3:30 PM, Bill Gatliff wrote:
> gpio_get_value() on them. There isn't any existing code that I can find
> that allows you to read the states of IRQ pins, be it under gpiolib or
> otherwise. And I think the reason for that is that there's no way to
> actually read the state
Guys:
I think I already know the answer to this, having read most of the
MPC52xx manual. But I'll ask anyway, just to be sure I'm not missing
something obvious... :)
Is it possible to treat the external IRQ[123] pins on the MPC52xx as
GPIO inputs? And if so, how do I tweak my dts file and oth