diff options
Diffstat (limited to 'arch/arm/mach-omap2/cclock2420_data.c')
-rw-r--r-- | arch/arm/mach-omap2/cclock2420_data.c | 283 |
1 files changed, 138 insertions, 145 deletions
diff --git a/arch/arm/mach-omap2/cclock2420_data.c b/arch/arm/mach-omap2/cclock2420_data.c index 0f0a97c1fcc0..3662f4d4c8ea 100644 --- a/arch/arm/mach-omap2/cclock2420_data.c +++ b/arch/arm/mach-omap2/cclock2420_data.c | |||
@@ -1739,153 +1739,153 @@ DEFINE_STRUCT_CLK(wdt4_ick, aes_ick_parent_names, aes_ick_ops); | |||
1739 | 1739 | ||
1740 | static struct omap_clk omap2420_clks[] = { | 1740 | static struct omap_clk omap2420_clks[] = { |
1741 | /* external root sources */ | 1741 | /* external root sources */ |
1742 | CLK(NULL, "func_32k_ck", &func_32k_ck, CK_242X), | 1742 | CLK(NULL, "func_32k_ck", &func_32k_ck), |
1743 | CLK(NULL, "secure_32k_ck", &secure_32k_ck, CK_242X), | 1743 | CLK(NULL, "secure_32k_ck", &secure_32k_ck), |
1744 | CLK(NULL, "osc_ck", &osc_ck, CK_242X), | 1744 | CLK(NULL, "osc_ck", &osc_ck), |
1745 | CLK(NULL, "sys_ck", &sys_ck, CK_242X), | 1745 | CLK(NULL, "sys_ck", &sys_ck), |
1746 | CLK(NULL, "alt_ck", &alt_ck, CK_242X), | 1746 | CLK(NULL, "alt_ck", &alt_ck), |
1747 | CLK(NULL, "mcbsp_clks", &mcbsp_clks, CK_242X), | 1747 | CLK(NULL, "mcbsp_clks", &mcbsp_clks), |
1748 | /* internal analog sources */ | 1748 | /* internal analog sources */ |
1749 | CLK(NULL, "dpll_ck", &dpll_ck, CK_242X), | 1749 | CLK(NULL, "dpll_ck", &dpll_ck), |
1750 | CLK(NULL, "apll96_ck", &apll96_ck, CK_242X), | 1750 | CLK(NULL, "apll96_ck", &apll96_ck), |
1751 | CLK(NULL, "apll54_ck", &apll54_ck, CK_242X), | 1751 | CLK(NULL, "apll54_ck", &apll54_ck), |
1752 | /* internal prcm root sources */ | 1752 | /* internal prcm root sources */ |
1753 | CLK(NULL, "func_54m_ck", &func_54m_ck, CK_242X), | 1753 | CLK(NULL, "func_54m_ck", &func_54m_ck), |
1754 | CLK(NULL, "core_ck", &core_ck, CK_242X), | 1754 | CLK(NULL, "core_ck", &core_ck), |
1755 | CLK(NULL, "func_96m_ck", &func_96m_ck, CK_242X), | 1755 | CLK(NULL, "func_96m_ck", &func_96m_ck), |
1756 | CLK(NULL, "func_48m_ck", &func_48m_ck, CK_242X), | 1756 | CLK(NULL, "func_48m_ck", &func_48m_ck), |
1757 | CLK(NULL, "func_12m_ck", &func_12m_ck, CK_242X), | 1757 | CLK(NULL, "func_12m_ck", &func_12m_ck), |
1758 | CLK(NULL, "sys_clkout_src", &sys_clkout_src, CK_242X), | 1758 | CLK(NULL, "sys_clkout_src", &sys_clkout_src), |
1759 | CLK(NULL, "sys_clkout", &sys_clkout, CK_242X), | 1759 | CLK(NULL, "sys_clkout", &sys_clkout), |
1760 | CLK(NULL, "sys_clkout2_src", &sys_clkout2_src, CK_242X), | 1760 | CLK(NULL, "sys_clkout2_src", &sys_clkout2_src), |
1761 | CLK(NULL, "sys_clkout2", &sys_clkout2, CK_242X), | 1761 | CLK(NULL, "sys_clkout2", &sys_clkout2), |
1762 | CLK(NULL, "emul_ck", &emul_ck, CK_242X), | 1762 | CLK(NULL, "emul_ck", &emul_ck), |
1763 | /* mpu domain clocks */ | 1763 | /* mpu domain clocks */ |
1764 | CLK(NULL, "mpu_ck", &mpu_ck, CK_242X), | 1764 | CLK(NULL, "mpu_ck", &mpu_ck), |
1765 | /* dsp domain clocks */ | 1765 | /* dsp domain clocks */ |
1766 | CLK(NULL, "dsp_fck", &dsp_fck, CK_242X), | 1766 | CLK(NULL, "dsp_fck", &dsp_fck), |
1767 | CLK(NULL, "dsp_ick", &dsp_ick, CK_242X), | 1767 | CLK(NULL, "dsp_ick", &dsp_ick), |
1768 | CLK(NULL, "iva1_ifck", &iva1_ifck, CK_242X), | 1768 | CLK(NULL, "iva1_ifck", &iva1_ifck), |
1769 | CLK(NULL, "iva1_mpu_int_ifck", &iva1_mpu_int_ifck, CK_242X), | 1769 | CLK(NULL, "iva1_mpu_int_ifck", &iva1_mpu_int_ifck), |
1770 | /* GFX domain clocks */ | 1770 | /* GFX domain clocks */ |
1771 | CLK(NULL, "gfx_3d_fck", &gfx_3d_fck, CK_242X), | 1771 | CLK(NULL, "gfx_3d_fck", &gfx_3d_fck), |
1772 | CLK(NULL, "gfx_2d_fck", &gfx_2d_fck, CK_242X), | 1772 | CLK(NULL, "gfx_2d_fck", &gfx_2d_fck), |
1773 | CLK(NULL, "gfx_ick", &gfx_ick, CK_242X), | 1773 | CLK(NULL, "gfx_ick", &gfx_ick), |
1774 | /* DSS domain clocks */ | 1774 | /* DSS domain clocks */ |
1775 | CLK("omapdss_dss", "ick", &dss_ick, CK_242X), | 1775 | CLK("omapdss_dss", "ick", &dss_ick), |
1776 | CLK(NULL, "dss_ick", &dss_ick, CK_242X), | 1776 | CLK(NULL, "dss_ick", &dss_ick), |
1777 | CLK(NULL, "dss1_fck", &dss1_fck, CK_242X), | 1777 | CLK(NULL, "dss1_fck", &dss1_fck), |
1778 | CLK(NULL, "dss2_fck", &dss2_fck, CK_242X), | 1778 | CLK(NULL, "dss2_fck", &dss2_fck), |
1779 | CLK(NULL, "dss_54m_fck", &dss_54m_fck, CK_242X), | 1779 | CLK(NULL, "dss_54m_fck", &dss_54m_fck), |
1780 | /* L3 domain clocks */ | 1780 | /* L3 domain clocks */ |
1781 | CLK(NULL, "core_l3_ck", &core_l3_ck, CK_242X), | 1781 | CLK(NULL, "core_l3_ck", &core_l3_ck), |
1782 | CLK(NULL, "ssi_fck", &ssi_ssr_sst_fck, CK_242X), | 1782 | CLK(NULL, "ssi_fck", &ssi_ssr_sst_fck), |
1783 | CLK(NULL, "usb_l4_ick", &usb_l4_ick, CK_242X), | 1783 | CLK(NULL, "usb_l4_ick", &usb_l4_ick), |
1784 | /* L4 domain clocks */ | 1784 | /* L4 domain clocks */ |
1785 | CLK(NULL, "l4_ck", &l4_ck, CK_242X), | 1785 | CLK(NULL, "l4_ck", &l4_ck), |
1786 | CLK(NULL, "ssi_l4_ick", &ssi_l4_ick, CK_242X), | 1786 | CLK(NULL, "ssi_l4_ick", &ssi_l4_ick), |
1787 | /* virtual meta-group clock */ | 1787 | /* virtual meta-group clock */ |
1788 | CLK(NULL, "virt_prcm_set", &virt_prcm_set, CK_242X), | 1788 | CLK(NULL, "virt_prcm_set", &virt_prcm_set), |
1789 | /* general l4 interface ck, multi-parent functional clk */ | 1789 | /* general l4 interface ck, multi-parent functional clk */ |
1790 | CLK(NULL, "gpt1_ick", &gpt1_ick, CK_242X), | 1790 | CLK(NULL, "gpt1_ick", &gpt1_ick), |
1791 | CLK(NULL, "gpt1_fck", &gpt1_fck, CK_242X), | 1791 | CLK(NULL, "gpt1_fck", &gpt1_fck), |
1792 | CLK(NULL, "gpt2_ick", &gpt2_ick, CK_242X), | 1792 | CLK(NULL, "gpt2_ick", &gpt2_ick), |
1793 | CLK(NULL, "gpt2_fck", &gpt2_fck, CK_242X), | 1793 | CLK(NULL, "gpt2_fck", &gpt2_fck), |
1794 | CLK(NULL, "gpt3_ick", &gpt3_ick, CK_242X), | 1794 | CLK(NULL, "gpt3_ick", &gpt3_ick), |
1795 | CLK(NULL, "gpt3_fck", &gpt3_fck, CK_242X), | 1795 | CLK(NULL, "gpt3_fck", &gpt3_fck), |
1796 | CLK(NULL, "gpt4_ick", &gpt4_ick, CK_242X), | 1796 | CLK(NULL, "gpt4_ick", &gpt4_ick), |
1797 | CLK(NULL, "gpt4_fck", &gpt4_fck, CK_242X), | 1797 | CLK(NULL, "gpt4_fck", &gpt4_fck), |
1798 | CLK(NULL, "gpt5_ick", &gpt5_ick, CK_242X), | 1798 | CLK(NULL, "gpt5_ick", &gpt5_ick), |
1799 | CLK(NULL, "gpt5_fck", &gpt5_fck, CK_242X), | 1799 | CLK(NULL, "gpt5_fck", &gpt5_fck), |
1800 | CLK(NULL, "gpt6_ick", &gpt6_ick, CK_242X), | 1800 | CLK(NULL, "gpt6_ick", &gpt6_ick), |
1801 | CLK(NULL, "gpt6_fck", &gpt6_fck, CK_242X), | 1801 | CLK(NULL, "gpt6_fck", &gpt6_fck), |
1802 | CLK(NULL, "gpt7_ick", &gpt7_ick, CK_242X), | 1802 | CLK(NULL, "gpt7_ick", &gpt7_ick), |
1803 | CLK(NULL, "gpt7_fck", &gpt7_fck, CK_242X), | 1803 | CLK(NULL, "gpt7_fck", &gpt7_fck), |
1804 | CLK(NULL, "gpt8_ick", &gpt8_ick, CK_242X), | 1804 | CLK(NULL, "gpt8_ick", &gpt8_ick), |
1805 | CLK(NULL, "gpt8_fck", &gpt8_fck, CK_242X), | 1805 | CLK(NULL, "gpt8_fck", &gpt8_fck), |
1806 | CLK(NULL, "gpt9_ick", &gpt9_ick, CK_242X), | 1806 | CLK(NULL, "gpt9_ick", &gpt9_ick), |
1807 | CLK(NULL, "gpt9_fck", &gpt9_fck, CK_242X), | 1807 | CLK(NULL, "gpt9_fck", &gpt9_fck), |
1808 | CLK(NULL, "gpt10_ick", &gpt10_ick, CK_242X), | 1808 | CLK(NULL, "gpt10_ick", &gpt10_ick), |
1809 | CLK(NULL, "gpt10_fck", &gpt10_fck, CK_242X), | 1809 | CLK(NULL, "gpt10_fck", &gpt10_fck), |
1810 | CLK(NULL, "gpt11_ick", &gpt11_ick, CK_242X), | 1810 | CLK(NULL, "gpt11_ick", &gpt11_ick), |
1811 | CLK(NULL, "gpt11_fck", &gpt11_fck, CK_242X), | 1811 | CLK(NULL, "gpt11_fck", &gpt11_fck), |
1812 | CLK(NULL, "gpt12_ick", &gpt12_ick, CK_242X), | 1812 | CLK(NULL, "gpt12_ick", &gpt12_ick), |
1813 | CLK(NULL, "gpt12_fck", &gpt12_fck, CK_242X), | 1813 | CLK(NULL, "gpt12_fck", &gpt12_fck), |
1814 | CLK("omap-mcbsp.1", "ick", &mcbsp1_ick, CK_242X), | 1814 | CLK("omap-mcbsp.1", "ick", &mcbsp1_ick), |
1815 | CLK(NULL, "mcbsp1_ick", &mcbsp1_ick, CK_242X), | 1815 | CLK(NULL, "mcbsp1_ick", &mcbsp1_ick), |
1816 | CLK(NULL, "mcbsp1_fck", &mcbsp1_fck, CK_242X), | 1816 | CLK(NULL, "mcbsp1_fck", &mcbsp1_fck), |
1817 | CLK("omap-mcbsp.2", "ick", &mcbsp2_ick, CK_242X), | 1817 | CLK("omap-mcbsp.2", "ick", &mcbsp2_ick), |
1818 | CLK(NULL, "mcbsp2_ick", &mcbsp2_ick, CK_242X), | 1818 | CLK(NULL, "mcbsp2_ick", &mcbsp2_ick), |
1819 | CLK(NULL, "mcbsp2_fck", &mcbsp2_fck, CK_242X), | 1819 | CLK(NULL, "mcbsp2_fck", &mcbsp2_fck), |
1820 | CLK("omap2_mcspi.1", "ick", &mcspi1_ick, CK_242X), | 1820 | CLK("omap2_mcspi.1", "ick", &mcspi1_ick), |
1821 | CLK(NULL, "mcspi1_ick", &mcspi1_ick, CK_242X), | 1821 | CLK(NULL, "mcspi1_ick", &mcspi1_ick), |
1822 | CLK(NULL, "mcspi1_fck", &mcspi1_fck, CK_242X), | 1822 | CLK(NULL, "mcspi1_fck", &mcspi1_fck), |
1823 | CLK("omap2_mcspi.2", "ick", &mcspi2_ick, CK_242X), | 1823 | CLK("omap2_mcspi.2", "ick", &mcspi2_ick), |
1824 | CLK(NULL, "mcspi2_ick", &mcspi2_ick, CK_242X), | 1824 | CLK(NULL, "mcspi2_ick", &mcspi2_ick), |
1825 | CLK(NULL, "mcspi2_fck", &mcspi2_fck, CK_242X), | 1825 | CLK(NULL, "mcspi2_fck", &mcspi2_fck), |
1826 | CLK(NULL, "uart1_ick", &uart1_ick, CK_242X), | 1826 | CLK(NULL, "uart1_ick", &uart1_ick), |
1827 | CLK(NULL, "uart1_fck", &uart1_fck, CK_242X), | 1827 | CLK(NULL, "uart1_fck", &uart1_fck), |
1828 | CLK(NULL, "uart2_ick", &uart2_ick, CK_242X), | 1828 | CLK(NULL, "uart2_ick", &uart2_ick), |
1829 | CLK(NULL, "uart2_fck", &uart2_fck, CK_242X), | 1829 | CLK(NULL, "uart2_fck", &uart2_fck), |
1830 | CLK(NULL, "uart3_ick", &uart3_ick, CK_242X), | 1830 | CLK(NULL, "uart3_ick", &uart3_ick), |
1831 | CLK(NULL, "uart3_fck", &uart3_fck, CK_242X), | 1831 | CLK(NULL, "uart3_fck", &uart3_fck), |
1832 | CLK(NULL, "gpios_ick", &gpios_ick, CK_242X), | 1832 | CLK(NULL, "gpios_ick", &gpios_ick), |
1833 | CLK(NULL, "gpios_fck", &gpios_fck, CK_242X), | 1833 | CLK(NULL, "gpios_fck", &gpios_fck), |
1834 | CLK("omap_wdt", "ick", &mpu_wdt_ick, CK_242X), | 1834 | CLK("omap_wdt", "ick", &mpu_wdt_ick), |
1835 | CLK(NULL, "mpu_wdt_ick", &mpu_wdt_ick, CK_242X), | 1835 | CLK(NULL, "mpu_wdt_ick", &mpu_wdt_ick), |
1836 | CLK(NULL, "mpu_wdt_fck", &mpu_wdt_fck, CK_242X), | 1836 | CLK(NULL, "mpu_wdt_fck", &mpu_wdt_fck), |
1837 | CLK(NULL, "sync_32k_ick", &sync_32k_ick, CK_242X), | 1837 | CLK(NULL, "sync_32k_ick", &sync_32k_ick), |
1838 | CLK(NULL, "wdt1_ick", &wdt1_ick, CK_242X), | 1838 | CLK(NULL, "wdt1_ick", &wdt1_ick), |
1839 | CLK(NULL, "omapctrl_ick", &omapctrl_ick, CK_242X), | 1839 | CLK(NULL, "omapctrl_ick", &omapctrl_ick), |
1840 | CLK("omap24xxcam", "fck", &cam_fck, CK_242X), | 1840 | CLK("omap24xxcam", "fck", &cam_fck), |
1841 | CLK(NULL, "cam_fck", &cam_fck, CK_242X), | 1841 | CLK(NULL, "cam_fck", &cam_fck), |
1842 | CLK("omap24xxcam", "ick", &cam_ick, CK_242X), | 1842 | CLK("omap24xxcam", "ick", &cam_ick), |
1843 | CLK(NULL, "cam_ick", &cam_ick, CK_242X), | 1843 | CLK(NULL, "cam_ick", &cam_ick), |
1844 | CLK(NULL, "mailboxes_ick", &mailboxes_ick, CK_242X), | 1844 | CLK(NULL, "mailboxes_ick", &mailboxes_ick), |
1845 | CLK(NULL, "wdt4_ick", &wdt4_ick, CK_242X), | 1845 | CLK(NULL, "wdt4_ick", &wdt4_ick), |
1846 | CLK(NULL, "wdt4_fck", &wdt4_fck, CK_242X), | 1846 | CLK(NULL, "wdt4_fck", &wdt4_fck), |
1847 | CLK(NULL, "wdt3_ick", &wdt3_ick, CK_242X), | 1847 | CLK(NULL, "wdt3_ick", &wdt3_ick), |
1848 | CLK(NULL, "wdt3_fck", &wdt3_fck, CK_242X), | 1848 | CLK(NULL, "wdt3_fck", &wdt3_fck), |
1849 | CLK(NULL, "mspro_ick", &mspro_ick, CK_242X), | 1849 | CLK(NULL, "mspro_ick", &mspro_ick), |
1850 | CLK(NULL, "mspro_fck", &mspro_fck, CK_242X), | 1850 | CLK(NULL, "mspro_fck", &mspro_fck), |
1851 | CLK("mmci-omap.0", "ick", &mmc_ick, CK_242X), | 1851 | CLK("mmci-omap.0", "ick", &mmc_ick), |
1852 | CLK(NULL, "mmc_ick", &mmc_ick, CK_242X), | 1852 | CLK(NULL, "mmc_ick", &mmc_ick), |
1853 | CLK("mmci-omap.0", "fck", &mmc_fck, CK_242X), | 1853 | CLK("mmci-omap.0", "fck", &mmc_fck), |
1854 | CLK(NULL, "mmc_fck", &mmc_fck, CK_242X), | 1854 | CLK(NULL, "mmc_fck", &mmc_fck), |
1855 | CLK(NULL, "fac_ick", &fac_ick, CK_242X), | 1855 | CLK(NULL, "fac_ick", &fac_ick), |
1856 | CLK(NULL, "fac_fck", &fac_fck, CK_242X), | 1856 | CLK(NULL, "fac_fck", &fac_fck), |
1857 | CLK(NULL, "eac_ick", &eac_ick, CK_242X), | 1857 | CLK(NULL, "eac_ick", &eac_ick), |
1858 | CLK(NULL, "eac_fck", &eac_fck, CK_242X), | 1858 | CLK(NULL, "eac_fck", &eac_fck), |
1859 | CLK("omap_hdq.0", "ick", &hdq_ick, CK_242X), | 1859 | CLK("omap_hdq.0", "ick", &hdq_ick), |
1860 | CLK(NULL, "hdq_ick", &hdq_ick, CK_242X), | 1860 | CLK(NULL, "hdq_ick", &hdq_ick), |
1861 | CLK("omap_hdq.0", "fck", &hdq_fck, CK_242X), | 1861 | CLK("omap_hdq.0", "fck", &hdq_fck), |
1862 | CLK(NULL, "hdq_fck", &hdq_fck, CK_242X), | 1862 | CLK(NULL, "hdq_fck", &hdq_fck), |
1863 | CLK("omap_i2c.1", "ick", &i2c1_ick, CK_242X), | 1863 | CLK("omap_i2c.1", "ick", &i2c1_ick), |
1864 | CLK(NULL, "i2c1_ick", &i2c1_ick, CK_242X), | 1864 | CLK(NULL, "i2c1_ick", &i2c1_ick), |
1865 | CLK(NULL, "i2c1_fck", &i2c1_fck, CK_242X), | 1865 | CLK(NULL, "i2c1_fck", &i2c1_fck), |
1866 | CLK("omap_i2c.2", "ick", &i2c2_ick, CK_242X), | 1866 | CLK("omap_i2c.2", "ick", &i2c2_ick), |
1867 | CLK(NULL, "i2c2_ick", &i2c2_ick, CK_242X), | 1867 | CLK(NULL, "i2c2_ick", &i2c2_ick), |
1868 | CLK(NULL, "i2c2_fck", &i2c2_fck, CK_242X), | 1868 | CLK(NULL, "i2c2_fck", &i2c2_fck), |
1869 | CLK(NULL, "gpmc_fck", &gpmc_fck, CK_242X), | 1869 | CLK(NULL, "gpmc_fck", &gpmc_fck), |
1870 | CLK(NULL, "sdma_fck", &sdma_fck, CK_242X), | 1870 | CLK(NULL, "sdma_fck", &sdma_fck), |
1871 | CLK(NULL, "sdma_ick", &sdma_ick, CK_242X), | 1871 | CLK(NULL, "sdma_ick", &sdma_ick), |
1872 | CLK(NULL, "sdrc_ick", &sdrc_ick, CK_242X), | 1872 | CLK(NULL, "sdrc_ick", &sdrc_ick), |
1873 | CLK(NULL, "vlynq_ick", &vlynq_ick, CK_242X), | 1873 | CLK(NULL, "vlynq_ick", &vlynq_ick), |
1874 | CLK(NULL, "vlynq_fck", &vlynq_fck, CK_242X), | 1874 | CLK(NULL, "vlynq_fck", &vlynq_fck), |
1875 | CLK(NULL, "des_ick", &des_ick, CK_242X), | 1875 | CLK(NULL, "des_ick", &des_ick), |
1876 | CLK("omap-sham", "ick", &sha_ick, CK_242X), | 1876 | CLK("omap-sham", "ick", &sha_ick), |
1877 | CLK(NULL, "sha_ick", &sha_ick, CK_242X), | 1877 | CLK(NULL, "sha_ick", &sha_ick), |
1878 | CLK("omap_rng", "ick", &rng_ick, CK_242X), | 1878 | CLK("omap_rng", "ick", &rng_ick), |
1879 | CLK(NULL, "rng_ick", &rng_ick, CK_242X), | 1879 | CLK(NULL, "rng_ick", &rng_ick), |
1880 | CLK("omap-aes", "ick", &aes_ick, CK_242X), | 1880 | CLK("omap-aes", "ick", &aes_ick), |
1881 | CLK(NULL, "aes_ick", &aes_ick, CK_242X), | 1881 | CLK(NULL, "aes_ick", &aes_ick), |
1882 | CLK(NULL, "pka_ick", &pka_ick, CK_242X), | 1882 | CLK(NULL, "pka_ick", &pka_ick), |
1883 | CLK(NULL, "usb_fck", &usb_fck, CK_242X), | 1883 | CLK(NULL, "usb_fck", &usb_fck), |
1884 | CLK("musb-hdrc", "fck", &osc_ck, CK_242X), | 1884 | CLK("musb-hdrc", "fck", &osc_ck), |
1885 | CLK(NULL, "timer_32k_ck", &func_32k_ck, CK_242X), | 1885 | CLK(NULL, "timer_32k_ck", &func_32k_ck), |
1886 | CLK(NULL, "timer_sys_ck", &sys_ck, CK_242X), | 1886 | CLK(NULL, "timer_sys_ck", &sys_ck), |
1887 | CLK(NULL, "timer_ext_ck", &alt_ck, CK_242X), | 1887 | CLK(NULL, "timer_ext_ck", &alt_ck), |
1888 | CLK(NULL, "cpufreq_ck", &virt_prcm_set, CK_242X), | 1888 | CLK(NULL, "cpufreq_ck", &virt_prcm_set), |
1889 | }; | 1889 | }; |
1890 | 1890 | ||
1891 | 1891 | ||
@@ -1904,8 +1904,6 @@ static const char *enable_init_clks[] = { | |||
1904 | 1904 | ||
1905 | int __init omap2420_clk_init(void) | 1905 | int __init omap2420_clk_init(void) |
1906 | { | 1906 | { |
1907 | struct omap_clk *c; | ||
1908 | |||
1909 | prcm_clksrc_ctrl = OMAP2420_PRCM_CLKSRC_CTRL; | 1907 | prcm_clksrc_ctrl = OMAP2420_PRCM_CLKSRC_CTRL; |
1910 | cpu_mask = RATE_IN_242X; | 1908 | cpu_mask = RATE_IN_242X; |
1911 | rate_table = omap2420_rate_table; | 1909 | rate_table = omap2420_rate_table; |
@@ -1914,12 +1912,7 @@ int __init omap2420_clk_init(void) | |||
1914 | 1912 | ||
1915 | omap2xxx_clkt_vps_check_bootloader_rates(); | 1913 | omap2xxx_clkt_vps_check_bootloader_rates(); |
1916 | 1914 | ||
1917 | for (c = omap2420_clks; c < omap2420_clks + ARRAY_SIZE(omap2420_clks); | 1915 | omap_clocks_register(omap2420_clks, ARRAY_SIZE(omap2420_clks)); |
1918 | c++) { | ||
1919 | clkdev_add(&c->lk); | ||
1920 | if (!__clk_init(NULL, c->lk.clk)) | ||
1921 | omap2_init_clk_hw_omap_clocks(c->lk.clk); | ||
1922 | } | ||
1923 | 1916 | ||
1924 | omap2xxx_clkt_vps_late_init(); | 1917 | omap2xxx_clkt_vps_late_init(); |
1925 | 1918 | ||