[PATCH] tty: of_serial: add no-loopback-test property

Alan Cox alan at lxorguk.ukuu.org.uk
Sun Jul 15 00:01:01 EST 2012


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.

Alan


More information about the devicetree-discuss mailing list