On Wed, Nov 19, 2014 at 6:49 AM, Grant Likely <grant.likely@xxxxxxxxxx> wrote: > On Wed, 12 Nov 2014 12:54:03 -0800 > , Kevin Cernekee <cernekee@xxxxxxxxx> > wrote: >> With a few tweaks, the PXA serial driver can handle other 16550A clones. >> Add a fifo-size DT property to override the FIFO depth (BCM7xxx uses 32), >> and {native,big}-endian properties similar to regmap to support SoCs that >> have BE or "automagic endian" registers. > > Hold the phone, if these are 16550A clone ports, then why is the pxa > driver being adapted to drive them? I would expect the of_serial.c > driver to be used. It's already got support for multiple variants of the > 16550. Merely building serial8250 into a multiplatform kernel breaks every other serial driver that uses "ttyS" and major/minor 4/64. Even if an 8250/16550A device is never probed. More discussion in this thread: http://www.spinics.net/lists/linux-serial/msg14811.html