mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
[ARM] 2918/1: [update] Base port of Comdial MP1000 platfrom
Patch from Jon Ringle Updated 2898/1 per comments: - Removed fixup - Moved code in mach-mp1000/ to mach-clps711x/ - Cleaned up code in mp1000-seprom.c. Eliminated code that displayed the contents of the eeprom Please comment. Signed-off-by: Jon Ringle Signed-off-by: Russell King <[email protected]>
This commit is contained in:
parent
b572352159
commit
0b83f1400f
11 changed files with 1407 additions and 2 deletions
|
|
@ -408,7 +408,11 @@ static struct uart_port clps711x_ports[UART_NR] = {
|
|||
{
|
||||
.iobase = SYSCON1,
|
||||
.irq = IRQ_UTXINT1, /* IRQ_URXINT1, IRQ_UMSINT */
|
||||
#ifdef CONFIG_MP1000_90MHZ
|
||||
.uartclk = 4515840,
|
||||
#else
|
||||
.uartclk = 3686400,
|
||||
#endif
|
||||
.fifosize = 16,
|
||||
.ops = &clps711x_pops,
|
||||
.line = 0,
|
||||
|
|
@ -417,7 +421,11 @@ static struct uart_port clps711x_ports[UART_NR] = {
|
|||
{
|
||||
.iobase = SYSCON2,
|
||||
.irq = IRQ_UTXINT2, /* IRQ_URXINT2 */
|
||||
#ifdef CONFIG_MP1000_90MHZ
|
||||
.uartclk = 4515840,
|
||||
#else
|
||||
.uartclk = 3686400,
|
||||
#endif
|
||||
.fifosize = 16,
|
||||
.ops = &clps711x_pops,
|
||||
.line = 1,
|
||||
|
|
@ -551,6 +559,7 @@ console_initcall(clps711xuart_console_init);
|
|||
static struct uart_driver clps711x_reg = {
|
||||
.driver_name = "ttyCL",
|
||||
.dev_name = "ttyCL",
|
||||
.devfs_name = "ttyCL",
|
||||
.major = SERIAL_CLPS711X_MAJOR,
|
||||
.minor = SERIAL_CLPS711X_MINOR,
|
||||
.nr = UART_NR,
|
||||
|
|
|
|||
Loading…
Reference in a new issue