serial: 8250: Add Quark X1000 to 8250_pci.c
authorBryan O'Donoghue <pure.logic@nexus-software.ie>
Tue, 23 Sep 2014 00:21:11 +0000 (01:21 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 29 Sep 2014 01:25:21 +0000 (21:25 -0400)
commit1ede7dcca3c4fa15a518ab0473126f9c3e621e4c
tree5dee7309903d8c31606435b12f6fafb617832680
parent13d6ceb4c4fe1e9688e19b15b123b1830c596cf1
serial: 8250: Add Quark X1000 to 8250_pci.c

Quark X1000 contains two designware derived 8250 serial ports.
Each port has a unique PCI configuration space consisting of
BAR0:UART BAR1:DMA respectively.

Unlike the standard 8250 the register width is 32 bits for RHR,IER etc
The Quark UART has a fundamental clock @ 44.2368 MHz allowing for a
bitrate of up to about 2.76 megabits per second.

This patch enables standard 8250 mode

Signed-off-by: Bryan O'Donoghue <pure.logic@nexus-software.ie>
Reviewed-by: Heikki Krogerus <heikki.krogerus@linux.intel.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_pci.c