All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] tty: serial: make of_serial work on Ralink SoC
@ 2013-04-13  9:33 John Crispin
  2013-04-13  9:33 ` [PATCH 1/3] tty: of_serial: allow rt288x-uart to load from OF John Crispin
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: John Crispin @ 2013-04-13  9:33 UTC (permalink / raw)
  To: Greg Kroah-Hartman; +Cc: linux-mips, linux-serial, John Crispin

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2013-04-16  4:08 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-13  9:33 [PATCH 0/3] tty: serial: make of_serial work on Ralink SoC John Crispin
2013-04-13  9:33 ` [PATCH 1/3] tty: of_serial: allow rt288x-uart to load from OF John Crispin
2013-04-15 18:14   ` Greg Kroah-Hartman
2013-04-16  3:54     ` John Crispin
2013-04-16  3:55     ` John Crispin
2013-04-16  4:05       ` Greg Kroah-Hartman
2013-04-16  4:04         ` John Crispin
2013-04-16  4:04         ` John Crispin
2013-04-13  9:33 ` [PATCH 2/3] tty: serial: add iosize field to struct uart_port John Crispin
2013-04-15 18:10   ` Greg Kroah-Hartman
2013-04-13  9:33 ` [PATCH 3/3] tty: of_serial: initialize port.iosize from resource John Crispin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.