diff options
Diffstat (limited to 'arch/arm/mach-omap2/omap_hwmod_2420_data.c')
-rw-r--r-- | arch/arm/mach-omap2/omap_hwmod_2420_data.c | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/arch/arm/mach-omap2/omap_hwmod_2420_data.c b/arch/arm/mach-omap2/omap_hwmod_2420_data.c index 3ec625c40c1f..04730d33ba5c 100644 --- a/arch/arm/mach-omap2/omap_hwmod_2420_data.c +++ b/arch/arm/mach-omap2/omap_hwmod_2420_data.c | |||
@@ -296,6 +296,7 @@ static struct omap_hwmod_class omap2420_timer_hwmod_class = { | |||
296 | static struct omap_hwmod omap2420_timer1_hwmod; | 296 | static struct omap_hwmod omap2420_timer1_hwmod; |
297 | static struct omap_hwmod_irq_info omap2420_timer1_mpu_irqs[] = { | 297 | static struct omap_hwmod_irq_info omap2420_timer1_mpu_irqs[] = { |
298 | { .irq = 37, }, | 298 | { .irq = 37, }, |
299 | { .irq = -1 } | ||
299 | }; | 300 | }; |
300 | 301 | ||
301 | static struct omap_hwmod_addr_space omap2420_timer1_addrs[] = { | 302 | static struct omap_hwmod_addr_space omap2420_timer1_addrs[] = { |
@@ -325,7 +326,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer1_slaves[] = { | |||
325 | static struct omap_hwmod omap2420_timer1_hwmod = { | 326 | static struct omap_hwmod omap2420_timer1_hwmod = { |
326 | .name = "timer1", | 327 | .name = "timer1", |
327 | .mpu_irqs = omap2420_timer1_mpu_irqs, | 328 | .mpu_irqs = omap2420_timer1_mpu_irqs, |
328 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer1_mpu_irqs), | ||
329 | .main_clk = "gpt1_fck", | 329 | .main_clk = "gpt1_fck", |
330 | .prcm = { | 330 | .prcm = { |
331 | .omap2 = { | 331 | .omap2 = { |
@@ -346,6 +346,7 @@ static struct omap_hwmod omap2420_timer1_hwmod = { | |||
346 | static struct omap_hwmod omap2420_timer2_hwmod; | 346 | static struct omap_hwmod omap2420_timer2_hwmod; |
347 | static struct omap_hwmod_irq_info omap2420_timer2_mpu_irqs[] = { | 347 | static struct omap_hwmod_irq_info omap2420_timer2_mpu_irqs[] = { |
348 | { .irq = 38, }, | 348 | { .irq = 38, }, |
349 | { .irq = -1 } | ||
349 | }; | 350 | }; |
350 | 351 | ||
351 | 352 | ||
@@ -367,7 +368,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer2_slaves[] = { | |||
367 | static struct omap_hwmod omap2420_timer2_hwmod = { | 368 | static struct omap_hwmod omap2420_timer2_hwmod = { |
368 | .name = "timer2", | 369 | .name = "timer2", |
369 | .mpu_irqs = omap2420_timer2_mpu_irqs, | 370 | .mpu_irqs = omap2420_timer2_mpu_irqs, |
370 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer2_mpu_irqs), | ||
371 | .main_clk = "gpt2_fck", | 371 | .main_clk = "gpt2_fck", |
372 | .prcm = { | 372 | .prcm = { |
373 | .omap2 = { | 373 | .omap2 = { |
@@ -388,6 +388,7 @@ static struct omap_hwmod omap2420_timer2_hwmod = { | |||
388 | static struct omap_hwmod omap2420_timer3_hwmod; | 388 | static struct omap_hwmod omap2420_timer3_hwmod; |
389 | static struct omap_hwmod_irq_info omap2420_timer3_mpu_irqs[] = { | 389 | static struct omap_hwmod_irq_info omap2420_timer3_mpu_irqs[] = { |
390 | { .irq = 39, }, | 390 | { .irq = 39, }, |
391 | { .irq = -1 } | ||
391 | }; | 392 | }; |
392 | 393 | ||
393 | /* l4_core -> timer3 */ | 394 | /* l4_core -> timer3 */ |
@@ -408,7 +409,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer3_slaves[] = { | |||
408 | static struct omap_hwmod omap2420_timer3_hwmod = { | 409 | static struct omap_hwmod omap2420_timer3_hwmod = { |
409 | .name = "timer3", | 410 | .name = "timer3", |
410 | .mpu_irqs = omap2420_timer3_mpu_irqs, | 411 | .mpu_irqs = omap2420_timer3_mpu_irqs, |
411 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer3_mpu_irqs), | ||
412 | .main_clk = "gpt3_fck", | 412 | .main_clk = "gpt3_fck", |
413 | .prcm = { | 413 | .prcm = { |
414 | .omap2 = { | 414 | .omap2 = { |
@@ -429,6 +429,7 @@ static struct omap_hwmod omap2420_timer3_hwmod = { | |||
429 | static struct omap_hwmod omap2420_timer4_hwmod; | 429 | static struct omap_hwmod omap2420_timer4_hwmod; |
430 | static struct omap_hwmod_irq_info omap2420_timer4_mpu_irqs[] = { | 430 | static struct omap_hwmod_irq_info omap2420_timer4_mpu_irqs[] = { |
431 | { .irq = 40, }, | 431 | { .irq = 40, }, |
432 | { .irq = -1 } | ||
432 | }; | 433 | }; |
433 | 434 | ||
434 | /* l4_core -> timer4 */ | 435 | /* l4_core -> timer4 */ |
@@ -449,7 +450,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer4_slaves[] = { | |||
449 | static struct omap_hwmod omap2420_timer4_hwmod = { | 450 | static struct omap_hwmod omap2420_timer4_hwmod = { |
450 | .name = "timer4", | 451 | .name = "timer4", |
451 | .mpu_irqs = omap2420_timer4_mpu_irqs, | 452 | .mpu_irqs = omap2420_timer4_mpu_irqs, |
452 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer4_mpu_irqs), | ||
453 | .main_clk = "gpt4_fck", | 453 | .main_clk = "gpt4_fck", |
454 | .prcm = { | 454 | .prcm = { |
455 | .omap2 = { | 455 | .omap2 = { |
@@ -470,6 +470,7 @@ static struct omap_hwmod omap2420_timer4_hwmod = { | |||
470 | static struct omap_hwmod omap2420_timer5_hwmod; | 470 | static struct omap_hwmod omap2420_timer5_hwmod; |
471 | static struct omap_hwmod_irq_info omap2420_timer5_mpu_irqs[] = { | 471 | static struct omap_hwmod_irq_info omap2420_timer5_mpu_irqs[] = { |
472 | { .irq = 41, }, | 472 | { .irq = 41, }, |
473 | { .irq = -1 } | ||
473 | }; | 474 | }; |
474 | 475 | ||
475 | /* l4_core -> timer5 */ | 476 | /* l4_core -> timer5 */ |
@@ -490,7 +491,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer5_slaves[] = { | |||
490 | static struct omap_hwmod omap2420_timer5_hwmod = { | 491 | static struct omap_hwmod omap2420_timer5_hwmod = { |
491 | .name = "timer5", | 492 | .name = "timer5", |
492 | .mpu_irqs = omap2420_timer5_mpu_irqs, | 493 | .mpu_irqs = omap2420_timer5_mpu_irqs, |
493 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer5_mpu_irqs), | ||
494 | .main_clk = "gpt5_fck", | 494 | .main_clk = "gpt5_fck", |
495 | .prcm = { | 495 | .prcm = { |
496 | .omap2 = { | 496 | .omap2 = { |
@@ -512,6 +512,7 @@ static struct omap_hwmod omap2420_timer5_hwmod = { | |||
512 | static struct omap_hwmod omap2420_timer6_hwmod; | 512 | static struct omap_hwmod omap2420_timer6_hwmod; |
513 | static struct omap_hwmod_irq_info omap2420_timer6_mpu_irqs[] = { | 513 | static struct omap_hwmod_irq_info omap2420_timer6_mpu_irqs[] = { |
514 | { .irq = 42, }, | 514 | { .irq = 42, }, |
515 | { .irq = -1 } | ||
515 | }; | 516 | }; |
516 | 517 | ||
517 | /* l4_core -> timer6 */ | 518 | /* l4_core -> timer6 */ |
@@ -532,7 +533,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer6_slaves[] = { | |||
532 | static struct omap_hwmod omap2420_timer6_hwmod = { | 533 | static struct omap_hwmod omap2420_timer6_hwmod = { |
533 | .name = "timer6", | 534 | .name = "timer6", |
534 | .mpu_irqs = omap2420_timer6_mpu_irqs, | 535 | .mpu_irqs = omap2420_timer6_mpu_irqs, |
535 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer6_mpu_irqs), | ||
536 | .main_clk = "gpt6_fck", | 536 | .main_clk = "gpt6_fck", |
537 | .prcm = { | 537 | .prcm = { |
538 | .omap2 = { | 538 | .omap2 = { |
@@ -553,6 +553,7 @@ static struct omap_hwmod omap2420_timer6_hwmod = { | |||
553 | static struct omap_hwmod omap2420_timer7_hwmod; | 553 | static struct omap_hwmod omap2420_timer7_hwmod; |
554 | static struct omap_hwmod_irq_info omap2420_timer7_mpu_irqs[] = { | 554 | static struct omap_hwmod_irq_info omap2420_timer7_mpu_irqs[] = { |
555 | { .irq = 43, }, | 555 | { .irq = 43, }, |
556 | { .irq = -1 } | ||
556 | }; | 557 | }; |
557 | 558 | ||
558 | /* l4_core -> timer7 */ | 559 | /* l4_core -> timer7 */ |
@@ -573,7 +574,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer7_slaves[] = { | |||
573 | static struct omap_hwmod omap2420_timer7_hwmod = { | 574 | static struct omap_hwmod omap2420_timer7_hwmod = { |
574 | .name = "timer7", | 575 | .name = "timer7", |
575 | .mpu_irqs = omap2420_timer7_mpu_irqs, | 576 | .mpu_irqs = omap2420_timer7_mpu_irqs, |
576 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer7_mpu_irqs), | ||
577 | .main_clk = "gpt7_fck", | 577 | .main_clk = "gpt7_fck", |
578 | .prcm = { | 578 | .prcm = { |
579 | .omap2 = { | 579 | .omap2 = { |
@@ -594,6 +594,7 @@ static struct omap_hwmod omap2420_timer7_hwmod = { | |||
594 | static struct omap_hwmod omap2420_timer8_hwmod; | 594 | static struct omap_hwmod omap2420_timer8_hwmod; |
595 | static struct omap_hwmod_irq_info omap2420_timer8_mpu_irqs[] = { | 595 | static struct omap_hwmod_irq_info omap2420_timer8_mpu_irqs[] = { |
596 | { .irq = 44, }, | 596 | { .irq = 44, }, |
597 | { .irq = -1 } | ||
597 | }; | 598 | }; |
598 | 599 | ||
599 | /* l4_core -> timer8 */ | 600 | /* l4_core -> timer8 */ |
@@ -614,7 +615,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer8_slaves[] = { | |||
614 | static struct omap_hwmod omap2420_timer8_hwmod = { | 615 | static struct omap_hwmod omap2420_timer8_hwmod = { |
615 | .name = "timer8", | 616 | .name = "timer8", |
616 | .mpu_irqs = omap2420_timer8_mpu_irqs, | 617 | .mpu_irqs = omap2420_timer8_mpu_irqs, |
617 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer8_mpu_irqs), | ||
618 | .main_clk = "gpt8_fck", | 618 | .main_clk = "gpt8_fck", |
619 | .prcm = { | 619 | .prcm = { |
620 | .omap2 = { | 620 | .omap2 = { |
@@ -635,6 +635,7 @@ static struct omap_hwmod omap2420_timer8_hwmod = { | |||
635 | static struct omap_hwmod omap2420_timer9_hwmod; | 635 | static struct omap_hwmod omap2420_timer9_hwmod; |
636 | static struct omap_hwmod_irq_info omap2420_timer9_mpu_irqs[] = { | 636 | static struct omap_hwmod_irq_info omap2420_timer9_mpu_irqs[] = { |
637 | { .irq = 45, }, | 637 | { .irq = 45, }, |
638 | { .irq = -1 } | ||
638 | }; | 639 | }; |
639 | 640 | ||
640 | /* l4_core -> timer9 */ | 641 | /* l4_core -> timer9 */ |
@@ -655,7 +656,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer9_slaves[] = { | |||
655 | static struct omap_hwmod omap2420_timer9_hwmod = { | 656 | static struct omap_hwmod omap2420_timer9_hwmod = { |
656 | .name = "timer9", | 657 | .name = "timer9", |
657 | .mpu_irqs = omap2420_timer9_mpu_irqs, | 658 | .mpu_irqs = omap2420_timer9_mpu_irqs, |
658 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer9_mpu_irqs), | ||
659 | .main_clk = "gpt9_fck", | 659 | .main_clk = "gpt9_fck", |
660 | .prcm = { | 660 | .prcm = { |
661 | .omap2 = { | 661 | .omap2 = { |
@@ -676,6 +676,7 @@ static struct omap_hwmod omap2420_timer9_hwmod = { | |||
676 | static struct omap_hwmod omap2420_timer10_hwmod; | 676 | static struct omap_hwmod omap2420_timer10_hwmod; |
677 | static struct omap_hwmod_irq_info omap2420_timer10_mpu_irqs[] = { | 677 | static struct omap_hwmod_irq_info omap2420_timer10_mpu_irqs[] = { |
678 | { .irq = 46, }, | 678 | { .irq = 46, }, |
679 | { .irq = -1 } | ||
679 | }; | 680 | }; |
680 | 681 | ||
681 | /* l4_core -> timer10 */ | 682 | /* l4_core -> timer10 */ |
@@ -696,7 +697,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer10_slaves[] = { | |||
696 | static struct omap_hwmod omap2420_timer10_hwmod = { | 697 | static struct omap_hwmod omap2420_timer10_hwmod = { |
697 | .name = "timer10", | 698 | .name = "timer10", |
698 | .mpu_irqs = omap2420_timer10_mpu_irqs, | 699 | .mpu_irqs = omap2420_timer10_mpu_irqs, |
699 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer10_mpu_irqs), | ||
700 | .main_clk = "gpt10_fck", | 700 | .main_clk = "gpt10_fck", |
701 | .prcm = { | 701 | .prcm = { |
702 | .omap2 = { | 702 | .omap2 = { |
@@ -717,6 +717,7 @@ static struct omap_hwmod omap2420_timer10_hwmod = { | |||
717 | static struct omap_hwmod omap2420_timer11_hwmod; | 717 | static struct omap_hwmod omap2420_timer11_hwmod; |
718 | static struct omap_hwmod_irq_info omap2420_timer11_mpu_irqs[] = { | 718 | static struct omap_hwmod_irq_info omap2420_timer11_mpu_irqs[] = { |
719 | { .irq = 47, }, | 719 | { .irq = 47, }, |
720 | { .irq = -1 } | ||
720 | }; | 721 | }; |
721 | 722 | ||
722 | /* l4_core -> timer11 */ | 723 | /* l4_core -> timer11 */ |
@@ -737,7 +738,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer11_slaves[] = { | |||
737 | static struct omap_hwmod omap2420_timer11_hwmod = { | 738 | static struct omap_hwmod omap2420_timer11_hwmod = { |
738 | .name = "timer11", | 739 | .name = "timer11", |
739 | .mpu_irqs = omap2420_timer11_mpu_irqs, | 740 | .mpu_irqs = omap2420_timer11_mpu_irqs, |
740 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer11_mpu_irqs), | ||
741 | .main_clk = "gpt11_fck", | 741 | .main_clk = "gpt11_fck", |
742 | .prcm = { | 742 | .prcm = { |
743 | .omap2 = { | 743 | .omap2 = { |
@@ -758,6 +758,7 @@ static struct omap_hwmod omap2420_timer11_hwmod = { | |||
758 | static struct omap_hwmod omap2420_timer12_hwmod; | 758 | static struct omap_hwmod omap2420_timer12_hwmod; |
759 | static struct omap_hwmod_irq_info omap2420_timer12_mpu_irqs[] = { | 759 | static struct omap_hwmod_irq_info omap2420_timer12_mpu_irqs[] = { |
760 | { .irq = 48, }, | 760 | { .irq = 48, }, |
761 | { .irq = -1 } | ||
761 | }; | 762 | }; |
762 | 763 | ||
763 | /* l4_core -> timer12 */ | 764 | /* l4_core -> timer12 */ |
@@ -778,7 +779,6 @@ static struct omap_hwmod_ocp_if *omap2420_timer12_slaves[] = { | |||
778 | static struct omap_hwmod omap2420_timer12_hwmod = { | 779 | static struct omap_hwmod omap2420_timer12_hwmod = { |
779 | .name = "timer12", | 780 | .name = "timer12", |
780 | .mpu_irqs = omap2420_timer12_mpu_irqs, | 781 | .mpu_irqs = omap2420_timer12_mpu_irqs, |
781 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_timer12_mpu_irqs), | ||
782 | .main_clk = "gpt12_fck", | 782 | .main_clk = "gpt12_fck", |
783 | .prcm = { | 783 | .prcm = { |
784 | .omap2 = { | 784 | .omap2 = { |
@@ -879,6 +879,7 @@ static struct omap_hwmod_class uart_class = { | |||
879 | 879 | ||
880 | static struct omap_hwmod_irq_info uart1_mpu_irqs[] = { | 880 | static struct omap_hwmod_irq_info uart1_mpu_irqs[] = { |
881 | { .irq = INT_24XX_UART1_IRQ, }, | 881 | { .irq = INT_24XX_UART1_IRQ, }, |
882 | { .irq = -1 } | ||
882 | }; | 883 | }; |
883 | 884 | ||
884 | static struct omap_hwmod_dma_info uart1_sdma_reqs[] = { | 885 | static struct omap_hwmod_dma_info uart1_sdma_reqs[] = { |
@@ -893,7 +894,6 @@ static struct omap_hwmod_ocp_if *omap2420_uart1_slaves[] = { | |||
893 | static struct omap_hwmod omap2420_uart1_hwmod = { | 894 | static struct omap_hwmod omap2420_uart1_hwmod = { |
894 | .name = "uart1", | 895 | .name = "uart1", |
895 | .mpu_irqs = uart1_mpu_irqs, | 896 | .mpu_irqs = uart1_mpu_irqs, |
896 | .mpu_irqs_cnt = ARRAY_SIZE(uart1_mpu_irqs), | ||
897 | .sdma_reqs = uart1_sdma_reqs, | 897 | .sdma_reqs = uart1_sdma_reqs, |
898 | .sdma_reqs_cnt = ARRAY_SIZE(uart1_sdma_reqs), | 898 | .sdma_reqs_cnt = ARRAY_SIZE(uart1_sdma_reqs), |
899 | .main_clk = "uart1_fck", | 899 | .main_clk = "uart1_fck", |
@@ -916,6 +916,7 @@ static struct omap_hwmod omap2420_uart1_hwmod = { | |||
916 | 916 | ||
917 | static struct omap_hwmod_irq_info uart2_mpu_irqs[] = { | 917 | static struct omap_hwmod_irq_info uart2_mpu_irqs[] = { |
918 | { .irq = INT_24XX_UART2_IRQ, }, | 918 | { .irq = INT_24XX_UART2_IRQ, }, |
919 | { .irq = -1 } | ||
919 | }; | 920 | }; |
920 | 921 | ||
921 | static struct omap_hwmod_dma_info uart2_sdma_reqs[] = { | 922 | static struct omap_hwmod_dma_info uart2_sdma_reqs[] = { |
@@ -930,7 +931,6 @@ static struct omap_hwmod_ocp_if *omap2420_uart2_slaves[] = { | |||
930 | static struct omap_hwmod omap2420_uart2_hwmod = { | 931 | static struct omap_hwmod omap2420_uart2_hwmod = { |
931 | .name = "uart2", | 932 | .name = "uart2", |
932 | .mpu_irqs = uart2_mpu_irqs, | 933 | .mpu_irqs = uart2_mpu_irqs, |
933 | .mpu_irqs_cnt = ARRAY_SIZE(uart2_mpu_irqs), | ||
934 | .sdma_reqs = uart2_sdma_reqs, | 934 | .sdma_reqs = uart2_sdma_reqs, |
935 | .sdma_reqs_cnt = ARRAY_SIZE(uart2_sdma_reqs), | 935 | .sdma_reqs_cnt = ARRAY_SIZE(uart2_sdma_reqs), |
936 | .main_clk = "uart2_fck", | 936 | .main_clk = "uart2_fck", |
@@ -953,6 +953,7 @@ static struct omap_hwmod omap2420_uart2_hwmod = { | |||
953 | 953 | ||
954 | static struct omap_hwmod_irq_info uart3_mpu_irqs[] = { | 954 | static struct omap_hwmod_irq_info uart3_mpu_irqs[] = { |
955 | { .irq = INT_24XX_UART3_IRQ, }, | 955 | { .irq = INT_24XX_UART3_IRQ, }, |
956 | { .irq = -1 } | ||
956 | }; | 957 | }; |
957 | 958 | ||
958 | static struct omap_hwmod_dma_info uart3_sdma_reqs[] = { | 959 | static struct omap_hwmod_dma_info uart3_sdma_reqs[] = { |
@@ -967,7 +968,6 @@ static struct omap_hwmod_ocp_if *omap2420_uart3_slaves[] = { | |||
967 | static struct omap_hwmod omap2420_uart3_hwmod = { | 968 | static struct omap_hwmod omap2420_uart3_hwmod = { |
968 | .name = "uart3", | 969 | .name = "uart3", |
969 | .mpu_irqs = uart3_mpu_irqs, | 970 | .mpu_irqs = uart3_mpu_irqs, |
970 | .mpu_irqs_cnt = ARRAY_SIZE(uart3_mpu_irqs), | ||
971 | .sdma_reqs = uart3_sdma_reqs, | 971 | .sdma_reqs = uart3_sdma_reqs, |
972 | .sdma_reqs_cnt = ARRAY_SIZE(uart3_sdma_reqs), | 972 | .sdma_reqs_cnt = ARRAY_SIZE(uart3_sdma_reqs), |
973 | .main_clk = "uart3_fck", | 973 | .main_clk = "uart3_fck", |
@@ -1087,6 +1087,7 @@ static struct omap_hwmod_class omap2420_dispc_hwmod_class = { | |||
1087 | 1087 | ||
1088 | static struct omap_hwmod_irq_info omap2420_dispc_irqs[] = { | 1088 | static struct omap_hwmod_irq_info omap2420_dispc_irqs[] = { |
1089 | { .irq = 25 }, | 1089 | { .irq = 25 }, |
1090 | { .irq = -1 } | ||
1090 | }; | 1091 | }; |
1091 | 1092 | ||
1092 | /* l4_core -> dss_dispc */ | 1093 | /* l4_core -> dss_dispc */ |
@@ -1113,7 +1114,6 @@ static struct omap_hwmod omap2420_dss_dispc_hwmod = { | |||
1113 | .name = "dss_dispc", | 1114 | .name = "dss_dispc", |
1114 | .class = &omap2420_dispc_hwmod_class, | 1115 | .class = &omap2420_dispc_hwmod_class, |
1115 | .mpu_irqs = omap2420_dispc_irqs, | 1116 | .mpu_irqs = omap2420_dispc_irqs, |
1116 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_dispc_irqs), | ||
1117 | .main_clk = "dss1_fck", | 1117 | .main_clk = "dss1_fck", |
1118 | .prcm = { | 1118 | .prcm = { |
1119 | .omap2 = { | 1119 | .omap2 = { |
@@ -1254,6 +1254,7 @@ static struct omap_i2c_dev_attr i2c_dev_attr; | |||
1254 | 1254 | ||
1255 | static struct omap_hwmod_irq_info i2c1_mpu_irqs[] = { | 1255 | static struct omap_hwmod_irq_info i2c1_mpu_irqs[] = { |
1256 | { .irq = INT_24XX_I2C1_IRQ, }, | 1256 | { .irq = INT_24XX_I2C1_IRQ, }, |
1257 | { .irq = -1 } | ||
1257 | }; | 1258 | }; |
1258 | 1259 | ||
1259 | static struct omap_hwmod_dma_info i2c1_sdma_reqs[] = { | 1260 | static struct omap_hwmod_dma_info i2c1_sdma_reqs[] = { |
@@ -1268,7 +1269,6 @@ static struct omap_hwmod_ocp_if *omap2420_i2c1_slaves[] = { | |||
1268 | static struct omap_hwmod omap2420_i2c1_hwmod = { | 1269 | static struct omap_hwmod omap2420_i2c1_hwmod = { |
1269 | .name = "i2c1", | 1270 | .name = "i2c1", |
1270 | .mpu_irqs = i2c1_mpu_irqs, | 1271 | .mpu_irqs = i2c1_mpu_irqs, |
1271 | .mpu_irqs_cnt = ARRAY_SIZE(i2c1_mpu_irqs), | ||
1272 | .sdma_reqs = i2c1_sdma_reqs, | 1272 | .sdma_reqs = i2c1_sdma_reqs, |
1273 | .sdma_reqs_cnt = ARRAY_SIZE(i2c1_sdma_reqs), | 1273 | .sdma_reqs_cnt = ARRAY_SIZE(i2c1_sdma_reqs), |
1274 | .main_clk = "i2c1_fck", | 1274 | .main_clk = "i2c1_fck", |
@@ -1293,6 +1293,7 @@ static struct omap_hwmod omap2420_i2c1_hwmod = { | |||
1293 | 1293 | ||
1294 | static struct omap_hwmod_irq_info i2c2_mpu_irqs[] = { | 1294 | static struct omap_hwmod_irq_info i2c2_mpu_irqs[] = { |
1295 | { .irq = INT_24XX_I2C2_IRQ, }, | 1295 | { .irq = INT_24XX_I2C2_IRQ, }, |
1296 | { .irq = -1 } | ||
1296 | }; | 1297 | }; |
1297 | 1298 | ||
1298 | static struct omap_hwmod_dma_info i2c2_sdma_reqs[] = { | 1299 | static struct omap_hwmod_dma_info i2c2_sdma_reqs[] = { |
@@ -1307,7 +1308,6 @@ static struct omap_hwmod_ocp_if *omap2420_i2c2_slaves[] = { | |||
1307 | static struct omap_hwmod omap2420_i2c2_hwmod = { | 1308 | static struct omap_hwmod omap2420_i2c2_hwmod = { |
1308 | .name = "i2c2", | 1309 | .name = "i2c2", |
1309 | .mpu_irqs = i2c2_mpu_irqs, | 1310 | .mpu_irqs = i2c2_mpu_irqs, |
1310 | .mpu_irqs_cnt = ARRAY_SIZE(i2c2_mpu_irqs), | ||
1311 | .sdma_reqs = i2c2_sdma_reqs, | 1311 | .sdma_reqs = i2c2_sdma_reqs, |
1312 | .sdma_reqs_cnt = ARRAY_SIZE(i2c2_sdma_reqs), | 1312 | .sdma_reqs_cnt = ARRAY_SIZE(i2c2_sdma_reqs), |
1313 | .main_clk = "i2c2_fck", | 1313 | .main_clk = "i2c2_fck", |
@@ -1430,6 +1430,7 @@ static struct omap_hwmod_class omap242x_gpio_hwmod_class = { | |||
1430 | /* gpio1 */ | 1430 | /* gpio1 */ |
1431 | static struct omap_hwmod_irq_info omap242x_gpio1_irqs[] = { | 1431 | static struct omap_hwmod_irq_info omap242x_gpio1_irqs[] = { |
1432 | { .irq = 29 }, /* INT_24XX_GPIO_BANK1 */ | 1432 | { .irq = 29 }, /* INT_24XX_GPIO_BANK1 */ |
1433 | { .irq = -1 } | ||
1433 | }; | 1434 | }; |
1434 | 1435 | ||
1435 | static struct omap_hwmod_ocp_if *omap2420_gpio1_slaves[] = { | 1436 | static struct omap_hwmod_ocp_if *omap2420_gpio1_slaves[] = { |
@@ -1440,7 +1441,6 @@ static struct omap_hwmod omap2420_gpio1_hwmod = { | |||
1440 | .name = "gpio1", | 1441 | .name = "gpio1", |
1441 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, | 1442 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, |
1442 | .mpu_irqs = omap242x_gpio1_irqs, | 1443 | .mpu_irqs = omap242x_gpio1_irqs, |
1443 | .mpu_irqs_cnt = ARRAY_SIZE(omap242x_gpio1_irqs), | ||
1444 | .main_clk = "gpios_fck", | 1444 | .main_clk = "gpios_fck", |
1445 | .prcm = { | 1445 | .prcm = { |
1446 | .omap2 = { | 1446 | .omap2 = { |
@@ -1461,6 +1461,7 @@ static struct omap_hwmod omap2420_gpio1_hwmod = { | |||
1461 | /* gpio2 */ | 1461 | /* gpio2 */ |
1462 | static struct omap_hwmod_irq_info omap242x_gpio2_irqs[] = { | 1462 | static struct omap_hwmod_irq_info omap242x_gpio2_irqs[] = { |
1463 | { .irq = 30 }, /* INT_24XX_GPIO_BANK2 */ | 1463 | { .irq = 30 }, /* INT_24XX_GPIO_BANK2 */ |
1464 | { .irq = -1 } | ||
1464 | }; | 1465 | }; |
1465 | 1466 | ||
1466 | static struct omap_hwmod_ocp_if *omap2420_gpio2_slaves[] = { | 1467 | static struct omap_hwmod_ocp_if *omap2420_gpio2_slaves[] = { |
@@ -1471,7 +1472,6 @@ static struct omap_hwmod omap2420_gpio2_hwmod = { | |||
1471 | .name = "gpio2", | 1472 | .name = "gpio2", |
1472 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, | 1473 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, |
1473 | .mpu_irqs = omap242x_gpio2_irqs, | 1474 | .mpu_irqs = omap242x_gpio2_irqs, |
1474 | .mpu_irqs_cnt = ARRAY_SIZE(omap242x_gpio2_irqs), | ||
1475 | .main_clk = "gpios_fck", | 1475 | .main_clk = "gpios_fck", |
1476 | .prcm = { | 1476 | .prcm = { |
1477 | .omap2 = { | 1477 | .omap2 = { |
@@ -1492,6 +1492,7 @@ static struct omap_hwmod omap2420_gpio2_hwmod = { | |||
1492 | /* gpio3 */ | 1492 | /* gpio3 */ |
1493 | static struct omap_hwmod_irq_info omap242x_gpio3_irqs[] = { | 1493 | static struct omap_hwmod_irq_info omap242x_gpio3_irqs[] = { |
1494 | { .irq = 31 }, /* INT_24XX_GPIO_BANK3 */ | 1494 | { .irq = 31 }, /* INT_24XX_GPIO_BANK3 */ |
1495 | { .irq = -1 } | ||
1495 | }; | 1496 | }; |
1496 | 1497 | ||
1497 | static struct omap_hwmod_ocp_if *omap2420_gpio3_slaves[] = { | 1498 | static struct omap_hwmod_ocp_if *omap2420_gpio3_slaves[] = { |
@@ -1502,7 +1503,6 @@ static struct omap_hwmod omap2420_gpio3_hwmod = { | |||
1502 | .name = "gpio3", | 1503 | .name = "gpio3", |
1503 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, | 1504 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, |
1504 | .mpu_irqs = omap242x_gpio3_irqs, | 1505 | .mpu_irqs = omap242x_gpio3_irqs, |
1505 | .mpu_irqs_cnt = ARRAY_SIZE(omap242x_gpio3_irqs), | ||
1506 | .main_clk = "gpios_fck", | 1506 | .main_clk = "gpios_fck", |
1507 | .prcm = { | 1507 | .prcm = { |
1508 | .omap2 = { | 1508 | .omap2 = { |
@@ -1523,6 +1523,7 @@ static struct omap_hwmod omap2420_gpio3_hwmod = { | |||
1523 | /* gpio4 */ | 1523 | /* gpio4 */ |
1524 | static struct omap_hwmod_irq_info omap242x_gpio4_irqs[] = { | 1524 | static struct omap_hwmod_irq_info omap242x_gpio4_irqs[] = { |
1525 | { .irq = 32 }, /* INT_24XX_GPIO_BANK4 */ | 1525 | { .irq = 32 }, /* INT_24XX_GPIO_BANK4 */ |
1526 | { .irq = -1 } | ||
1526 | }; | 1527 | }; |
1527 | 1528 | ||
1528 | static struct omap_hwmod_ocp_if *omap2420_gpio4_slaves[] = { | 1529 | static struct omap_hwmod_ocp_if *omap2420_gpio4_slaves[] = { |
@@ -1533,7 +1534,6 @@ static struct omap_hwmod omap2420_gpio4_hwmod = { | |||
1533 | .name = "gpio4", | 1534 | .name = "gpio4", |
1534 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, | 1535 | .flags = HWMOD_CONTROL_OPT_CLKS_IN_RESET, |
1535 | .mpu_irqs = omap242x_gpio4_irqs, | 1536 | .mpu_irqs = omap242x_gpio4_irqs, |
1536 | .mpu_irqs_cnt = ARRAY_SIZE(omap242x_gpio4_irqs), | ||
1537 | .main_clk = "gpios_fck", | 1537 | .main_clk = "gpios_fck", |
1538 | .prcm = { | 1538 | .prcm = { |
1539 | .omap2 = { | 1539 | .omap2 = { |
@@ -1580,6 +1580,7 @@ static struct omap_hwmod_irq_info omap2420_dma_system_irqs[] = { | |||
1580 | { .name = "1", .irq = 13 }, /* INT_24XX_SDMA_IRQ1 */ | 1580 | { .name = "1", .irq = 13 }, /* INT_24XX_SDMA_IRQ1 */ |
1581 | { .name = "2", .irq = 14 }, /* INT_24XX_SDMA_IRQ2 */ | 1581 | { .name = "2", .irq = 14 }, /* INT_24XX_SDMA_IRQ2 */ |
1582 | { .name = "3", .irq = 15 }, /* INT_24XX_SDMA_IRQ3 */ | 1582 | { .name = "3", .irq = 15 }, /* INT_24XX_SDMA_IRQ3 */ |
1583 | { .irq = -1 } | ||
1583 | }; | 1584 | }; |
1584 | 1585 | ||
1585 | /* dma_system -> L3 */ | 1586 | /* dma_system -> L3 */ |
@@ -1613,7 +1614,6 @@ static struct omap_hwmod omap2420_dma_system_hwmod = { | |||
1613 | .name = "dma", | 1614 | .name = "dma", |
1614 | .class = &omap2420_dma_hwmod_class, | 1615 | .class = &omap2420_dma_hwmod_class, |
1615 | .mpu_irqs = omap2420_dma_system_irqs, | 1616 | .mpu_irqs = omap2420_dma_system_irqs, |
1616 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_dma_system_irqs), | ||
1617 | .main_clk = "core_l3_ck", | 1617 | .main_clk = "core_l3_ck", |
1618 | .slaves = omap2420_dma_system_slaves, | 1618 | .slaves = omap2420_dma_system_slaves, |
1619 | .slaves_cnt = ARRAY_SIZE(omap2420_dma_system_slaves), | 1619 | .slaves_cnt = ARRAY_SIZE(omap2420_dma_system_slaves), |
@@ -1650,6 +1650,7 @@ static struct omap_hwmod omap2420_mailbox_hwmod; | |||
1650 | static struct omap_hwmod_irq_info omap2420_mailbox_irqs[] = { | 1650 | static struct omap_hwmod_irq_info omap2420_mailbox_irqs[] = { |
1651 | { .name = "dsp", .irq = 26 }, | 1651 | { .name = "dsp", .irq = 26 }, |
1652 | { .name = "iva", .irq = 34 }, | 1652 | { .name = "iva", .irq = 34 }, |
1653 | { .irq = -1 } | ||
1653 | }; | 1654 | }; |
1654 | 1655 | ||
1655 | /* l4_core -> mailbox */ | 1656 | /* l4_core -> mailbox */ |
@@ -1669,7 +1670,6 @@ static struct omap_hwmod omap2420_mailbox_hwmod = { | |||
1669 | .name = "mailbox", | 1670 | .name = "mailbox", |
1670 | .class = &omap2420_mailbox_hwmod_class, | 1671 | .class = &omap2420_mailbox_hwmod_class, |
1671 | .mpu_irqs = omap2420_mailbox_irqs, | 1672 | .mpu_irqs = omap2420_mailbox_irqs, |
1672 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_mailbox_irqs), | ||
1673 | .main_clk = "mailboxes_ick", | 1673 | .main_clk = "mailboxes_ick", |
1674 | .prcm = { | 1674 | .prcm = { |
1675 | .omap2 = { | 1675 | .omap2 = { |
@@ -1711,6 +1711,7 @@ static struct omap_hwmod_class omap2420_mcspi_class = { | |||
1711 | /* mcspi1 */ | 1711 | /* mcspi1 */ |
1712 | static struct omap_hwmod_irq_info omap2420_mcspi1_mpu_irqs[] = { | 1712 | static struct omap_hwmod_irq_info omap2420_mcspi1_mpu_irqs[] = { |
1713 | { .irq = 65 }, | 1713 | { .irq = 65 }, |
1714 | { .irq = -1 } | ||
1714 | }; | 1715 | }; |
1715 | 1716 | ||
1716 | static struct omap_hwmod_dma_info omap2420_mcspi1_sdma_reqs[] = { | 1717 | static struct omap_hwmod_dma_info omap2420_mcspi1_sdma_reqs[] = { |
@@ -1735,7 +1736,6 @@ static struct omap2_mcspi_dev_attr omap_mcspi1_dev_attr = { | |||
1735 | static struct omap_hwmod omap2420_mcspi1_hwmod = { | 1736 | static struct omap_hwmod omap2420_mcspi1_hwmod = { |
1736 | .name = "mcspi1_hwmod", | 1737 | .name = "mcspi1_hwmod", |
1737 | .mpu_irqs = omap2420_mcspi1_mpu_irqs, | 1738 | .mpu_irqs = omap2420_mcspi1_mpu_irqs, |
1738 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_mcspi1_mpu_irqs), | ||
1739 | .sdma_reqs = omap2420_mcspi1_sdma_reqs, | 1739 | .sdma_reqs = omap2420_mcspi1_sdma_reqs, |
1740 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcspi1_sdma_reqs), | 1740 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcspi1_sdma_reqs), |
1741 | .main_clk = "mcspi1_fck", | 1741 | .main_clk = "mcspi1_fck", |
@@ -1758,6 +1758,7 @@ static struct omap_hwmod omap2420_mcspi1_hwmod = { | |||
1758 | /* mcspi2 */ | 1758 | /* mcspi2 */ |
1759 | static struct omap_hwmod_irq_info omap2420_mcspi2_mpu_irqs[] = { | 1759 | static struct omap_hwmod_irq_info omap2420_mcspi2_mpu_irqs[] = { |
1760 | { .irq = 66 }, | 1760 | { .irq = 66 }, |
1761 | { .irq = -1 } | ||
1761 | }; | 1762 | }; |
1762 | 1763 | ||
1763 | static struct omap_hwmod_dma_info omap2420_mcspi2_sdma_reqs[] = { | 1764 | static struct omap_hwmod_dma_info omap2420_mcspi2_sdma_reqs[] = { |
@@ -1778,7 +1779,6 @@ static struct omap2_mcspi_dev_attr omap_mcspi2_dev_attr = { | |||
1778 | static struct omap_hwmod omap2420_mcspi2_hwmod = { | 1779 | static struct omap_hwmod omap2420_mcspi2_hwmod = { |
1779 | .name = "mcspi2_hwmod", | 1780 | .name = "mcspi2_hwmod", |
1780 | .mpu_irqs = omap2420_mcspi2_mpu_irqs, | 1781 | .mpu_irqs = omap2420_mcspi2_mpu_irqs, |
1781 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_mcspi2_mpu_irqs), | ||
1782 | .sdma_reqs = omap2420_mcspi2_sdma_reqs, | 1782 | .sdma_reqs = omap2420_mcspi2_sdma_reqs, |
1783 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcspi2_sdma_reqs), | 1783 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcspi2_sdma_reqs), |
1784 | .main_clk = "mcspi2_fck", | 1784 | .main_clk = "mcspi2_fck", |
@@ -1811,6 +1811,7 @@ static struct omap_hwmod_class omap2420_mcbsp_hwmod_class = { | |||
1811 | static struct omap_hwmod_irq_info omap2420_mcbsp1_irqs[] = { | 1811 | static struct omap_hwmod_irq_info omap2420_mcbsp1_irqs[] = { |
1812 | { .name = "tx", .irq = 59 }, | 1812 | { .name = "tx", .irq = 59 }, |
1813 | { .name = "rx", .irq = 60 }, | 1813 | { .name = "rx", .irq = 60 }, |
1814 | { .irq = -1 } | ||
1814 | }; | 1815 | }; |
1815 | 1816 | ||
1816 | static struct omap_hwmod_dma_info omap2420_mcbsp1_sdma_chs[] = { | 1817 | static struct omap_hwmod_dma_info omap2420_mcbsp1_sdma_chs[] = { |
@@ -1836,7 +1837,6 @@ static struct omap_hwmod omap2420_mcbsp1_hwmod = { | |||
1836 | .name = "mcbsp1", | 1837 | .name = "mcbsp1", |
1837 | .class = &omap2420_mcbsp_hwmod_class, | 1838 | .class = &omap2420_mcbsp_hwmod_class, |
1838 | .mpu_irqs = omap2420_mcbsp1_irqs, | 1839 | .mpu_irqs = omap2420_mcbsp1_irqs, |
1839 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_mcbsp1_irqs), | ||
1840 | .sdma_reqs = omap2420_mcbsp1_sdma_chs, | 1840 | .sdma_reqs = omap2420_mcbsp1_sdma_chs, |
1841 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcbsp1_sdma_chs), | 1841 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcbsp1_sdma_chs), |
1842 | .main_clk = "mcbsp1_fck", | 1842 | .main_clk = "mcbsp1_fck", |
@@ -1858,6 +1858,7 @@ static struct omap_hwmod omap2420_mcbsp1_hwmod = { | |||
1858 | static struct omap_hwmod_irq_info omap2420_mcbsp2_irqs[] = { | 1858 | static struct omap_hwmod_irq_info omap2420_mcbsp2_irqs[] = { |
1859 | { .name = "tx", .irq = 62 }, | 1859 | { .name = "tx", .irq = 62 }, |
1860 | { .name = "rx", .irq = 63 }, | 1860 | { .name = "rx", .irq = 63 }, |
1861 | { .irq = -1 } | ||
1861 | }; | 1862 | }; |
1862 | 1863 | ||
1863 | static struct omap_hwmod_dma_info omap2420_mcbsp2_sdma_chs[] = { | 1864 | static struct omap_hwmod_dma_info omap2420_mcbsp2_sdma_chs[] = { |
@@ -1883,7 +1884,6 @@ static struct omap_hwmod omap2420_mcbsp2_hwmod = { | |||
1883 | .name = "mcbsp2", | 1884 | .name = "mcbsp2", |
1884 | .class = &omap2420_mcbsp_hwmod_class, | 1885 | .class = &omap2420_mcbsp_hwmod_class, |
1885 | .mpu_irqs = omap2420_mcbsp2_irqs, | 1886 | .mpu_irqs = omap2420_mcbsp2_irqs, |
1886 | .mpu_irqs_cnt = ARRAY_SIZE(omap2420_mcbsp2_irqs), | ||
1887 | .sdma_reqs = omap2420_mcbsp2_sdma_chs, | 1887 | .sdma_reqs = omap2420_mcbsp2_sdma_chs, |
1888 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcbsp2_sdma_chs), | 1888 | .sdma_reqs_cnt = ARRAY_SIZE(omap2420_mcbsp2_sdma_chs), |
1889 | .main_clk = "mcbsp2_fck", | 1889 | .main_clk = "mcbsp2_fck", |