diff options
Diffstat (limited to 'arch/arm/mach-omap2/prm_common.c')
-rw-r--r-- | arch/arm/mach-omap2/prm_common.c | 23 |
1 files changed, 2 insertions, 21 deletions
diff --git a/arch/arm/mach-omap2/prm_common.c b/arch/arm/mach-omap2/prm_common.c index 1bfd00e10f76..6cbebbe252c4 100644 --- a/arch/arm/mach-omap2/prm_common.c +++ b/arch/arm/mach-omap2/prm_common.c | |||
@@ -637,43 +637,22 @@ static struct omap_prcm_init_data prm_data = { | |||
637 | .index = TI_CLKM_PRM, | 637 | .index = TI_CLKM_PRM, |
638 | }; | 638 | }; |
639 | 639 | ||
640 | static struct omap_prcm_init_data cm_data = { | ||
641 | .index = TI_CLKM_CM, | ||
642 | }; | ||
643 | |||
644 | static struct omap_prcm_init_data cm2_data = { | ||
645 | .index = TI_CLKM_CM2, | ||
646 | }; | ||
647 | |||
648 | static struct omap_prcm_init_data scrm_data = { | 640 | static struct omap_prcm_init_data scrm_data = { |
649 | .index = TI_CLKM_SCRM, | 641 | .index = TI_CLKM_SCRM, |
650 | }; | 642 | }; |
651 | 643 | ||
652 | static const struct of_device_id omap_prcm_dt_match_table[] = { | 644 | static const struct of_device_id omap_prcm_dt_match_table[] = { |
653 | { .compatible = "ti,am3-prcm", .data = &prm_data }, | 645 | { .compatible = "ti,am3-prcm", .data = &prm_data }, |
654 | { .compatible = "ti,am3-scrm", .data = &scrm_data }, | ||
655 | { .compatible = "ti,am4-prcm", .data = &prm_data }, | 646 | { .compatible = "ti,am4-prcm", .data = &prm_data }, |
656 | { .compatible = "ti,am4-scrm", .data = &scrm_data }, | ||
657 | { .compatible = "ti,dm814-prcm", .data = &prm_data }, | 647 | { .compatible = "ti,dm814-prcm", .data = &prm_data }, |
658 | { .compatible = "ti,dm814-scrm", .data = &scrm_data }, | ||
659 | { .compatible = "ti,dm816-prcm", .data = &prm_data }, | 648 | { .compatible = "ti,dm816-prcm", .data = &prm_data }, |
660 | { .compatible = "ti,dm816-scrm", .data = &scrm_data }, | ||
661 | { .compatible = "ti,omap2-prcm", .data = &prm_data }, | 649 | { .compatible = "ti,omap2-prcm", .data = &prm_data }, |
662 | { .compatible = "ti,omap2-scrm", .data = &scrm_data }, | ||
663 | { .compatible = "ti,omap3-prm", .data = &prm_data }, | 650 | { .compatible = "ti,omap3-prm", .data = &prm_data }, |
664 | { .compatible = "ti,omap3-cm", .data = &cm_data }, | ||
665 | { .compatible = "ti,omap3-scrm", .data = &scrm_data }, | ||
666 | { .compatible = "ti,omap4-cm1", .data = &cm_data }, | ||
667 | { .compatible = "ti,omap4-prm", .data = &prm_data }, | 651 | { .compatible = "ti,omap4-prm", .data = &prm_data }, |
668 | { .compatible = "ti,omap4-cm2", .data = &cm2_data }, | ||
669 | { .compatible = "ti,omap4-scrm", .data = &scrm_data }, | 652 | { .compatible = "ti,omap4-scrm", .data = &scrm_data }, |
670 | { .compatible = "ti,omap5-prm", .data = &prm_data }, | 653 | { .compatible = "ti,omap5-prm", .data = &prm_data }, |
671 | { .compatible = "ti,omap5-cm-core-aon", .data = &cm_data }, | ||
672 | { .compatible = "ti,omap5-scrm", .data = &scrm_data }, | 654 | { .compatible = "ti,omap5-scrm", .data = &scrm_data }, |
673 | { .compatible = "ti,omap5-cm-core", .data = &cm2_data }, | ||
674 | { .compatible = "ti,dra7-prm", .data = &prm_data }, | 655 | { .compatible = "ti,dra7-prm", .data = &prm_data }, |
675 | { .compatible = "ti,dra7-cm-core-aon", .data = &cm_data }, | ||
676 | { .compatible = "ti,dra7-cm-core", .data = &cm2_data }, | ||
677 | { } | 656 | { } |
678 | }; | 657 | }; |
679 | 658 | ||
@@ -703,6 +682,8 @@ int __init omap_prcm_init(void) | |||
703 | return ret; | 682 | return ret; |
704 | } | 683 | } |
705 | 684 | ||
685 | omap_cm_init(); | ||
686 | |||
706 | return 0; | 687 | return 0; |
707 | } | 688 | } |
708 | 689 | ||