[PATCH 0/3] tty: serial: make of_serial work on Ralink SoC

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Ralink SoC uses the same 8250 iotype as AU1x00. In order to make this work form
a devicetree, the correct iotype needs to be probed inside
of_platform_serial_setup().

Ralink SoC has a different iosize than AU1x00, which causes
serial8250_port_size() to return 0x1000 instead of the correct 0x100. Instead of
adding another static if statement we probe the real iosize from the resource
inside the devicetree.

Gabor Juhos (2):
  tty: serial: add iosize field to struct uart_port
  tty: of_serial: initialize port.iosize from resource

John Crispin (1):
  tty: of_serial: allow rt288x-uart to load from OF

 drivers/tty/serial/8250/8250_core.c |    3 +++
 drivers/tty/serial/of_serial.c      |   11 +++++++++--
 include/linux/serial_core.h         |    1 +
 3 files changed, 13 insertions(+), 2 deletions(-)

-- 
1.7.10.4

--
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux