Re: [PATCH] powerpc/85xx: Workaround MPC8572/MPC8536 GPIO 1 errata.

2009-12-10 Thread Kumar Gala
On Aug 12, 2009, at 12:57 AM, Felix Radensky wrote: > On MPC8572 and MPC8536 the status of GPIO pins configured > as output cannot be determined by reading GPDAT register. > Workaround by reading the status of input pins from GPDAT > and the status of output pins from a shadow register. > > Sign

[PATCH] powerpc/85xx: Workaround MPC8572/MPC8536 GPIO 1 errata.

2009-08-11 Thread Felix Radensky
On MPC8572 and MPC8536 the status of GPIO pins configured as output cannot be determined by reading GPDAT register. Workaround by reading the status of input pins from GPDAT and the status of output pins from a shadow register. Signed-off-by: Felix Radensky --- arch/powerpc/sysdev/mpc8xxx_gpio.c