Re: [PATCH 2/2] amba pl011: platform data for reg lockup and glitch
From: Shreshtha Kumar SAHU
Date: Mon May 16 2011 - 10:15:54 EST
On Mon, May 16, 2011 at 16:05:41 +0200, Russell King wrote:
> On Mon, May 16, 2011 at 07:30:46PM +0530, Shreshtha Kumar SAHU wrote:
> > On Mon, May 16, 2011 at 15:09:05 +0200, Russell King wrote:
> > > On Mon, May 16, 2011 at 06:31:19PM +0530, Shreshtha Kumar SAHU wrote:
> > > > From: Shreshtha Kumar Sahu <shreshthakumar.sahu@xxxxxxxxxxxxxx>
> > > >
> > > > This patch provides platform data for following
> > > > - uart reset function to assist uart register lockup workaround
> > > >
> > > > - init/exit function to fix glitch in the tx pin in tty_open
> > > > when tty port0 is opened a glitch is seen in the tx line
> > > > of uart0. This happens in __pl011_startup() when tx fifo
> > > > interrupt is provoked into asserting.
> > >
> > > I was trying to work out where that is, but i can't find this function.
> > > Is your patch against a different version of the driver?
> > sorry, the function names in commit message is wrong by mistake.
> > It should be - "This happens in pl011_startup() when tx
> > fifo interrupt is provoked into asserting."
> > I will send out a new patch with corrected commit mesaage.
> Have you tracked down why this happens?
> Is it the switching into and out of loopback mode, or does loopback mode
> not prevent the transmit pin toggling?
As I tried to get the cause for it, I found it is not due to switching in
and out of loopback mode. It was found to be default behaviour of the hardware.
Even in loopback mode data is transmitted out to pins.
> Russell King
> Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/
> maintainer of:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/