[PATCH] arm pxa: remove "direction input" forcing for IRQ GPIOs
Daniel Mack
daniel at caiaq.de
Tue Nov 17 12:11:16 EST 2009
On Tue, Nov 17, 2009 at 03:38:47PM +0100, Rodolfo Giometti wrote:
> On Tue, Nov 17, 2009 at 02:06:53PM +0100, Daniel Mack wrote:
> > On Tue, Nov 17, 2009 at 01:59:53PM +0100, Rodolfo Giometti wrote:
> > > On Tue, Nov 17, 2009 at 01:43:34PM +0100, Daniel Mack wrote:
> >
> > No, that's exactly my point. You don't need to set the pin to output
> > direction to make use of those pull features. More than that, when
> > confiugured as output, the pull flags actually don't make sense.
>
> I just looking at pxa27x user manual but I don't see such pull-up
> functionality... are you sure these settings aren't pxa3xx specific?
> =:-o
I haven't checked the datasheet but the header files that defines this
macro only. And it didn't appear to be PXA3x specific.
Anyway, if this is unavailable on your hardware, the proper way would be
to place an external resistor on the board (given that you can modify
the schematics).
I'm still not convinced that driving the pad as output GPIO and then
applying a different level externally to generate an IRQ is intended.
Daniel
More information about the linux-arm-kernel
mailing list