diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2011-08-01 05:53:21 -0400 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2011-11-14 04:11:25 -0500 |
commit | edb0a6408a84b4f14647770d8a6796afff3e93a9 (patch) | |
tree | 9d33ed07c409534ca9709a39dd25b1e60c3724d3 /arch/blackfin/mach-bf527 | |
parent | 7f80850d3f9fd8fda23a317044aef3a6bafab06b (diff) |
Blackfin: add serial TX IRQ in individual platform resource
The serial TX IRQ is not simply (RX IRQ + 1) on some Blackfin chips,
so move the values to the platform resources.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf527')
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ad7160eval.c | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/cm_bf527.c | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezbrd.c | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/ezkit.c | 14 | ||||
-rw-r--r-- | arch/blackfin/mach-bf527/boards/tll6527m.c | 14 |
5 files changed, 60 insertions, 10 deletions
diff --git a/arch/blackfin/mach-bf527/boards/ad7160eval.c b/arch/blackfin/mach-bf527/boards/ad7160eval.c index 8d65d476f11..5bc6938157a 100644 --- a/arch/blackfin/mach-bf527/boards/ad7160eval.c +++ b/arch/blackfin/mach-bf527/boards/ad7160eval.c | |||
@@ -381,8 +381,13 @@ static struct resource bfin_uart0_resources[] = { | |||
381 | .flags = IORESOURCE_MEM, | 381 | .flags = IORESOURCE_MEM, |
382 | }, | 382 | }, |
383 | { | 383 | { |
384 | .start = IRQ_UART0_TX, | ||
385 | .end = IRQ_UART0_TX, | ||
386 | .flags = IORESOURCE_IRQ, | ||
387 | }, | ||
388 | { | ||
384 | .start = IRQ_UART0_RX, | 389 | .start = IRQ_UART0_RX, |
385 | .end = IRQ_UART0_RX+1, | 390 | .end = IRQ_UART0_RX, |
386 | .flags = IORESOURCE_IRQ, | 391 | .flags = IORESOURCE_IRQ, |
387 | }, | 392 | }, |
388 | { | 393 | { |
@@ -424,8 +429,13 @@ static struct resource bfin_uart1_resources[] = { | |||
424 | .flags = IORESOURCE_MEM, | 429 | .flags = IORESOURCE_MEM, |
425 | }, | 430 | }, |
426 | { | 431 | { |
432 | .start = IRQ_UART1_TX, | ||
433 | .end = IRQ_UART1_TX, | ||
434 | .flags = IORESOURCE_IRQ, | ||
435 | }, | ||
436 | { | ||
427 | .start = IRQ_UART1_RX, | 437 | .start = IRQ_UART1_RX, |
428 | .end = IRQ_UART1_RX+1, | 438 | .end = IRQ_UART1_RX, |
429 | .flags = IORESOURCE_IRQ, | 439 | .flags = IORESOURCE_IRQ, |
430 | }, | 440 | }, |
431 | { | 441 | { |
diff --git a/arch/blackfin/mach-bf527/boards/cm_bf527.c b/arch/blackfin/mach-bf527/boards/cm_bf527.c index 6410fc1af8e..c13065b895f 100644 --- a/arch/blackfin/mach-bf527/boards/cm_bf527.c +++ b/arch/blackfin/mach-bf527/boards/cm_bf527.c | |||
@@ -539,8 +539,13 @@ static struct resource bfin_uart0_resources[] = { | |||
539 | .flags = IORESOURCE_MEM, | 539 | .flags = IORESOURCE_MEM, |
540 | }, | 540 | }, |
541 | { | 541 | { |
542 | .start = IRQ_UART0_TX, | ||
543 | .end = IRQ_UART0_TX, | ||
544 | .flags = IORESOURCE_IRQ, | ||
545 | }, | ||
546 | { | ||
542 | .start = IRQ_UART0_RX, | 547 | .start = IRQ_UART0_RX, |
543 | .end = IRQ_UART0_RX+1, | 548 | .end = IRQ_UART0_RX, |
544 | .flags = IORESOURCE_IRQ, | 549 | .flags = IORESOURCE_IRQ, |
545 | }, | 550 | }, |
546 | { | 551 | { |
@@ -582,8 +587,13 @@ static struct resource bfin_uart1_resources[] = { | |||
582 | .flags = IORESOURCE_MEM, | 587 | .flags = IORESOURCE_MEM, |
583 | }, | 588 | }, |
584 | { | 589 | { |
590 | .start = IRQ_UART1_TX, | ||
591 | .end = IRQ_UART1_TX, | ||
592 | .flags = IORESOURCE_IRQ, | ||
593 | }, | ||
594 | { | ||
585 | .start = IRQ_UART1_RX, | 595 | .start = IRQ_UART1_RX, |
586 | .end = IRQ_UART1_RX+1, | 596 | .end = IRQ_UART1_RX, |
587 | .flags = IORESOURCE_IRQ, | 597 | .flags = IORESOURCE_IRQ, |
588 | }, | 598 | }, |
589 | { | 599 | { |
diff --git a/arch/blackfin/mach-bf527/boards/ezbrd.c b/arch/blackfin/mach-bf527/boards/ezbrd.c index 64f7278aba5..2963c356c68 100644 --- a/arch/blackfin/mach-bf527/boards/ezbrd.c +++ b/arch/blackfin/mach-bf527/boards/ezbrd.c | |||
@@ -417,8 +417,13 @@ static struct resource bfin_uart0_resources[] = { | |||
417 | .flags = IORESOURCE_MEM, | 417 | .flags = IORESOURCE_MEM, |
418 | }, | 418 | }, |
419 | { | 419 | { |
420 | .start = IRQ_UART0_TX, | ||
421 | .end = IRQ_UART0_TX, | ||
422 | .flags = IORESOURCE_IRQ, | ||
423 | }, | ||
424 | { | ||
420 | .start = IRQ_UART0_RX, | 425 | .start = IRQ_UART0_RX, |
421 | .end = IRQ_UART0_RX+1, | 426 | .end = IRQ_UART0_RX, |
422 | .flags = IORESOURCE_IRQ, | 427 | .flags = IORESOURCE_IRQ, |
423 | }, | 428 | }, |
424 | { | 429 | { |
@@ -460,8 +465,13 @@ static struct resource bfin_uart1_resources[] = { | |||
460 | .flags = IORESOURCE_MEM, | 465 | .flags = IORESOURCE_MEM, |
461 | }, | 466 | }, |
462 | { | 467 | { |
468 | .start = IRQ_UART1_TX, | ||
469 | .end = IRQ_UART1_TX, | ||
470 | .flags = IORESOURCE_IRQ, | ||
471 | }, | ||
472 | { | ||
463 | .start = IRQ_UART1_RX, | 473 | .start = IRQ_UART1_RX, |
464 | .end = IRQ_UART1_RX+1, | 474 | .end = IRQ_UART1_RX, |
465 | .flags = IORESOURCE_IRQ, | 475 | .flags = IORESOURCE_IRQ, |
466 | }, | 476 | }, |
467 | { | 477 | { |
diff --git a/arch/blackfin/mach-bf527/boards/ezkit.c b/arch/blackfin/mach-bf527/boards/ezkit.c index e4c6a122b66..3ecafff5d2e 100644 --- a/arch/blackfin/mach-bf527/boards/ezkit.c +++ b/arch/blackfin/mach-bf527/boards/ezkit.c | |||
@@ -711,8 +711,13 @@ static struct resource bfin_uart0_resources[] = { | |||
711 | .flags = IORESOURCE_MEM, | 711 | .flags = IORESOURCE_MEM, |
712 | }, | 712 | }, |
713 | { | 713 | { |
714 | .start = IRQ_UART0_TX, | ||
715 | .end = IRQ_UART0_TX, | ||
716 | .flags = IORESOURCE_IRQ, | ||
717 | }, | ||
718 | { | ||
714 | .start = IRQ_UART0_RX, | 719 | .start = IRQ_UART0_RX, |
715 | .end = IRQ_UART0_RX+1, | 720 | .end = IRQ_UART0_RX, |
716 | .flags = IORESOURCE_IRQ, | 721 | .flags = IORESOURCE_IRQ, |
717 | }, | 722 | }, |
718 | { | 723 | { |
@@ -754,8 +759,13 @@ static struct resource bfin_uart1_resources[] = { | |||
754 | .flags = IORESOURCE_MEM, | 759 | .flags = IORESOURCE_MEM, |
755 | }, | 760 | }, |
756 | { | 761 | { |
762 | .start = IRQ_UART1_TX, | ||
763 | .end = IRQ_UART1_TX, | ||
764 | .flags = IORESOURCE_IRQ, | ||
765 | }, | ||
766 | { | ||
757 | .start = IRQ_UART1_RX, | 767 | .start = IRQ_UART1_RX, |
758 | .end = IRQ_UART1_RX+1, | 768 | .end = IRQ_UART1_RX, |
759 | .flags = IORESOURCE_IRQ, | 769 | .flags = IORESOURCE_IRQ, |
760 | }, | 770 | }, |
761 | { | 771 | { |
diff --git a/arch/blackfin/mach-bf527/boards/tll6527m.c b/arch/blackfin/mach-bf527/boards/tll6527m.c index 76dbc03a8d4..3a92c4318d2 100644 --- a/arch/blackfin/mach-bf527/boards/tll6527m.c +++ b/arch/blackfin/mach-bf527/boards/tll6527m.c | |||
@@ -496,8 +496,13 @@ static struct resource bfin_uart0_resources[] = { | |||
496 | .flags = IORESOURCE_MEM, | 496 | .flags = IORESOURCE_MEM, |
497 | }, | 497 | }, |
498 | { | 498 | { |
499 | .start = IRQ_UART0_TX, | ||
500 | .end = IRQ_UART0_TX, | ||
501 | .flags = IORESOURCE_IRQ, | ||
502 | }, | ||
503 | { | ||
499 | .start = IRQ_UART0_RX, | 504 | .start = IRQ_UART0_RX, |
500 | .end = IRQ_UART0_RX+1, | 505 | .end = IRQ_UART0_RX, |
501 | .flags = IORESOURCE_IRQ, | 506 | .flags = IORESOURCE_IRQ, |
502 | }, | 507 | }, |
503 | { | 508 | { |
@@ -540,8 +545,13 @@ static struct resource bfin_uart1_resources[] = { | |||
540 | .flags = IORESOURCE_MEM, | 545 | .flags = IORESOURCE_MEM, |
541 | }, | 546 | }, |
542 | { | 547 | { |
548 | .start = IRQ_UART1_TX, | ||
549 | .end = IRQ_UART1_TX, | ||
550 | .flags = IORESOURCE_IRQ, | ||
551 | }, | ||
552 | { | ||
543 | .start = IRQ_UART1_RX, | 553 | .start = IRQ_UART1_RX, |
544 | .end = IRQ_UART1_RX+1, | 554 | .end = IRQ_UART1_RX, |
545 | .flags = IORESOURCE_IRQ, | 555 | .flags = IORESOURCE_IRQ, |
546 | }, | 556 | }, |
547 | { | 557 | { |