Thread (18 messages) 18 messages, 9 authors, 2014-07-07

[RFC PATCH] tty: serial: Add 8250-core based omap driver

From: tony@atomide.com (Tony Lindgren)
Date: 2014-07-03 07:34:25
Also in: linux-omap, linux-serial, lkml

* Robert Nelson [off-list ref] [140702 12:27]:
On Wed, Jul 2, 2014 at 2:09 PM, Aaro Koskinen [off-list ref] wrote:
quoted
Hi,

On Wed, Jul 02, 2014 at 11:09:32AM -0500, Felipe Balbi wrote:
quoted
quoted
It has been only tested as console UART.
The tty name is ttyS based instead of ttyO. How big is the pain here,
what could be the easiest way to provide compatibility?
have been considering that myself for months. You could pass an optional
argument to serial8250_register_8250_port() but that only solves part of
the problem :-(
Some kind of compability layer sure would be nice.
quoted
When ttyS -> ttyO change was done on OMAP, compatibility was not an issue.
Why should we care about it now?
It would be a good opportunity to force everyone to update their bootloader. ;)

Besides the BeagleBoard forum is quiet now, no one is complaining
about that old (ttyS -> ttyO) transition anymore..
How about a Kconfig option to provide ttyO by default? The not even
do that if kernel has cmdline option nottyomap.
 
I'll just end up carrying a patch like, to support bb.org users over
the transition..

https://github.com/RobertCNelson/stable-kernel/blob/v3.7.x/patches/omap_beagle/0004-zeroMAP-Open-your-eyes.patch
Heh. Just to summarize the reason ttyO needs to be a separate name
and device entry from ttyS is because we also have external 8250
devices on GPMC and hotplug busses.

Regards,

Tony
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help