[PATCH] tty: of_serial: add no-loopback-test property
Greg Kroah-Hartman
gregkh at linuxfoundation.org
Sun Jul 15 00:04:57 EST 2012
On Sat, Jul 14, 2012 at 03:01:01PM +0100, Alan Cox wrote:
> On Sat, 14 Jul 2012 14:06:20 +0200
> Gabor Juhos <juhosg at openwrt.org> wrote:
>
> > The loopback test mode is not implemented in all
> > NS16550 compatible UARTs. The 8250 driver uses the
> > UPF_SKIP_TEST flag to indicate this, however it is
> > not possible to set this flag via device-tree.
> >
> > Add a new 'no-loopback-test' property, and modify
> > the of_serial driver to set the UPF_SKIP_TEST flag
> > if the property is present.
> >
> > Signed-off-by: Gabor Juhos <juhosg at openwrt.org>
>
> Looks good to me but clashes with the sync of the termios changes, which
> we urgently need to get in first.
>
> Greg - I'll add this to my patch stack with the relevant changes so that
> it doesn't get messed up.
Ok, thanks for doing that.
greg k-h
More information about the devicetree-discuss
mailing list