diff options
47 files changed, 1002 insertions, 1657 deletions
diff --git a/arch/arm/mach-omap2/am35xx-emac.c b/arch/arm/mach-omap2/am35xx-emac.c index af11dcdb7e2c..a00d39107a21 100644 --- a/arch/arm/mach-omap2/am35xx-emac.c +++ b/arch/arm/mach-omap2/am35xx-emac.c | |||
| @@ -63,7 +63,7 @@ static int __init omap_davinci_emac_dev_init(struct omap_hwmod *oh, | |||
| 63 | struct platform_device *pdev; | 63 | struct platform_device *pdev; |
| 64 | 64 | ||
| 65 | pdev = omap_device_build(oh->class->name, 0, oh, pdata, pdata_len, | 65 | pdev = omap_device_build(oh->class->name, 0, oh, pdata, pdata_len, |
| 66 | NULL, 0, false); | 66 | false); |
| 67 | if (IS_ERR(pdev)) { | 67 | if (IS_ERR(pdev)) { |
| 68 | WARN(1, "Can't build omap_device for %s:%s.\n", | 68 | WARN(1, "Can't build omap_device for %s:%s.\n", |
| 69 | oh->class->name, oh->name); | 69 | oh->class->name, oh->name); |
diff --git a/arch/arm/mach-omap2/cclock2420_data.c b/arch/arm/mach-omap2/cclock2420_data.c index ab7e952d2070..0f0a97c1fcc0 100644 --- a/arch/arm/mach-omap2/cclock2420_data.c +++ b/arch/arm/mach-omap2/cclock2420_data.c | |||
| @@ -622,15 +622,10 @@ static struct clk_hw_omap gpios_fck_hw = { | |||
| 622 | 622 | ||
| 623 | DEFINE_STRUCT_CLK(gpios_fck, gpios_fck_parent_names, aes_ick_ops); | 623 | DEFINE_STRUCT_CLK(gpios_fck, gpios_fck_parent_names, aes_ick_ops); |
| 624 | 624 | ||
| 625 | static struct clk wu_l4_ick; | ||
| 626 | |||
| 627 | DEFINE_STRUCT_CLK_HW_OMAP(wu_l4_ick, "wkup_clkdm"); | ||
| 628 | DEFINE_STRUCT_CLK(wu_l4_ick, dpll_ck_parent_names, core_ck_ops); | ||
| 629 | |||
| 630 | static struct clk gpios_ick; | 625 | static struct clk gpios_ick; |
| 631 | 626 | ||
| 632 | static const char *gpios_ick_parent_names[] = { | 627 | static const char *gpios_ick_parent_names[] = { |
| 633 | "wu_l4_ick", | 628 | "sys_ck", |
| 634 | }; | 629 | }; |
| 635 | 630 | ||
| 636 | static struct clk_hw_omap gpios_ick_hw = { | 631 | static struct clk_hw_omap gpios_ick_hw = { |
| @@ -1682,13 +1677,6 @@ static struct clk_hw_omap wdt1_ick_hw = { | |||
| 1682 | 1677 | ||
| 1683 | DEFINE_STRUCT_CLK(wdt1_ick, gpios_ick_parent_names, aes_ick_ops); | 1678 | DEFINE_STRUCT_CLK(wdt1_ick, gpios_ick_parent_names, aes_ick_ops); |
| 1684 | 1679 | ||
| 1685 | static struct clk wdt1_osc_ck; | ||
| 1686 | |||
| 1687 | static const struct clk_ops wdt1_osc_ck_ops = {}; | ||
| 1688 | |||
| 1689 | DEFINE_STRUCT_CLK_HW_OMAP(wdt1_osc_ck, NULL); | ||
| 1690 | DEFINE_STRUCT_CLK(wdt1_osc_ck, sys_ck_parent_names, wdt1_osc_ck_ops); | ||
| 1691 | |||
| 1692 | static struct clk wdt3_fck; | 1680 | static struct clk wdt3_fck; |
| 1693 | 1681 | ||
| 1694 | static struct clk_hw_omap wdt3_fck_hw = { | 1682 | static struct clk_hw_omap wdt3_fck_hw = { |
| @@ -1767,7 +1755,6 @@ static struct omap_clk omap2420_clks[] = { | |||
| 1767 | CLK(NULL, "func_96m_ck", &func_96m_ck, CK_242X), | 1755 | CLK(NULL, "func_96m_ck", &func_96m_ck, CK_242X), |
| 1768 | CLK(NULL, "func_48m_ck", &func_48m_ck, CK_242X), | 1756 | CLK(NULL, "func_48m_ck", &func_48m_ck, CK_242X), |
| 1769 | CLK(NULL, "func_12m_ck", &func_12m_ck, CK_242X), | 1757 | CLK(NULL, "func_12m_ck", &func_12m_ck, CK_242X), |
| 1770 | CLK(NULL, "ck_wdt1_osc", &wdt1_osc_ck, CK_242X), | ||
| 1771 | CLK(NULL, "sys_clkout_src", &sys_clkout_src, CK_242X), | 1758 | CLK(NULL, "sys_clkout_src", &sys_clkout_src, CK_242X), |
| 1772 | CLK(NULL, "sys_clkout", &sys_clkout, CK_242X), | 1759 | CLK(NULL, "sys_clkout", &sys_clkout, CK_242X), |
| 1773 | CLK(NULL, "sys_clkout2_src", &sys_clkout2_src, CK_242X), | 1760 | CLK(NULL, "sys_clkout2_src", &sys_clkout2_src, CK_242X), |
| @@ -1797,7 +1784,6 @@ static struct omap_clk omap2420_clks[] = { | |||
| 1797 | /* L4 domain clocks */ | 1784 | /* L4 domain clocks */ |
| 1798 | CLK(NULL, "l4_ck", &l4_ck, CK_242X), | 1785 | CLK(NULL, "l4_ck", &l4_ck, CK_242X), |
| 1799 | CLK(NULL, "ssi_l4_ick", &ssi_l4_ick, CK_242X), | 1786 | CLK(NULL, "ssi_l4_ick", &ssi_l4_ick, CK_242X), |
| 1800 | CLK(NULL, "wu_l4_ick", &wu_l4_ick, CK_242X), | ||
| 1801 | /* virtual meta-group clock */ | 1787 | /* virtual meta-group clock */ |
| 1802 | CLK(NULL, "virt_prcm_set", &virt_prcm_set, CK_242X), | 1788 | CLK(NULL, "virt_prcm_set", &virt_prcm_set, CK_242X), |
| 1803 | /* general l4 interface ck, multi-parent functional clk */ | 1789 | /* general l4 interface ck, multi-parent functional clk */ |
diff --git a/arch/arm/mach-omap2/cclock2430_data.c b/arch/arm/mach-omap2/cclock2430_data.c index eb3dab68d536..aed8f74ca076 100644 --- a/arch/arm/mach-omap2/cclock2430_data.c +++ b/arch/arm/mach-omap2/cclock2430_data.c | |||
| @@ -601,15 +601,10 @@ static struct clk_hw_omap gpios_fck_hw = { | |||
| 601 | 601 | ||
| 602 | DEFINE_STRUCT_CLK(gpios_fck, gpio5_fck_parent_names, aes_ick_ops); | 602 | DEFINE_STRUCT_CLK(gpios_fck, gpio5_fck_parent_names, aes_ick_ops); |
| 603 | 603 | ||
| 604 | static struct clk wu_l4_ick; | ||
| 605 | |||
| 606 | DEFINE_STRUCT_CLK_HW_OMAP(wu_l4_ick, "wkup_clkdm"); | ||
| 607 | DEFINE_STRUCT_CLK(wu_l4_ick, dpll_ck_parent_names, core_ck_ops); | ||
| 608 | |||
| 609 | static struct clk gpios_ick; | 604 | static struct clk gpios_ick; |
| 610 | 605 | ||
| 611 | static const char *gpios_ick_parent_names[] = { | 606 | static const char *gpios_ick_parent_names[] = { |
| 612 | "wu_l4_ick", | 607 | "sys_ck", |
| 613 | }; | 608 | }; |
| 614 | 609 | ||
| 615 | static struct clk_hw_omap gpios_ick_hw = { | 610 | static struct clk_hw_omap gpios_ick_hw = { |
| @@ -1811,13 +1806,6 @@ static struct clk_hw_omap wdt1_ick_hw = { | |||
| 1811 | 1806 | ||
| 1812 | DEFINE_STRUCT_CLK(wdt1_ick, gpios_ick_parent_names, aes_ick_ops); | 1807 | DEFINE_STRUCT_CLK(wdt1_ick, gpios_ick_parent_names, aes_ick_ops); |
| 1813 | 1808 | ||
| 1814 | static struct clk wdt1_osc_ck; | ||
| 1815 | |||
| 1816 | static const struct clk_ops wdt1_osc_ck_ops = {}; | ||
| 1817 | |||
| 1818 | DEFINE_STRUCT_CLK_HW_OMAP(wdt1_osc_ck, NULL); | ||
| 1819 | DEFINE_STRUCT_CLK(wdt1_osc_ck, sys_ck_parent_names, wdt1_osc_ck_ops); | ||
| 1820 | |||
| 1821 | static struct clk wdt4_fck; | 1809 | static struct clk wdt4_fck; |
| 1822 | 1810 | ||
| 1823 | static struct clk_hw_omap wdt4_fck_hw = { | 1811 | static struct clk_hw_omap wdt4_fck_hw = { |
| @@ -1869,7 +1857,6 @@ static struct omap_clk omap2430_clks[] = { | |||
| 1869 | CLK(NULL, "func_96m_ck", &func_96m_ck, CK_243X), | 1857 | CLK(NULL, "func_96m_ck", &func_96m_ck, CK_243X), |
| 1870 | CLK(NULL, "func_48m_ck", &func_48m_ck, CK_243X), | 1858 | CLK(NULL, "func_48m_ck", &func_48m_ck, CK_243X), |
| 1871 | CLK(NULL, "func_12m_ck", &func_12m_ck, CK_243 | ||
