linux-mips.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -queue v2] MIPS: Alchemy: UARTs are of type 16550A
@ 2009-10-28 20:49 Manuel Lauss
  2009-11-01  6:34 ` Ralf Baechle
  0 siblings, 1 reply; 2+ messages in thread
From: Manuel Lauss @ 2009-10-28 20:49 UTC (permalink / raw)
  To: Linux-MIPS, Ralf Baechle; +Cc: Manuel Lauss

UART autodetection breaks on the Au1300 but the IP blocks are identical,
at least according to the datasheets.  Help the 8250 driver by passing
on uart type information via platform data.

Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
---
On top of the other alchemy patches in mips-queue.

 arch/mips/alchemy/common/platform.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/arch/mips/alchemy/common/platform.c b/arch/mips/alchemy/common/platform.c
index 195e5b3..3be14b0 100644
--- a/arch/mips/alchemy/common/platform.c
+++ b/arch/mips/alchemy/common/platform.c
@@ -26,7 +26,9 @@
 		.irq		= _irq,				\
 		.regshift	= 2,				\
 		.iotype		= UPIO_AU,			\
-		.flags		= UPF_SKIP_TEST | UPF_IOREMAP	\
+		.flags		= UPF_SKIP_TEST | UPF_IOREMAP |	\
+				  UPF_FIXED_TYPE,		\
+		.type		= PORT_16550A,			\
 	}
 
 static struct plat_serial8250_port au1x00_uart_data[] = {
-- 
1.6.5

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

* Re: [PATCH -queue v2] MIPS: Alchemy: UARTs are of type 16550A
  2009-10-28 20:49 [PATCH -queue v2] MIPS: Alchemy: UARTs are of type 16550A Manuel Lauss
@ 2009-11-01  6:34 ` Ralf Baechle
  0 siblings, 0 replies; 2+ messages in thread
From: Ralf Baechle @ 2009-11-01  6:34 UTC (permalink / raw)
  To: Manuel Lauss; +Cc: Linux-MIPS, Manuel Lauss

On Wed, Oct 28, 2009 at 09:49:46PM +0100, Manuel Lauss wrote:

> UART autodetection breaks on the Au1300 but the IP blocks are identical,
> at least according to the datasheets.  Help the 8250 driver by passing
> on uart type information via platform data.
> 
> Signed-off-by: Manuel Lauss <manuel.lauss@gmail.com>
> ---
> On top of the other alchemy patches in mips-queue.

Thanks, queued.

  Ralf

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

end of thread, other threads:[~2009-11-01  6:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-28 20:49 [PATCH -queue v2] MIPS: Alchemy: UARTs are of type 16550A Manuel Lauss
2009-11-01  6:34 ` Ralf Baechle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).