[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160229144528.0c0b8371@lxorguk.ukuu.org.uk>
Date: Mon, 29 Feb 2016 14:45:28 +0000
From: One Thousand Gnomes <gnomes@...rguk.ukuu.org.uk>
To: Sergei Ianovich <ynvich@...il.com>
Cc: Andy Shevchenko <andriy.shevchenko@...ux.intel.com>,
linux-kernel@...r.kernel.org, Arnd Bergmann <arnd@...db.de>,
Rob Herring <robh+dt@...nel.org>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Kumar Gala <galak@...eaurora.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Jiri Slaby <jslaby@...e.com>,
Heikki Krogerus <heikki.krogerus@...ux.intel.com>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
Paul Burton <paul.burton@...tec.com>,
Paul Gortmaker <paul.gortmaker@...driver.com>,
Mans Rullgard <mans@...sr.com>,
Scott Wood <scottwood@...escale.com>,
Joachim Eastwood <manabian@...il.com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
Peter Hurley <peter@...leysoftware.com>,
"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
<devicetree@...r.kernel.org>,
"open list:SERIAL DRIVERS" <linux-serial@...r.kernel.org>
Subject: Re: [PATCH v6] serial: support for 16550A serial ports on LP-8x4x
> I haven't tested this mode. I am pretty sure it will fail. There is
> also no support for speeds higher than 115200.
>
> CS7 and CS8 at speeds up to 115200 work well.
>
> However, there is no way to report errors from set_termios(). Should
> anything be done about those limitations?
You report back by setting the termios fields to the values actually
selected. Eg if you can't do CS5/CS6 you'd pick CS7 or CS8 and write that
back into tty->termios so the caller knows what they actually got. Ditto
for speed (see the 16550A core driver for the speed write backs).
Alan
Powered by blists - more mailing lists