[PATCH] ARM: pxa: mfp: Force gpio direction for MFP_LPM_KEEP_OUTPUT

Paul Parsons lost.distance at yahoo.com
Tue Apr 3 21:00:35 EDT 2012


Hello Igor,

--- On Tue, 3/4/12, Igor Grinberg <grinberg at compulab.co.il> wrote:
> Hmmm....
> If we change the GPSR and GPCR, the old levels should be
> reserved, right?
> Attached...

Your patch - pxa2xx-mfp2.patch - doesn't introduce any problems, but
I never had a failure case that could be used to prove the patch fixes
the direction/PGSR window bug. In theory the patch *should* fix it.

As for restoring the GPIO levels via GPSR and GPCR, that does seem
to work. Certainly the regular GPIO (AF0) outputs have their levels
restored OK.

Regards,
Paul



More information about the linux-arm-kernel mailing list