diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-04 12:59:52 -0500 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2009-02-08 06:38:40 -0500 |
commit | b36ee724208358bd892ad279efce629740517149 (patch) | |
tree | 01f8f3c5a5eeaf7a0a370677d08c512de8a8adf2 /arch/arm/mach-omap2/clock34xx.h | |
parent | 57137181e3136d4c7b20b4b95b9817efd38f8f07 (diff) |
[ARM] omap: add default .ops to all remaining OMAP2 clocks
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-omap2/clock34xx.h')
-rw-r--r-- | arch/arm/mach-omap2/clock34xx.h | 133 |
1 files changed, 133 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h index 203e2bd3b3b0..0d6a11ca132d 100644 --- a/arch/arm/mach-omap2/clock34xx.h +++ b/arch/arm/mach-omap2/clock34xx.h | |||
@@ -216,6 +216,7 @@ static struct clk mcbsp_clks = { | |||
216 | 216 | ||
217 | static struct clk sys_clkout1 = { | 217 | static struct clk sys_clkout1 = { |
218 | .name = "sys_clkout1", | 218 | .name = "sys_clkout1", |
219 | .ops = &clkops_omap2_dflt_wait, | ||
219 | .parent = &osc_sys_ck, | 220 | .parent = &osc_sys_ck, |
220 | .enable_reg = OMAP3430_PRM_CLKOUT_CTRL, | 221 | .enable_reg = OMAP3430_PRM_CLKOUT_CTRL, |
221 | .enable_bit = OMAP3430_CLKOUT_EN_SHIFT, | 222 | .enable_bit = OMAP3430_CLKOUT_EN_SHIFT, |
@@ -535,6 +536,7 @@ static struct clk dpll3_m3_ck = { | |||
535 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ | 536 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ |
536 | static struct clk dpll3_m3x2_ck = { | 537 | static struct clk dpll3_m3x2_ck = { |
537 | .name = "dpll3_m3x2_ck", | 538 | .name = "dpll3_m3x2_ck", |
539 | .ops = &clkops_omap2_dflt_wait, | ||
538 | .parent = &dpll3_m3_ck, | 540 | .parent = &dpll3_m3_ck, |
539 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), | 541 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), |
540 | .enable_bit = OMAP3430_PWRDN_EMU_CORE_SHIFT, | 542 | .enable_bit = OMAP3430_PWRDN_EMU_CORE_SHIFT, |
@@ -626,6 +628,7 @@ static struct clk dpll4_m2_ck = { | |||
626 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ | 628 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ |
627 | static struct clk dpll4_m2x2_ck = { | 629 | static struct clk dpll4_m2x2_ck = { |
628 | .name = "dpll4_m2x2_ck", | 630 | .name = "dpll4_m2x2_ck", |
631 | .ops = &clkops_omap2_dflt_wait, | ||
629 | .parent = &dpll4_m2_ck, | 632 | .parent = &dpll4_m2_ck, |
630 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), | 633 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), |
631 | .enable_bit = OMAP3430_PWRDN_96M_SHIFT, | 634 | .enable_bit = OMAP3430_PWRDN_96M_SHIFT, |
@@ -693,6 +696,7 @@ static struct clk dpll4_m3_ck = { | |||
693 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ | 696 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ |
694 | static struct clk dpll4_m3x2_ck = { | 697 | static struct clk dpll4_m3x2_ck = { |
695 | .name = "dpll4_m3x2_ck", | 698 | .name = "dpll4_m3x2_ck", |
699 | .ops = &clkops_omap2_dflt_wait, | ||
696 | .parent = &dpll4_m3_ck, | 700 | .parent = &dpll4_m3_ck, |
697 | .init = &omap2_init_clksel_parent, | 701 | .init = &omap2_init_clksel_parent, |
698 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), | 702 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), |
@@ -798,6 +802,7 @@ static struct clk dpll4_m4_ck = { | |||
798 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ | 802 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ |
799 | static struct clk dpll4_m4x2_ck = { | 803 | static struct clk dpll4_m4x2_ck = { |
800 | .name = "dpll4_m4x2_ck", | 804 | .name = "dpll4_m4x2_ck", |
805 | .ops = &clkops_omap2_dflt_wait, | ||
801 | .parent = &dpll4_m4_ck, | 806 | .parent = &dpll4_m4_ck, |
802 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), | 807 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), |
803 | .enable_bit = OMAP3430_PWRDN_CAM_SHIFT, | 808 | .enable_bit = OMAP3430_PWRDN_CAM_SHIFT, |
@@ -821,6 +826,7 @@ static struct clk dpll4_m5_ck = { | |||
821 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ | 826 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ |
822 | static struct clk dpll4_m5x2_ck = { | 827 | static struct clk dpll4_m5x2_ck = { |
823 | .name = "dpll4_m5x2_ck", | 828 | .name = "dpll4_m5x2_ck", |
829 | .ops = &clkops_omap2_dflt_wait, | ||
824 | .parent = &dpll4_m5_ck, | 830 | .parent = &dpll4_m5_ck, |
825 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), | 831 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), |
826 | .enable_bit = OMAP3430_PWRDN_CAM_SHIFT, | 832 | .enable_bit = OMAP3430_PWRDN_CAM_SHIFT, |
@@ -844,6 +850,7 @@ static struct clk dpll4_m6_ck = { | |||
844 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ | 850 | /* The PWRDN bit is apparently only available on 3430ES2 and above */ |
845 | static struct clk dpll4_m6x2_ck = { | 851 | static struct clk dpll4_m6x2_ck = { |
846 | .name = "dpll4_m6x2_ck", | 852 | .name = "dpll4_m6x2_ck", |
853 | .ops = &clkops_omap2_dflt_wait, | ||
847 | .parent = &dpll4_m6_ck, | 854 | .parent = &dpll4_m6_ck, |
848 | .init = &omap2_init_clksel_parent, | 855 | .init = &omap2_init_clksel_parent, |
849 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), | 856 | .enable_reg = OMAP_CM_REGADDR(PLL_MOD, CM_CLKEN), |
@@ -960,6 +967,7 @@ static const struct clksel clkout2_src_clksel[] = { | |||
960 | 967 | ||
961 | static struct clk clkout2_src_ck = { | 968 | static struct clk clkout2_src_ck = { |
962 | .name = "clkout2_src_ck", | 969 | .name = "clkout2_src_ck", |
970 | .ops = &clkops_omap2_dflt_wait, | ||
963 | .init = &omap2_init_clksel_parent, | 971 | .init = &omap2_init_clksel_parent, |
964 | .enable_reg = OMAP3430_CM_CLKOUT_CTRL, | 972 | .enable_reg = OMAP3430_CM_CLKOUT_CTRL, |
965 | .enable_bit = OMAP3430_CLKOUT2_EN_SHIFT, | 973 | .enable_bit = OMAP3430_CLKOUT2_EN_SHIFT, |
@@ -1118,6 +1126,7 @@ static const struct clksel iva2_clksel[] = { | |||
1118 | 1126 | ||
1119 | static struct clk iva2_ck = { | 1127 | static struct clk iva2_ck = { |
1120 | .name = "iva2_ck", | 1128 | .name = "iva2_ck", |
1129 | .ops = &clkops_omap2_dflt_wait, | ||
1121 | .parent = &dpll2_m2_ck, | 1130 | .parent = &dpll2_m2_ck, |
1122 | .init = &omap2_init_clksel_parent, | 1131 | .init = &omap2_init_clksel_parent, |
1123 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_IVA2_MOD, CM_FCLKEN), | 1132 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_IVA2_MOD, CM_FCLKEN), |
@@ -1194,6 +1203,7 @@ static const struct clksel gfx_l3_clksel[] = { | |||
1194 | /* Virtual parent clock for gfx_l3_ick and gfx_l3_fck */ | 1203 | /* Virtual parent clock for gfx_l3_ick and gfx_l3_fck */ |
1195 | static struct clk gfx_l3_ck = { | 1204 | static struct clk gfx_l3_ck = { |
1196 | .name = "gfx_l3_ck", | 1205 | .name = "gfx_l3_ck", |
1206 | .ops = &clkops_omap2_dflt_wait, | ||
1197 | .parent = &l3_ick, | 1207 | .parent = &l3_ick, |
1198 | .init = &omap2_init_clksel_parent, | 1208 | .init = &omap2_init_clksel_parent, |
1199 | .enable_reg = OMAP_CM_REGADDR(GFX_MOD, CM_ICLKEN), | 1209 | .enable_reg = OMAP_CM_REGADDR(GFX_MOD, CM_ICLKEN), |
@@ -1226,6 +1236,7 @@ static struct clk gfx_l3_ick = { | |||
1226 | 1236 | ||
1227 | static struct clk gfx_cg1_ck = { | 1237 | static struct clk gfx_cg1_ck = { |
1228 | .name = "gfx_cg1_ck", | 1238 | .name = "gfx_cg1_ck", |
1239 | .ops = &clkops_omap2_dflt_wait, | ||
1229 | .parent = &gfx_l3_fck, /* REVISIT: correct? */ | 1240 | .parent = &gfx_l3_fck, /* REVISIT: correct? */ |
1230 | .init = &omap2_init_clk_clkdm, | 1241 | .init = &omap2_init_clk_clkdm, |
1231 | .enable_reg = OMAP_CM_REGADDR(GFX_MOD, CM_FCLKEN), | 1242 | .enable_reg = OMAP_CM_REGADDR(GFX_MOD, CM_FCLKEN), |
@@ -1237,6 +1248,7 @@ static struct clk gfx_cg1_ck = { | |||
1237 | 1248 | ||
1238 | static struct clk gfx_cg2_ck = { | 1249 | static struct clk gfx_cg2_ck = { |
1239 | .name = "gfx_cg2_ck", | 1250 | .name = "gfx_cg2_ck", |
1251 | .ops = &clkops_omap2_dflt_wait, | ||
1240 | .parent = &gfx_l3_fck, /* REVISIT: correct? */ | 1252 | .parent = &gfx_l3_fck, /* REVISIT: correct? */ |
1241 | .init = &omap2_init_clk_clkdm, | 1253 | .init = &omap2_init_clk_clkdm, |
1242 | .enable_reg = OMAP_CM_REGADDR(GFX_MOD, CM_FCLKEN), | 1254 | .enable_reg = OMAP_CM_REGADDR(GFX_MOD, CM_FCLKEN), |
@@ -1268,6 +1280,7 @@ static const struct clksel sgx_clksel[] = { | |||
1268 | 1280 | ||
1269 | static struct clk sgx_fck = { | 1281 | static struct clk sgx_fck = { |
1270 | .name = "sgx_fck", | 1282 | .name = "sgx_fck", |
1283 | .ops = &clkops_omap2_dflt_wait, | ||
1271 | .init = &omap2_init_clksel_parent, | 1284 | .init = &omap2_init_clksel_parent, |
1272 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_SGX_MOD, CM_FCLKEN), | 1285 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_SGX_MOD, CM_FCLKEN), |
1273 | .enable_bit = OMAP3430ES2_EN_SGX_SHIFT, | 1286 | .enable_bit = OMAP3430ES2_EN_SGX_SHIFT, |
@@ -1281,6 +1294,7 @@ static struct clk sgx_fck = { | |||
1281 | 1294 | ||
1282 | static struct clk sgx_ick = { | 1295 | static struct clk sgx_ick = { |
1283 | .name = "sgx_ick", | 1296 | .name = "sgx_ick", |
1297 | .ops = &clkops_omap2_dflt_wait, | ||
1284 | .parent = &l3_ick, | 1298 | .parent = &l3_ick, |
1285 | .init = &omap2_init_clk_clkdm, | 1299 | .init = &omap2_init_clk_clkdm, |
1286 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_SGX_MOD, CM_ICLKEN), | 1300 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_SGX_MOD, CM_ICLKEN), |
@@ -1294,6 +1308,7 @@ static struct clk sgx_ick = { | |||
1294 | 1308 | ||
1295 | static struct clk d2d_26m_fck = { | 1309 | static struct clk d2d_26m_fck = { |
1296 | .name = "d2d_26m_fck", | 1310 | .name = "d2d_26m_fck", |
1311 | .ops = &clkops_omap2_dflt_wait, | ||
1297 | .parent = &sys_ck, | 1312 | .parent = &sys_ck, |
1298 | .init = &omap2_init_clk_clkdm, | 1313 | .init = &omap2_init_clk_clkdm, |
1299 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1314 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1311,6 +1326,7 @@ static const struct clksel omap343x_gpt_clksel[] = { | |||
1311 | 1326 | ||
1312 | static struct clk gpt10_fck = { | 1327 | static struct clk gpt10_fck = { |
1313 | .name = "gpt10_fck", | 1328 | .name = "gpt10_fck", |
1329 | .ops = &clkops_omap2_dflt_wait, | ||
1314 | .parent = &sys_ck, | 1330 | .parent = &sys_ck, |
1315 | .init = &omap2_init_clksel_parent, | 1331 | .init = &omap2_init_clksel_parent, |
1316 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1332 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1325,6 +1341,7 @@ static struct clk gpt10_fck = { | |||
1325 | 1341 | ||
1326 | static struct clk gpt11_fck = { | 1342 | static struct clk gpt11_fck = { |
1327 | .name = "gpt11_fck", | 1343 | .name = "gpt11_fck", |
1344 | .ops = &clkops_omap2_dflt_wait, | ||
1328 | .parent = &sys_ck, | 1345 | .parent = &sys_ck, |
1329 | .init = &omap2_init_clksel_parent, | 1346 | .init = &omap2_init_clksel_parent, |
1330 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1347 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1339,6 +1356,7 @@ static struct clk gpt11_fck = { | |||
1339 | 1356 | ||
1340 | static struct clk cpefuse_fck = { | 1357 | static struct clk cpefuse_fck = { |
1341 | .name = "cpefuse_fck", | 1358 | .name = "cpefuse_fck", |
1359 | .ops = &clkops_omap2_dflt_wait, | ||
1342 | .parent = &sys_ck, | 1360 | .parent = &sys_ck, |
1343 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3), | 1361 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3), |
1344 | .enable_bit = OMAP3430ES2_EN_CPEFUSE_SHIFT, | 1362 | .enable_bit = OMAP3430ES2_EN_CPEFUSE_SHIFT, |
@@ -1348,6 +1366,7 @@ static struct clk cpefuse_fck = { | |||
1348 | 1366 | ||
1349 | static struct clk ts_fck = { | 1367 | static struct clk ts_fck = { |
1350 | .name = "ts_fck", | 1368 | .name = "ts_fck", |
1369 | .ops = &clkops_omap2_dflt_wait, | ||
1351 | .parent = &omap_32k_fck, | 1370 | .parent = &omap_32k_fck, |
1352 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3), | 1371 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3), |
1353 | .enable_bit = OMAP3430ES2_EN_TS_SHIFT, | 1372 | .enable_bit = OMAP3430ES2_EN_TS_SHIFT, |
@@ -1357,6 +1376,7 @@ static struct clk ts_fck = { | |||
1357 | 1376 | ||
1358 | static struct clk usbtll_fck = { | 1377 | static struct clk usbtll_fck = { |
1359 | .name = "usbtll_fck", | 1378 | .name = "usbtll_fck", |
1379 | .ops = &clkops_omap2_dflt_wait, | ||
1360 | .parent = &omap_120m_fck, | 1380 | .parent = &omap_120m_fck, |
1361 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3), | 1381 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3), |
1362 | .enable_bit = OMAP3430ES2_EN_USBTLL_SHIFT, | 1382 | .enable_bit = OMAP3430ES2_EN_USBTLL_SHIFT, |
@@ -1377,6 +1397,7 @@ static struct clk core_96m_fck = { | |||
1377 | 1397 | ||
1378 | static struct clk mmchs3_fck = { | 1398 | static struct clk mmchs3_fck = { |
1379 | .name = "mmchs_fck", | 1399 | .name = "mmchs_fck", |
1400 | .ops = &clkops_omap2_dflt_wait, | ||
1380 | .id = 2, | 1401 | .id = 2, |
1381 | .parent = &core_96m_fck, | 1402 | .parent = &core_96m_fck, |
1382 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1403 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1388,6 +1409,7 @@ static struct clk mmchs3_fck = { | |||
1388 | 1409 | ||
1389 | static struct clk mmchs2_fck = { | 1410 | static struct clk mmchs2_fck = { |
1390 | .name = "mmchs_fck", | 1411 | .name = "mmchs_fck", |
1412 | .ops = &clkops_omap2_dflt_wait, | ||
1391 | .id = 1, | 1413 | .id = 1, |
1392 | .parent = &core_96m_fck, | 1414 | .parent = &core_96m_fck, |
1393 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1415 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1399,6 +1421,7 @@ static struct clk mmchs2_fck = { | |||
1399 | 1421 | ||
1400 | static struct clk mspro_fck = { | 1422 | static struct clk mspro_fck = { |
1401 | .name = "mspro_fck", | 1423 | .name = "mspro_fck", |
1424 | .ops = &clkops_omap2_dflt_wait, | ||
1402 | .parent = &core_96m_fck, | 1425 | .parent = &core_96m_fck, |
1403 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1426 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
1404 | .enable_bit = OMAP3430_EN_MSPRO_SHIFT, | 1427 | .enable_bit = OMAP3430_EN_MSPRO_SHIFT, |
@@ -1409,6 +1432,7 @@ static struct clk mspro_fck = { | |||
1409 | 1432 | ||
1410 | static struct clk mmchs1_fck = { | 1433 | static struct clk mmchs1_fck = { |
1411 | .name = "mmchs_fck", | 1434 | .name = "mmchs_fck", |
1435 | .ops = &clkops_omap2_dflt_wait, | ||
1412 | .parent = &core_96m_fck, | 1436 | .parent = &core_96m_fck, |
1413 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1437 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
1414 | .enable_bit = OMAP3430_EN_MMC1_SHIFT, | 1438 | .enable_bit = OMAP3430_EN_MMC1_SHIFT, |
@@ -1419,6 +1443,7 @@ static struct clk mmchs1_fck = { | |||
1419 | 1443 | ||
1420 | static struct clk i2c3_fck = { | 1444 | static struct clk i2c3_fck = { |
1421 | .name = "i2c_fck", | 1445 | .name = "i2c_fck", |
1446 | .ops = &clkops_omap2_dflt_wait, | ||
1422 | .id = 3, | 1447 | .id = 3, |
1423 | .parent = &core_96m_fck, | 1448 | .parent = &core_96m_fck, |
1424 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1449 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1430,6 +1455,7 @@ static struct clk i2c3_fck = { | |||
1430 | 1455 | ||
1431 | static struct clk i2c2_fck = { | 1456 | static struct clk i2c2_fck = { |
1432 | .name = "i2c_fck", | 1457 | .name = "i2c_fck", |
1458 | .ops = &clkops_omap2_dflt_wait, | ||
1433 | .id = 2, | 1459 | .id = 2, |
1434 | .parent = &core_96m_fck, | 1460 | .parent = &core_96m_fck, |
1435 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1461 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1441,6 +1467,7 @@ static struct clk i2c2_fck = { | |||
1441 | 1467 | ||
1442 | static struct clk i2c1_fck = { | 1468 | static struct clk i2c1_fck = { |
1443 | .name = "i2c_fck", | 1469 | .name = "i2c_fck", |
1470 | .ops = &clkops_omap2_dflt_wait, | ||
1444 | .id = 1, | 1471 | .id = 1, |
1445 | .parent = &core_96m_fck, | 1472 | .parent = &core_96m_fck, |
1446 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1473 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1472,6 +1499,7 @@ static const struct clksel mcbsp_15_clksel[] = { | |||
1472 | 1499 | ||
1473 | static struct clk mcbsp5_fck = { | 1500 | static struct clk mcbsp5_fck = { |
1474 | .name = "mcbsp_fck", | 1501 | .name = "mcbsp_fck", |
1502 | .ops = &clkops_omap2_dflt_wait, | ||
1475 | .id = 5, | 1503 | .id = 5, |
1476 | .init = &omap2_init_clksel_parent, | 1504 | .init = &omap2_init_clksel_parent, |
1477 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1505 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1486,6 +1514,7 @@ static struct clk mcbsp5_fck = { | |||
1486 | 1514 | ||
1487 | static struct clk mcbsp1_fck = { | 1515 | static struct clk mcbsp1_fck = { |
1488 | .name = "mcbsp_fck", | 1516 | .name = "mcbsp_fck", |
1517 | .ops = &clkops_omap2_dflt_wait, | ||
1489 | .id = 1, | 1518 | .id = 1, |
1490 | .init = &omap2_init_clksel_parent, | 1519 | .init = &omap2_init_clksel_parent, |
1491 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1520 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1511,6 +1540,7 @@ static struct clk core_48m_fck = { | |||
1511 | 1540 | ||
1512 | static struct clk mcspi4_fck = { | 1541 | static struct clk mcspi4_fck = { |
1513 | .name = "mcspi_fck", | 1542 | .name = "mcspi_fck", |
1543 | .ops = &clkops_omap2_dflt_wait, | ||
1514 | .id = 4, | 1544 | .id = 4, |
1515 | .parent = &core_48m_fck, | 1545 | .parent = &core_48m_fck, |
1516 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1546 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1521,6 +1551,7 @@ static struct clk mcspi4_fck = { | |||
1521 | 1551 | ||
1522 | static struct clk mcspi3_fck = { | 1552 | static struct clk mcspi3_fck = { |
1523 | .name = "mcspi_fck", | 1553 | .name = "mcspi_fck", |
1554 | .ops = &clkops_omap2_dflt_wait, | ||
1524 | .id = 3, | 1555 | .id = 3, |
1525 | .parent = &core_48m_fck, | 1556 | .parent = &core_48m_fck, |
1526 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1557 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1531,6 +1562,7 @@ static struct clk mcspi3_fck = { | |||
1531 | 1562 | ||
1532 | static struct clk mcspi2_fck = { | 1563 | static struct clk mcspi2_fck = { |
1533 | .name = "mcspi_fck", | 1564 | .name = "mcspi_fck", |
1565 | .ops = &clkops_omap2_dflt_wait, | ||
1534 | .id = 2, | 1566 | .id = 2, |
1535 | .parent = &core_48m_fck, | 1567 | .parent = &core_48m_fck, |
1536 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1568 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1541,6 +1573,7 @@ static struct clk mcspi2_fck = { | |||
1541 | 1573 | ||
1542 | static struct clk mcspi1_fck = { | 1574 | static struct clk mcspi1_fck = { |
1543 | .name = "mcspi_fck", | 1575 | .name = "mcspi_fck", |
1576 | .ops = &clkops_omap2_dflt_wait, | ||
1544 | .id = 1, | 1577 | .id = 1, |
1545 | .parent = &core_48m_fck, | 1578 | .parent = &core_48m_fck, |
1546 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1579 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
@@ -1551,6 +1584,7 @@ static struct clk mcspi1_fck = { | |||
1551 | 1584 | ||
1552 | static struct clk uart2_fck = { | 1585 | static struct clk uart2_fck = { |
1553 | .name = "uart2_fck", | 1586 | .name = "uart2_fck", |
1587 | .ops = &clkops_omap2_dflt_wait, | ||
1554 | .parent = &core_48m_fck, | 1588 | .parent = &core_48m_fck, |
1555 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1589 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
1556 | .enable_bit = OMAP3430_EN_UART2_SHIFT, | 1590 | .enable_bit = OMAP3430_EN_UART2_SHIFT, |
@@ -1560,6 +1594,7 @@ static struct clk uart2_fck = { | |||
1560 | 1594 | ||
1561 | static struct clk uart1_fck = { | 1595 | static struct clk uart1_fck = { |
1562 | .name = "uart1_fck", | 1596 | .name = "uart1_fck", |
1597 | .ops = &clkops_omap2_dflt_wait, | ||
1563 | .parent = &core_48m_fck, | 1598 | .parent = &core_48m_fck, |
1564 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1599 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
1565 | .enable_bit = OMAP3430_EN_UART1_SHIFT, | 1600 | .enable_bit = OMAP3430_EN_UART1_SHIFT, |
@@ -1569,6 +1604,7 @@ static struct clk uart1_fck = { | |||
1569 | 1604 | ||
1570 | static struct clk fshostusb_fck = { | 1605 | static struct clk fshostusb_fck = { |
1571 | .name = "fshostusb_fck", | 1606 | .name = "fshostusb_fck", |
1607 | .ops = &clkops_omap2_dflt_wait, | ||
1572 | .parent = &core_48m_fck, | 1608 | .parent = &core_48m_fck, |
1573 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1609 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
1574 | .enable_bit = OMAP3430ES1_EN_FSHOSTUSB_SHIFT, | 1610 | .enable_bit = OMAP3430ES1_EN_FSHOSTUSB_SHIFT, |
@@ -1589,6 +1625,7 @@ static struct clk core_12m_fck = { | |||
1589 | 1625 | ||
1590 | static struct clk hdq_fck = { | 1626 | static struct clk hdq_fck = { |
1591 | .name = "hdq_fck", | 1627 | .name = "hdq_fck", |
1628 | .ops = &clkops_omap2_dflt_wait, | ||
1592 | .parent = &core_12m_fck, | 1629 | .parent = &core_12m_fck, |
1593 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1630 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
1594 | .enable_bit = OMAP3430_EN_HDQ_SHIFT, | 1631 | .enable_bit = OMAP3430_EN_HDQ_SHIFT, |
@@ -1615,6 +1652,7 @@ static const struct clksel ssi_ssr_clksel[] = { | |||
1615 | 1652 | ||
1616 | static struct clk ssi_ssr_fck = { | 1653 | static struct clk ssi_ssr_fck = { |
1617 | .name = "ssi_ssr_fck", | 1654 | .name = "ssi_ssr_fck", |
1655 | .ops = &clkops_omap2_dflt_wait, | ||
1618 | .init = &omap2_init_clksel_parent, | 1656 | .init = &omap2_init_clksel_parent, |
1619 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), | 1657 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1), |
1620 | .enable_bit = OMAP3430_EN_SSI_SHIFT, | 1658 | .enable_bit = OMAP3430_EN_SSI_SHIFT, |
@@ -1655,6 +1693,7 @@ static struct clk core_l3_ick = { | |||
1655 | 1693 | ||
1656 | static struct clk hsotgusb_ick = { | 1694 | static struct clk hsotgusb_ick = { |
1657 | .name = "hsotgusb_ick", | 1695 | .name = "hsotgusb_ick", |
1696 | .ops = &clkops_omap2_dflt_wait, | ||
1658 | .parent = &core_l3_ick, | 1697 | .parent = &core_l3_ick, |
1659 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1698 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1660 | .enable_bit = OMAP3430_EN_HSOTGUSB_SHIFT, | 1699 | .enable_bit = OMAP3430_EN_HSOTGUSB_SHIFT, |
@@ -1665,6 +1704,7 @@ static struct clk hsotgusb_ick = { | |||
1665 | 1704 | ||
1666 | static struct clk sdrc_ick = { | 1705 | static struct clk sdrc_ick = { |
1667 | .name = "sdrc_ick", | 1706 | .name = "sdrc_ick", |
1707 | .ops = &clkops_omap2_dflt_wait, | ||
1668 | .parent = &core_l3_ick, | 1708 | .parent = &core_l3_ick, |
1669 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1709 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1670 | .enable_bit = OMAP3430_EN_SDRC_SHIFT, | 1710 | .enable_bit = OMAP3430_EN_SDRC_SHIFT, |
@@ -1694,6 +1734,7 @@ static struct clk security_l3_ick = { | |||
1694 | 1734 | ||
1695 | static struct clk pka_ick = { | 1735 | static struct clk pka_ick = { |
1696 | .name = "pka_ick", | 1736 | .name = "pka_ick", |
1737 | .ops = &clkops_omap2_dflt_wait, | ||
1697 | .parent = &security_l3_ick, | 1738 | .parent = &security_l3_ick, |
1698 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), | 1739 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), |
1699 | .enable_bit = OMAP3430_EN_PKA_SHIFT, | 1740 | .enable_bit = OMAP3430_EN_PKA_SHIFT, |
@@ -1715,6 +1756,7 @@ static struct clk core_l4_ick = { | |||
1715 | 1756 | ||
1716 | static struct clk usbtll_ick = { | 1757 | static struct clk usbtll_ick = { |
1717 | .name = "usbtll_ick", | 1758 | .name = "usbtll_ick", |
1759 | .ops = &clkops_omap2_dflt_wait, | ||
1718 | .parent = &core_l4_ick, | 1760 | .parent = &core_l4_ick, |
1719 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN3), | 1761 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN3), |
1720 | .enable_bit = OMAP3430ES2_EN_USBTLL_SHIFT, | 1762 | .enable_bit = OMAP3430ES2_EN_USBTLL_SHIFT, |
@@ -1725,6 +1767,7 @@ static struct clk usbtll_ick = { | |||
1725 | 1767 | ||
1726 | static struct clk mmchs3_ick = { | 1768 | static struct clk mmchs3_ick = { |
1727 | .name = "mmchs_ick", | 1769 | .name = "mmchs_ick", |
1770 | .ops = &clkops_omap2_dflt_wait, | ||
1728 | .id = 2, | 1771 | .id = 2, |
1729 | .parent = &core_l4_ick, | 1772 | .parent = &core_l4_ick, |
1730 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1773 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1737,6 +1780,7 @@ static struct clk mmchs3_ick = { | |||
1737 | /* Intersystem Communication Registers - chassis mode only */ | 1780 | /* Intersystem Communication Registers - chassis mode only */ |
1738 | static struct clk icr_ick = { | 1781 | static struct clk icr_ick = { |
1739 | .name = "icr_ick", | 1782 | .name = "icr_ick", |
1783 | .ops = &clkops_omap2_dflt_wait, | ||
1740 | .parent = &core_l4_ick, | 1784 | .parent = &core_l4_ick, |
1741 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1785 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1742 | .enable_bit = OMAP3430_EN_ICR_SHIFT, | 1786 | .enable_bit = OMAP3430_EN_ICR_SHIFT, |
@@ -1747,6 +1791,7 @@ static struct clk icr_ick = { | |||
1747 | 1791 | ||
1748 | static struct clk aes2_ick = { | 1792 | static struct clk aes2_ick = { |
1749 | .name = "aes2_ick", | 1793 | .name = "aes2_ick", |
1794 | .ops = &clkops_omap2_dflt_wait, | ||
1750 | .parent = &core_l4_ick, | 1795 | .parent = &core_l4_ick, |
1751 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1796 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1752 | .enable_bit = OMAP3430_EN_AES2_SHIFT, | 1797 | .enable_bit = OMAP3430_EN_AES2_SHIFT, |
@@ -1757,6 +1802,7 @@ static struct clk aes2_ick = { | |||
1757 | 1802 | ||
1758 | static struct clk sha12_ick = { | 1803 | static struct clk sha12_ick = { |
1759 | .name = "sha12_ick", | 1804 | .name = "sha12_ick", |
1805 | .ops = &clkops_omap2_dflt_wait, | ||
1760 | .parent = &core_l4_ick, | 1806 | .parent = &core_l4_ick, |
1761 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1807 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1762 | .enable_bit = OMAP3430_EN_SHA12_SHIFT, | 1808 | .enable_bit = OMAP3430_EN_SHA12_SHIFT, |
@@ -1767,6 +1813,7 @@ static struct clk sha12_ick = { | |||
1767 | 1813 | ||
1768 | static struct clk des2_ick = { | 1814 | static struct clk des2_ick = { |
1769 | .name = "des2_ick", | 1815 | .name = "des2_ick", |
1816 | .ops = &clkops_omap2_dflt_wait, | ||
1770 | .parent = &core_l4_ick, | 1817 | .parent = &core_l4_ick, |
1771 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1818 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1772 | .enable_bit = OMAP3430_EN_DES2_SHIFT, | 1819 | .enable_bit = OMAP3430_EN_DES2_SHIFT, |
@@ -1777,6 +1824,7 @@ static struct clk des2_ick = { | |||
1777 | 1824 | ||
1778 | static struct clk mmchs2_ick = { | 1825 | static struct clk mmchs2_ick = { |
1779 | .name = "mmchs_ick", | 1826 | .name = "mmchs_ick", |
1827 | .ops = &clkops_omap2_dflt_wait, | ||
1780 | .id = 1, | 1828 | .id = 1, |
1781 | .parent = &core_l4_ick, | 1829 | .parent = &core_l4_ick, |
1782 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1830 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1788,6 +1836,7 @@ static struct clk mmchs2_ick = { | |||
1788 | 1836 | ||
1789 | static struct clk mmchs1_ick = { | 1837 | static struct clk mmchs1_ick = { |
1790 | .name = "mmchs_ick", | 1838 | .name = "mmchs_ick", |
1839 | .ops = &clkops_omap2_dflt_wait, | ||
1791 | .parent = &core_l4_ick, | 1840 | .parent = &core_l4_ick, |
1792 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1841 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1793 | .enable_bit = OMAP3430_EN_MMC1_SHIFT, | 1842 | .enable_bit = OMAP3430_EN_MMC1_SHIFT, |
@@ -1798,6 +1847,7 @@ static struct clk mmchs1_ick = { | |||
1798 | 1847 | ||
1799 | static struct clk mspro_ick = { | 1848 | static struct clk mspro_ick = { |
1800 | .name = "mspro_ick", | 1849 | .name = "mspro_ick", |
1850 | .ops = &clkops_omap2_dflt_wait, | ||
1801 | .parent = &core_l4_ick, | 1851 | .parent = &core_l4_ick, |
1802 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1852 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1803 | .enable_bit = OMAP3430_EN_MSPRO_SHIFT, | 1853 | .enable_bit = OMAP3430_EN_MSPRO_SHIFT, |
@@ -1808,6 +1858,7 @@ static struct clk mspro_ick = { | |||
1808 | 1858 | ||
1809 | static struct clk hdq_ick = { | 1859 | static struct clk hdq_ick = { |
1810 | .name = "hdq_ick", | 1860 | .name = "hdq_ick", |
1861 | .ops = &clkops_omap2_dflt_wait, | ||
1811 | .parent = &core_l4_ick, | 1862 | .parent = &core_l4_ick, |
1812 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1863 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1813 | .enable_bit = OMAP3430_EN_HDQ_SHIFT, | 1864 | .enable_bit = OMAP3430_EN_HDQ_SHIFT, |
@@ -1818,6 +1869,7 @@ static struct clk hdq_ick = { | |||
1818 | 1869 | ||
1819 | static struct clk mcspi4_ick = { | 1870 | static struct clk mcspi4_ick = { |
1820 | .name = "mcspi_ick", | 1871 | .name = "mcspi_ick", |
1872 | .ops = &clkops_omap2_dflt_wait, | ||
1821 | .id = 4, | 1873 | .id = 4, |
1822 | .parent = &core_l4_ick, | 1874 | .parent = &core_l4_ick, |
1823 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1875 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1829,6 +1881,7 @@ static struct clk mcspi4_ick = { | |||
1829 | 1881 | ||
1830 | static struct clk mcspi3_ick = { | 1882 | static struct clk mcspi3_ick = { |
1831 | .name = "mcspi_ick", | 1883 | .name = "mcspi_ick", |
1884 | .ops = &clkops_omap2_dflt_wait, | ||
1832 | .id = 3, | 1885 | .id = 3, |
1833 | .parent = &core_l4_ick, | 1886 | .parent = &core_l4_ick, |
1834 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1887 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1840,6 +1893,7 @@ static struct clk mcspi3_ick = { | |||
1840 | 1893 | ||
1841 | static struct clk mcspi2_ick = { | 1894 | static struct clk mcspi2_ick = { |
1842 | .name = "mcspi_ick", | 1895 | .name = "mcspi_ick", |
1896 | .ops = &clkops_omap2_dflt_wait, | ||
1843 | .id = 2, | 1897 | .id = 2, |
1844 | .parent = &core_l4_ick, | 1898 | .parent = &core_l4_ick, |
1845 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1899 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1851,6 +1905,7 @@ static struct clk mcspi2_ick = { | |||
1851 | 1905 | ||
1852 | static struct clk mcspi1_ick = { | 1906 | static struct clk mcspi1_ick = { |
1853 | .name = "mcspi_ick", | 1907 | .name = "mcspi_ick", |
1908 | .ops = &clkops_omap2_dflt_wait, | ||
1854 | .id = 1, | 1909 | .id = 1, |
1855 | .parent = &core_l4_ick, | 1910 | .parent = &core_l4_ick, |
1856 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1911 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1862,6 +1917,7 @@ static struct clk mcspi1_ick = { | |||
1862 | 1917 | ||
1863 | static struct clk i2c3_ick = { | 1918 | static struct clk i2c3_ick = { |
1864 | .name = "i2c_ick", | 1919 | .name = "i2c_ick", |
1920 | .ops = &clkops_omap2_dflt_wait, | ||
1865 | .id = 3, | 1921 | .id = 3, |
1866 | .parent = &core_l4_ick, | 1922 | .parent = &core_l4_ick, |
1867 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1923 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1873,6 +1929,7 @@ static struct clk i2c3_ick = { | |||
1873 | 1929 | ||
1874 | static struct clk i2c2_ick = { | 1930 | static struct clk i2c2_ick = { |
1875 | .name = "i2c_ick", | 1931 | .name = "i2c_ick", |
1932 | .ops = &clkops_omap2_dflt_wait, | ||
1876 | .id = 2, | 1933 | .id = 2, |
1877 | .parent = &core_l4_ick, | 1934 | .parent = &core_l4_ick, |
1878 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1935 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1884,6 +1941,7 @@ static struct clk i2c2_ick = { | |||
1884 | 1941 | ||
1885 | static struct clk i2c1_ick = { | 1942 | static struct clk i2c1_ick = { |
1886 | .name = "i2c_ick", | 1943 | .name = "i2c_ick", |
1944 | .ops = &clkops_omap2_dflt_wait, | ||
1887 | .id = 1, | 1945 | .id = 1, |
1888 | .parent = &core_l4_ick, | 1946 | .parent = &core_l4_ick, |
1889 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1947 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1895,6 +1953,7 @@ static struct clk i2c1_ick = { | |||
1895 | 1953 | ||
1896 | static struct clk uart2_ick = { | 1954 | static struct clk uart2_ick = { |
1897 | .name = "uart2_ick", | 1955 | .name = "uart2_ick", |
1956 | .ops = &clkops_omap2_dflt_wait, | ||
1898 | .parent = &core_l4_ick, | 1957 | .parent = &core_l4_ick, |
1899 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1958 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1900 | .enable_bit = OMAP3430_EN_UART2_SHIFT, | 1959 | .enable_bit = OMAP3430_EN_UART2_SHIFT, |
@@ -1905,6 +1964,7 @@ static struct clk uart2_ick = { | |||
1905 | 1964 | ||
1906 | static struct clk uart1_ick = { | 1965 | static struct clk uart1_ick = { |
1907 | .name = "uart1_ick", | 1966 | .name = "uart1_ick", |
1967 | .ops = &clkops_omap2_dflt_wait, | ||
1908 | .parent = &core_l4_ick, | 1968 | .parent = &core_l4_ick, |
1909 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1969 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1910 | .enable_bit = OMAP3430_EN_UART1_SHIFT, | 1970 | .enable_bit = OMAP3430_EN_UART1_SHIFT, |
@@ -1915,6 +1975,7 @@ static struct clk uart1_ick = { | |||
1915 | 1975 | ||
1916 | static struct clk gpt11_ick = { | 1976 | static struct clk gpt11_ick = { |
1917 | .name = "gpt11_ick", | 1977 | .name = "gpt11_ick", |
1978 | .ops = &clkops_omap2_dflt_wait, | ||
1918 | .parent = &core_l4_ick, | 1979 | .parent = &core_l4_ick, |
1919 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1980 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1920 | .enable_bit = OMAP3430_EN_GPT11_SHIFT, | 1981 | .enable_bit = OMAP3430_EN_GPT11_SHIFT, |
@@ -1925,6 +1986,7 @@ static struct clk gpt11_ick = { | |||
1925 | 1986 | ||
1926 | static struct clk gpt10_ick = { | 1987 | static struct clk gpt10_ick = { |
1927 | .name = "gpt10_ick", | 1988 | .name = "gpt10_ick", |
1989 | .ops = &clkops_omap2_dflt_wait, | ||
1928 | .parent = &core_l4_ick, | 1990 | .parent = &core_l4_ick, |
1929 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 1991 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1930 | .enable_bit = OMAP3430_EN_GPT10_SHIFT, | 1992 | .enable_bit = OMAP3430_EN_GPT10_SHIFT, |
@@ -1935,6 +1997,7 @@ static struct clk gpt10_ick = { | |||
1935 | 1997 | ||
1936 | static struct clk mcbsp5_ick = { | 1998 | static struct clk mcbsp5_ick = { |
1937 | .name = "mcbsp_ick", | 1999 | .name = "mcbsp_ick", |
2000 | .ops = &clkops_omap2_dflt_wait, | ||
1938 | .id = 5, | 2001 | .id = 5, |
1939 | .parent = &core_l4_ick, | 2002 | .parent = &core_l4_ick, |
1940 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 2003 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1946,6 +2009,7 @@ static struct clk mcbsp5_ick = { | |||
1946 | 2009 | ||
1947 | static struct clk mcbsp1_ick = { | 2010 | static struct clk mcbsp1_ick = { |
1948 | .name = "mcbsp_ick", | 2011 | .name = "mcbsp_ick", |
2012 | .ops = &clkops_omap2_dflt_wait, | ||
1949 | .id = 1, | 2013 | .id = 1, |
1950 | .parent = &core_l4_ick, | 2014 | .parent = &core_l4_ick, |
1951 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 2015 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -1957,6 +2021,7 @@ static struct clk mcbsp1_ick = { | |||
1957 | 2021 | ||
1958 | static struct clk fac_ick = { | 2022 | static struct clk fac_ick = { |
1959 | .name = "fac_ick", | 2023 | .name = "fac_ick", |
2024 | .ops = &clkops_omap2_dflt_wait, | ||
1960 | .parent = &core_l4_ick, | 2025 | .parent = &core_l4_ick, |
1961 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 2026 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1962 | .enable_bit = OMAP3430ES1_EN_FAC_SHIFT, | 2027 | .enable_bit = OMAP3430ES1_EN_FAC_SHIFT, |
@@ -1967,6 +2032,7 @@ static struct clk fac_ick = { | |||
1967 | 2032 | ||
1968 | static struct clk mailboxes_ick = { | 2033 | static struct clk mailboxes_ick = { |
1969 | .name = "mailboxes_ick", | 2034 | .name = "mailboxes_ick", |
2035 | .ops = &clkops_omap2_dflt_wait, | ||
1970 | .parent = &core_l4_ick, | 2036 | .parent = &core_l4_ick, |
1971 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 2037 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1972 | .enable_bit = OMAP3430_EN_MAILBOXES_SHIFT, | 2038 | .enable_bit = OMAP3430_EN_MAILBOXES_SHIFT, |
@@ -1977,6 +2043,7 @@ static struct clk mailboxes_ick = { | |||
1977 | 2043 | ||
1978 | static struct clk omapctrl_ick = { | 2044 | static struct clk omapctrl_ick = { |
1979 | .name = "omapctrl_ick", | 2045 | .name = "omapctrl_ick", |
2046 | .ops = &clkops_omap2_dflt_wait, | ||
1980 | .parent = &core_l4_ick, | 2047 | .parent = &core_l4_ick, |
1981 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 2048 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
1982 | .enable_bit = OMAP3430_EN_OMAPCTRL_SHIFT, | 2049 | .enable_bit = OMAP3430_EN_OMAPCTRL_SHIFT, |
@@ -1997,6 +2064,7 @@ static struct clk ssi_l4_ick = { | |||
1997 | 2064 | ||
1998 | static struct clk ssi_ick = { | 2065 | static struct clk ssi_ick = { |
1999 | .name = "ssi_ick", | 2066 | .name = "ssi_ick", |
2067 | .ops = &clkops_omap2_dflt_wait, | ||
2000 | .parent = &ssi_l4_ick, | 2068 | .parent = &ssi_l4_ick, |
2001 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 2069 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
2002 | .enable_bit = OMAP3430_EN_SSI_SHIFT, | 2070 | .enable_bit = OMAP3430_EN_SSI_SHIFT, |
@@ -2015,6 +2083,7 @@ static const struct clksel usb_l4_clksel[] = { | |||
2015 | 2083 | ||
2016 | static struct clk usb_l4_ick = { | 2084 | static struct clk usb_l4_ick = { |
2017 | .name = "usb_l4_ick", | 2085 | .name = "usb_l4_ick", |
2086 | .ops = &clkops_omap2_dflt_wait, | ||
2018 | .parent = &l4_ick, | 2087 | .parent = &l4_ick, |
2019 | .init = &omap2_init_clksel_parent, | 2088 | .init = &omap2_init_clksel_parent, |
2020 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), | 2089 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1), |
@@ -2040,6 +2109,7 @@ static struct clk security_l4_ick2 = { | |||
2040 | 2109 | ||
2041 | static struct clk aes1_ick = { | 2110 | static struct clk aes1_ick = { |
2042 | .name = "aes1_ick", | 2111 | .name = "aes1_ick", |
2112 | .ops = &clkops_omap2_dflt_wait, | ||
2043 | .parent = &security_l4_ick2, | 2113 | .parent = &security_l4_ick2, |
2044 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), | 2114 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), |
2045 | .enable_bit = OMAP3430_EN_AES1_SHIFT, | 2115 | .enable_bit = OMAP3430_EN_AES1_SHIFT, |
@@ -2049,6 +2119,7 @@ static struct clk aes1_ick = { | |||
2049 | 2119 | ||
2050 | static struct clk rng_ick = { | 2120 | static struct clk rng_ick = { |
2051 | .name = "rng_ick", | 2121 | .name = "rng_ick", |
2122 | .ops = &clkops_omap2_dflt_wait, | ||
2052 | .parent = &security_l4_ick2, | 2123 | .parent = &security_l4_ick2, |
2053 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), | 2124 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), |
2054 | .enable_bit = OMAP3430_EN_RNG_SHIFT, | 2125 | .enable_bit = OMAP3430_EN_RNG_SHIFT, |
@@ -2058,6 +2129,7 @@ static struct clk rng_ick = { | |||
2058 | 2129 | ||
2059 | static struct clk sha11_ick = { | 2130 | static struct clk sha11_ick = { |
2060 | .name = "sha11_ick", | 2131 | .name = "sha11_ick", |
2132 | .ops = &clkops_omap2_dflt_wait, | ||
2061 | .parent = &security_l4_ick2, | 2133 | .parent = &security_l4_ick2, |
2062 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), | 2134 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), |
2063 | .enable_bit = OMAP3430_EN_SHA11_SHIFT, | 2135 | .enable_bit = OMAP3430_EN_SHA11_SHIFT, |
@@ -2067,6 +2139,7 @@ static struct clk sha11_ick = { | |||
2067 | 2139 | ||
2068 | static struct clk des1_ick = { | 2140 | static struct clk des1_ick = { |
2069 | .name = "des1_ick", | 2141 | .name = "des1_ick", |
2142 | .ops = &clkops_omap2_dflt_wait, | ||
2070 | .parent = &security_l4_ick2, | 2143 | .parent = &security_l4_ick2, |
2071 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), | 2144 | .enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN2), |
2072 | .enable_bit = OMAP3430_EN_DES1_SHIFT, | 2145 | .enable_bit = OMAP3430_EN_DES1_SHIFT, |
@@ -2083,6 +2156,7 @@ static const struct clksel dss1_alwon_fck_clksel[] = { | |||
2083 | 2156 | ||
2084 | static struct clk dss1_alwon_fck = { | 2157 | static struct clk dss1_alwon_fck = { |
2085 | .name = "dss1_alwon_fck", | 2158 | .name = "dss1_alwon_fck", |
2159 | .ops = &clkops_omap2_dflt_wait, | ||
2086 | .parent = &dpll4_m4x2_ck, | 2160 | .parent = &dpll4_m4x2_ck, |
2087 | .init = &omap2_init_clksel_parent, | 2161 | .init = &omap2_init_clksel_parent, |
2088 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), | 2162 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), |
@@ -2097,6 +2171,7 @@ static struct clk dss1_alwon_fck = { | |||
2097 | 2171 | ||
2098 | static struct clk dss_tv_fck = { | 2172 | static struct clk dss_tv_fck = { |
2099 | .name = "dss_tv_fck", | 2173 | .name = "dss_tv_fck", |
2174 | .ops = &clkops_omap2_dflt_wait, | ||
2100 | .parent = &omap_54m_fck, | 2175 | .parent = &omap_54m_fck, |
2101 | .init = &omap2_init_clk_clkdm, | 2176 | .init = &omap2_init_clk_clkdm, |
2102 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), | 2177 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), |
@@ -2108,6 +2183,7 @@ static struct clk dss_tv_fck = { | |||
2108 | 2183 | ||
2109 | static struct clk dss_96m_fck = { | 2184 | static struct clk dss_96m_fck = { |
2110 | .name = "dss_96m_fck", | 2185 | .name = "dss_96m_fck", |
2186 | .ops = &clkops_omap2_dflt_wait, | ||
2111 | .parent = &omap_96m_fck, | 2187 | .parent = &omap_96m_fck, |
2112 | .init = &omap2_init_clk_clkdm, | 2188 | .init = &omap2_init_clk_clkdm, |
2113 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), | 2189 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), |
@@ -2119,6 +2195,7 @@ static struct clk dss_96m_fck = { | |||
2119 | 2195 | ||
2120 | static struct clk dss2_alwon_fck = { | 2196 | static struct clk dss2_alwon_fck = { |
2121 | .name = "dss2_alwon_fck", | 2197 | .name = "dss2_alwon_fck", |
2198 | .ops = &clkops_omap2_dflt_wait, | ||
2122 | .parent = &sys_ck, | 2199 | .parent = &sys_ck, |
2123 | .init = &omap2_init_clk_clkdm, | 2200 | .init = &omap2_init_clk_clkdm, |
2124 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), | 2201 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_FCLKEN), |
@@ -2131,6 +2208,7 @@ static struct clk dss2_alwon_fck = { | |||
2131 | static struct clk dss_ick = { | 2208 | static struct clk dss_ick = { |
2132 | /* Handles both L3 and L4 clocks */ | 2209 | /* Handles both L3 and L4 clocks */ |
2133 | .name = "dss_ick", | 2210 | .name = "dss_ick", |
2211 | .ops = &clkops_omap2_dflt_wait, | ||
2134 | .parent = &l4_ick, | 2212 | .parent = &l4_ick, |
2135 | .init = &omap2_init_clk_clkdm, | 2213 | .init = &omap2_init_clk_clkdm, |
2136 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_ICLKEN), | 2214 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_DSS_MOD, CM_ICLKEN), |
@@ -2150,6 +2228,7 @@ static const struct clksel cam_mclk_clksel[] = { | |||
2150 | 2228 | ||
2151 | static struct clk cam_mclk = { | 2229 | static struct clk cam_mclk = { |
2152 | .name = "cam_mclk", | 2230 | .name = "cam_mclk", |
2231 | .ops = &clkops_omap2_dflt_wait, | ||
2153 | .parent = &dpll4_m5x2_ck, | 2232 | .parent = &dpll4_m5x2_ck, |
2154 | .init = &omap2_init_clksel_parent, | 2233 | .init = &omap2_init_clksel_parent, |
2155 | .clksel_reg = OMAP_CM_REGADDR(PLL_MOD, CM_IDLEST), | 2234 | .clksel_reg = OMAP_CM_REGADDR(PLL_MOD, CM_IDLEST), |
@@ -2165,6 +2244,7 @@ static struct clk cam_mclk = { | |||
2165 | static struct clk cam_ick = { | 2244 | static struct clk cam_ick = { |
2166 | /* Handles both L3 and L4 clocks */ | 2245 | /* Handles both L3 and L4 clocks */ |
2167 | .name = "cam_ick", | 2246 | .name = "cam_ick", |
2247 | .ops = &clkops_omap2_dflt_wait, | ||
2168 | .parent = &l4_ick, | 2248 | .parent = &l4_ick, |
2169 | .init = &omap2_init_clk_clkdm, | 2249 | .init = &omap2_init_clk_clkdm, |
2170 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_CAM_MOD, CM_ICLKEN), | 2250 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_CAM_MOD, CM_ICLKEN), |
@@ -2178,6 +2258,7 @@ static struct clk cam_ick = { | |||
2178 | 2258 | ||
2179 | static struct clk usbhost_120m_fck = { | 2259 | static struct clk usbhost_120m_fck = { |
2180 | .name = "usbhost_120m_fck", | 2260 | .name = "usbhost_120m_fck", |
2261 | .ops = &clkops_omap2_dflt_wait, | ||
2181 | .parent = &omap_120m_fck, | 2262 | .parent = &omap_120m_fck, |
2182 | .init = &omap2_init_clk_clkdm, | 2263 | .init = &omap2_init_clk_clkdm, |
2183 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_USBHOST_MOD, CM_FCLKEN), | 2264 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_USBHOST_MOD, CM_FCLKEN), |
@@ -2189,6 +2270,7 @@ static struct clk usbhost_120m_fck = { | |||
2189 | 2270 | ||
2190 | static struct clk usbhost_48m_fck = { | 2271 | static struct clk usbhost_48m_fck = { |
2191 | .name = "usbhost_48m_fck", | 2272 | .name = "usbhost_48m_fck", |
2273 | .ops = &clkops_omap2_dflt_wait, | ||
2192 | .parent = &omap_48m_fck, | 2274 | .parent = &omap_48m_fck, |
2193 | .init = &omap2_init_clk_clkdm, | 2275 | .init = &omap2_init_clk_clkdm, |
2194 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_USBHOST_MOD, CM_FCLKEN), | 2276 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_USBHOST_MOD, CM_FCLKEN), |
@@ -2201,6 +2283,7 @@ static struct clk usbhost_48m_fck = { | |||
2201 | static struct clk usbhost_ick = { | 2283 | static struct clk usbhost_ick = { |
2202 | /* Handles both L3 and L4 clocks */ | 2284 | /* Handles both L3 and L4 clocks */ |
2203 | .name = "usbhost_ick", | 2285 | .name = "usbhost_ick", |
2286 | .ops = &clkops_omap2_dflt_wait, | ||
2204 | .parent = &l4_ick, | 2287 | .parent = &l4_ick, |
2205 | .init = &omap2_init_clk_clkdm, | 2288 | .init = &omap2_init_clk_clkdm, |
2206 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_USBHOST_MOD, CM_ICLKEN), | 2289 | .enable_reg = OMAP_CM_REGADDR(OMAP3430ES2_USBHOST_MOD, CM_ICLKEN), |
@@ -2212,6 +2295,7 @@ static struct clk usbhost_ick = { | |||
2212 | 2295 | ||
2213 | static struct clk usbhost_sar_fck = { | 2296 | static struct clk usbhost_sar_fck = { |
2214 | .name = "usbhost_sar_fck", | 2297 | .name = "usbhost_sar_fck", |
2298 | .ops = &clkops_omap2_dflt_wait, | ||
2215 | .parent = &osc_sys_ck, | 2299 | .parent = &osc_sys_ck, |
2216 | .init = &omap2_init_clk_clkdm, | 2300 | .init = &omap2_init_clk_clkdm, |
2217 | .enable_reg = OMAP_PRM_REGADDR(OMAP3430ES2_USBHOST_MOD, PM_PWSTCTRL), | 2301 | .enable_reg = OMAP_PRM_REGADDR(OMAP3430ES2_USBHOST_MOD, PM_PWSTCTRL), |
@@ -2249,6 +2333,7 @@ static const struct clksel usim_clksel[] = { | |||
2249 | /* 3430ES2 only */ | 2333 | /* 3430ES2 only */ |
2250 | static struct clk usim_fck = { | 2334 | static struct clk usim_fck = { |
2251 | .name = "usim_fck", | 2335 | .name = "usim_fck", |
2336 | .ops = &clkops_omap2_dflt_wait, | ||
2252 | .init = &omap2_init_clksel_parent, | 2337 | .init = &omap2_init_clksel_parent, |
2253 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 2338 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
2254 | .enable_bit = OMAP3430ES2_EN_USIMOCP_SHIFT, | 2339 | .enable_bit = OMAP3430ES2_EN_USIMOCP_SHIFT, |
@@ -2262,6 +2347,7 @@ static struct clk usim_fck = { | |||
2262 | /* XXX should gpt1's clksel have wkup_32k_fck as the 32k opt? */ | 2347 | /* XXX should gpt1's clksel have wkup_32k_fck as the 32k opt? */ |
2263 | static struct clk gpt1_fck = { | 2348 | static struct clk gpt1_fck = { |
2264 | .name = "gpt1_fck", | 2349 | .name = "gpt1_fck", |
2350 | .ops = &clkops_omap2_dflt_wait, | ||
2265 | .init = &omap2_init_clksel_parent, | 2351 | .init = &omap2_init_clksel_parent, |
2266 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 2352 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
2267 | .enable_bit = OMAP3430_EN_GPT1_SHIFT, | 2353 | .enable_bit = OMAP3430_EN_GPT1_SHIFT, |
@@ -2285,6 +2371,7 @@ static struct clk wkup_32k_fck = { | |||
2285 | 2371 | ||
2286 | static struct clk gpio1_dbck = { | 2372 | static struct clk gpio1_dbck = { |
2287 | .name = "gpio1_dbck", | 2373 | .name = "gpio1_dbck", |
2374 | .ops = &clkops_omap2_dflt_wait, | ||
2288 | .parent = &wkup_32k_fck, | 2375 | .parent = &wkup_32k_fck, |
2289 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 2376 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
2290 | .enable_bit = OMAP3430_EN_GPIO1_SHIFT, | 2377 | .enable_bit = OMAP3430_EN_GPIO1_SHIFT, |
@@ -2295,6 +2382,7 @@ static struct clk gpio1_dbck = { | |||
2295 | 2382 | ||
2296 | static struct clk wdt2_fck = { | 2383 | static struct clk wdt2_fck = { |
2297 | .name = "wdt2_fck", | 2384 | .name = "wdt2_fck", |
2385 | .ops = &clkops_omap2_dflt_wait, | ||
2298 | .parent = &wkup_32k_fck, | 2386 | .parent = &wkup_32k_fck, |
2299 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 2387 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
2300 | .enable_bit = OMAP3430_EN_WDT2_SHIFT, | 2388 | .enable_bit = OMAP3430_EN_WDT2_SHIFT, |
@@ -2316,6 +2404,7 @@ static struct clk wkup_l4_ick = { | |||
2316 | /* Never specifically named in the TRM, so we have to infer a likely name */ | 2404 | /* Never specifically named in the TRM, so we have to infer a likely name */ |
2317 | static struct clk usim_ick = { | 2405 | static struct clk usim_ick = { |
2318 | .name = "usim_ick", | 2406 | .name = "usim_ick", |
2407 | .ops = &clkops_omap2_dflt_wait, | ||
2319 | .parent = &wkup_l4_ick, | 2408 | .parent = &wkup_l4_ick, |
2320 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), | 2409 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), |
2321 | .enable_bit = OMAP3430ES2_EN_USIMOCP_SHIFT, | 2410 | .enable_bit = OMAP3430ES2_EN_USIMOCP_SHIFT, |
@@ -2326,6 +2415,7 @@ static struct clk usim_ick = { | |||
2326 | 2415 | ||
2327 | static struct clk wdt2_ick = { | 2416 | static struct clk wdt2_ick = { |
2328 | .name = "wdt2_ick", | 2417 | .name = "wdt2_ick", |
2418 | .ops = &clkops_omap2_dflt_wait, | ||
2329 | .parent = &wkup_l4_ick, | 2419 | .parent = &wkup_l4_ick, |
2330 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), | 2420 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), |
2331 | .enable_bit = OMAP3430_EN_WDT2_SHIFT, | 2421 | .enable_bit = OMAP3430_EN_WDT2_SHIFT, |
@@ -2336,6 +2426,7 @@ static struct clk wdt2_ick = { | |||
2336 | 2426 | ||
2337 | static struct clk wdt1_ick = { | 2427 | static struct clk wdt1_ick = { |
2338 | .name = "wdt1_ick", | 2428 | .name = "wdt1_ick", |
2429 | .ops = &clkops_omap2_dflt_wait, | ||
2339 | .parent = &wkup_l4_ick, | 2430 | .parent = &wkup_l4_ick, |
2340 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), | 2431 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), |
2341 | .enable_bit = OMAP3430_EN_WDT1_SHIFT, | 2432 | .enable_bit = OMAP3430_EN_WDT1_SHIFT, |
@@ -2346,6 +2437,7 @@ static struct clk wdt1_ick = { | |||
2346 | 2437 | ||
2347 | static struct clk gpio1_ick = { | 2438 | static struct clk gpio1_ick = { |
2348 | .name = "gpio1_ick", | 2439 | .name = "gpio1_ick", |
2440 | .ops = &clkops_omap2_dflt_wait, | ||
2349 | .parent = &wkup_l4_ick, | 2441 | .parent = &wkup_l4_ick, |
2350 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), | 2442 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), |
2351 | .enable_bit = OMAP3430_EN_GPIO1_SHIFT, | 2443 | .enable_bit = OMAP3430_EN_GPIO1_SHIFT, |
@@ -2356,6 +2448,7 @@ static struct clk gpio1_ick = { | |||
2356 | 2448 | ||
2357 | static struct clk omap_32ksync_ick = { | 2449 | static struct clk omap_32ksync_ick = { |
2358 | .name = "omap_32ksync_ick", | 2450 | .name = "omap_32ksync_ick", |
2451 | .ops = &clkops_omap2_dflt_wait, | ||
2359 | .parent = &wkup_l4_ick, | 2452 | .parent = &wkup_l4_ick, |
2360 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), | 2453 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), |
2361 | .enable_bit = OMAP3430_EN_32KSYNC_SHIFT, | 2454 | .enable_bit = OMAP3430_EN_32KSYNC_SHIFT, |
@@ -2367,6 +2460,7 @@ static struct clk omap_32ksync_ick = { | |||
2367 | /* XXX This clock no longer exists in 3430 TRM rev F */ | 2460 | /* XXX This clock no longer exists in 3430 TRM rev F */ |
2368 | static struct clk gpt12_ick = { | 2461 | static struct clk gpt12_ick = { |
2369 | .name = "gpt12_ick", | 2462 | .name = "gpt12_ick", |
2463 | .ops = &clkops_omap2_dflt_wait, | ||
2370 | .parent = &wkup_l4_ick, | 2464 | .parent = &wkup_l4_ick, |
2371 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), | 2465 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), |
2372 | .enable_bit = OMAP3430_EN_GPT12_SHIFT, | 2466 | .enable_bit = OMAP3430_EN_GPT12_SHIFT, |
@@ -2377,6 +2471,7 @@ static struct clk gpt12_ick = { | |||
2377 | 2471 | ||
2378 | static struct clk gpt1_ick = { | 2472 | static struct clk gpt1_ick = { |
2379 | .name = "gpt1_ick", | 2473 | .name = "gpt1_ick", |
2474 | .ops = &clkops_omap2_dflt_wait, | ||
2380 | .parent = &wkup_l4_ick, | 2475 | .parent = &wkup_l4_ick, |
2381 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), | 2476 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_ICLKEN), |
2382 | .enable_bit = OMAP3430_EN_GPT1_SHIFT, | 2477 | .enable_bit = OMAP3430_EN_GPT1_SHIFT, |
@@ -2411,6 +2506,7 @@ static struct clk per_48m_fck = { | |||
2411 | 2506 | ||
2412 | static struct clk uart3_fck = { | 2507 | static struct clk uart3_fck = { |
2413 | .name = "uart3_fck", | 2508 | .name = "uart3_fck", |
2509 | .ops = &clkops_omap2_dflt_wait, | ||
2414 | .parent = &per_48m_fck, | 2510 | .parent = &per_48m_fck, |
2415 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2511 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2416 | .enable_bit = OMAP3430_EN_UART3_SHIFT, | 2512 | .enable_bit = OMAP3430_EN_UART3_SHIFT, |
@@ -2421,6 +2517,7 @@ static struct clk uart3_fck = { | |||
2421 | 2517 | ||
2422 | static struct clk gpt2_fck = { | 2518 | static struct clk gpt2_fck = { |
2423 | .name = "gpt2_fck", | 2519 | .name = "gpt2_fck", |
2520 | .ops = &clkops_omap2_dflt_wait, | ||
2424 | .init = &omap2_init_clksel_parent, | 2521 | .init = &omap2_init_clksel_parent, |
2425 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2522 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2426 | .enable_bit = OMAP3430_EN_GPT2_SHIFT, | 2523 | .enable_bit = OMAP3430_EN_GPT2_SHIFT, |
@@ -2434,6 +2531,7 @@ static struct clk gpt2_fck = { | |||
2434 | 2531 | ||
2435 | static struct clk gpt3_fck = { | 2532 | static struct clk gpt3_fck = { |
2436 | .name = "gpt3_fck", | 2533 | .name = "gpt3_fck", |
2534 | .ops = &clkops_omap2_dflt_wait, | ||
2437 | .init = &omap2_init_clksel_parent, | 2535 | .init = &omap2_init_clksel_parent, |
2438 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2536 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2439 | .enable_bit = OMAP3430_EN_GPT3_SHIFT, | 2537 | .enable_bit = OMAP3430_EN_GPT3_SHIFT, |
@@ -2447,6 +2545,7 @@ static struct clk gpt3_fck = { | |||
2447 | 2545 | ||
2448 | static struct clk gpt4_fck = { | 2546 | static struct clk gpt4_fck = { |
2449 | .name = "gpt4_fck", | 2547 | .name = "gpt4_fck", |
2548 | .ops = &clkops_omap2_dflt_wait, | ||
2450 | .init = &omap2_init_clksel_parent, | 2549 | .init = &omap2_init_clksel_parent, |
2451 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2550 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2452 | .enable_bit = OMAP3430_EN_GPT4_SHIFT, | 2551 | .enable_bit = OMAP3430_EN_GPT4_SHIFT, |
@@ -2460,6 +2559,7 @@ static struct clk gpt4_fck = { | |||
2460 | 2559 | ||
2461 | static struct clk gpt5_fck = { | 2560 | static struct clk gpt5_fck = { |
2462 | .name = "gpt5_fck", | 2561 | .name = "gpt5_fck", |
2562 | .ops = &clkops_omap2_dflt_wait, | ||
2463 | .init = &omap2_init_clksel_parent, | 2563 | .init = &omap2_init_clksel_parent, |
2464 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2564 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2465 | .enable_bit = OMAP3430_EN_GPT5_SHIFT, | 2565 | .enable_bit = OMAP3430_EN_GPT5_SHIFT, |
@@ -2473,6 +2573,7 @@ static struct clk gpt5_fck = { | |||
2473 | 2573 | ||
2474 | static struct clk gpt6_fck = { | 2574 | static struct clk gpt6_fck = { |
2475 | .name = "gpt6_fck", | 2575 | .name = "gpt6_fck", |
2576 | .ops = &clkops_omap2_dflt_wait, | ||
2476 | .init = &omap2_init_clksel_parent, | 2577 | .init = &omap2_init_clksel_parent, |
2477 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2578 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2478 | .enable_bit = OMAP3430_EN_GPT6_SHIFT, | 2579 | .enable_bit = OMAP3430_EN_GPT6_SHIFT, |
@@ -2486,6 +2587,7 @@ static struct clk gpt6_fck = { | |||
2486 | 2587 | ||
2487 | static struct clk gpt7_fck = { | 2588 | static struct clk gpt7_fck = { |
2488 | .name = "gpt7_fck", | 2589 | .name = "gpt7_fck", |
2590 | .ops = &clkops_omap2_dflt_wait, | ||
2489 | .init = &omap2_init_clksel_parent, | 2591 | .init = &omap2_init_clksel_parent, |
2490 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2592 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2491 | .enable_bit = OMAP3430_EN_GPT7_SHIFT, | 2593 | .enable_bit = OMAP3430_EN_GPT7_SHIFT, |
@@ -2499,6 +2601,7 @@ static struct clk gpt7_fck = { | |||
2499 | 2601 | ||
2500 | static struct clk gpt8_fck = { | 2602 | static struct clk gpt8_fck = { |
2501 | .name = "gpt8_fck", | 2603 | .name = "gpt8_fck", |
2604 | .ops = &clkops_omap2_dflt_wait, | ||
2502 | .init = &omap2_init_clksel_parent, | 2605 | .init = &omap2_init_clksel_parent, |
2503 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2606 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2504 | .enable_bit = OMAP3430_EN_GPT8_SHIFT, | 2607 | .enable_bit = OMAP3430_EN_GPT8_SHIFT, |
@@ -2512,6 +2615,7 @@ static struct clk gpt8_fck = { | |||
2512 | 2615 | ||
2513 | static struct clk gpt9_fck = { | 2616 | static struct clk gpt9_fck = { |
2514 | .name = "gpt9_fck", | 2617 | .name = "gpt9_fck", |
2618 | .ops = &clkops_omap2_dflt_wait, | ||
2515 | .init = &omap2_init_clksel_parent, | 2619 | .init = &omap2_init_clksel_parent, |
2516 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2620 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2517 | .enable_bit = OMAP3430_EN_GPT9_SHIFT, | 2621 | .enable_bit = OMAP3430_EN_GPT9_SHIFT, |
@@ -2534,6 +2638,7 @@ static struct clk per_32k_alwon_fck = { | |||
2534 | 2638 | ||
2535 | static struct clk gpio6_dbck = { | 2639 | static struct clk gpio6_dbck = { |
2536 | .name = "gpio6_dbck", | 2640 | .name = "gpio6_dbck", |
2641 | .ops = &clkops_omap2_dflt_wait, | ||
2537 | .parent = &per_32k_alwon_fck, | 2642 | .parent = &per_32k_alwon_fck, |
2538 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2643 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2539 | .enable_bit = OMAP3430_EN_GPIO6_SHIFT, | 2644 | .enable_bit = OMAP3430_EN_GPIO6_SHIFT, |
@@ -2544,6 +2649,7 @@ static struct clk gpio6_dbck = { | |||
2544 | 2649 | ||
2545 | static struct clk gpio5_dbck = { | 2650 | static struct clk gpio5_dbck = { |
2546 | .name = "gpio5_dbck", | 2651 | .name = "gpio5_dbck", |
2652 | .ops = &clkops_omap2_dflt_wait, | ||
2547 | .parent = &per_32k_alwon_fck, | 2653 | .parent = &per_32k_alwon_fck, |
2548 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2654 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2549 | .enable_bit = OMAP3430_EN_GPIO5_SHIFT, | 2655 | .enable_bit = OMAP3430_EN_GPIO5_SHIFT, |
@@ -2554,6 +2660,7 @@ static struct clk gpio5_dbck = { | |||
2554 | 2660 | ||
2555 | static struct clk gpio4_dbck = { | 2661 | static struct clk gpio4_dbck = { |
2556 | .name = "gpio4_dbck", | 2662 | .name = "gpio4_dbck", |
2663 | .ops = &clkops_omap2_dflt_wait, | ||
2557 | .parent = &per_32k_alwon_fck, | 2664 | .parent = &per_32k_alwon_fck, |
2558 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2665 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2559 | .enable_bit = OMAP3430_EN_GPIO4_SHIFT, | 2666 | .enable_bit = OMAP3430_EN_GPIO4_SHIFT, |
@@ -2564,6 +2671,7 @@ static struct clk gpio4_dbck = { | |||
2564 | 2671 | ||
2565 | static struct clk gpio3_dbck = { | 2672 | static struct clk gpio3_dbck = { |
2566 | .name = "gpio3_dbck", | 2673 | .name = "gpio3_dbck", |
2674 | .ops = &clkops_omap2_dflt_wait, | ||
2567 | .parent = &per_32k_alwon_fck, | 2675 | .parent = &per_32k_alwon_fck, |
2568 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2676 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2569 | .enable_bit = OMAP3430_EN_GPIO3_SHIFT, | 2677 | .enable_bit = OMAP3430_EN_GPIO3_SHIFT, |
@@ -2574,6 +2682,7 @@ static struct clk gpio3_dbck = { | |||
2574 | 2682 | ||
2575 | static struct clk gpio2_dbck = { | 2683 | static struct clk gpio2_dbck = { |
2576 | .name = "gpio2_dbck", | 2684 | .name = "gpio2_dbck", |
2685 | .ops = &clkops_omap2_dflt_wait, | ||
2577 | .parent = &per_32k_alwon_fck, | 2686 | .parent = &per_32k_alwon_fck, |
2578 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2687 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2579 | .enable_bit = OMAP3430_EN_GPIO2_SHIFT, | 2688 | .enable_bit = OMAP3430_EN_GPIO2_SHIFT, |
@@ -2584,6 +2693,7 @@ static struct clk gpio2_dbck = { | |||
2584 | 2693 | ||
2585 | static struct clk wdt3_fck = { | 2694 | static struct clk wdt3_fck = { |
2586 | .name = "wdt3_fck", | 2695 | .name = "wdt3_fck", |
2696 | .ops = &clkops_omap2_dflt_wait, | ||
2587 | .parent = &per_32k_alwon_fck, | 2697 | .parent = &per_32k_alwon_fck, |
2588 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2698 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
2589 | .enable_bit = OMAP3430_EN_WDT3_SHIFT, | 2699 | .enable_bit = OMAP3430_EN_WDT3_SHIFT, |
@@ -2603,6 +2713,7 @@ static struct clk per_l4_ick = { | |||
2603 | 2713 | ||
2604 | static struct clk gpio6_ick = { | 2714 | static struct clk gpio6_ick = { |
2605 | .name = "gpio6_ick", | 2715 | .name = "gpio6_ick", |
2716 | .ops = &clkops_omap2_dflt_wait, | ||
2606 | .parent = &per_l4_ick, | 2717 | .parent = &per_l4_ick, |
2607 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2718 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2608 | .enable_bit = OMAP3430_EN_GPIO6_SHIFT, | 2719 | .enable_bit = OMAP3430_EN_GPIO6_SHIFT, |
@@ -2613,6 +2724,7 @@ static struct clk gpio6_ick = { | |||
2613 | 2724 | ||
2614 | static struct clk gpio5_ick = { | 2725 | static struct clk gpio5_ick = { |
2615 | .name = "gpio5_ick", | 2726 | .name = "gpio5_ick", |
2727 | .ops = &clkops_omap2_dflt_wait, | ||
2616 | .parent = &per_l4_ick, | 2728 | .parent = &per_l4_ick, |
2617 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2729 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2618 | .enable_bit = OMAP3430_EN_GPIO5_SHIFT, | 2730 | .enable_bit = OMAP3430_EN_GPIO5_SHIFT, |
@@ -2623,6 +2735,7 @@ static struct clk gpio5_ick = { | |||
2623 | 2735 | ||
2624 | static struct clk gpio4_ick = { | 2736 | static struct clk gpio4_ick = { |
2625 | .name = "gpio4_ick", | 2737 | .name = "gpio4_ick", |
2738 | .ops = &clkops_omap2_dflt_wait, | ||
2626 | .parent = &per_l4_ick, | 2739 | .parent = &per_l4_ick, |
2627 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2740 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2628 | .enable_bit = OMAP3430_EN_GPIO4_SHIFT, | 2741 | .enable_bit = OMAP3430_EN_GPIO4_SHIFT, |
@@ -2633,6 +2746,7 @@ static struct clk gpio4_ick = { | |||
2633 | 2746 | ||
2634 | static struct clk gpio3_ick = { | 2747 | static struct clk gpio3_ick = { |
2635 | .name = "gpio3_ick", | 2748 | .name = "gpio3_ick", |
2749 | .ops = &clkops_omap2_dflt_wait, | ||
2636 | .parent = &per_l4_ick, | 2750 | .parent = &per_l4_ick, |
2637 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2751 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2638 | .enable_bit = OMAP3430_EN_GPIO3_SHIFT, | 2752 | .enable_bit = OMAP3430_EN_GPIO3_SHIFT, |
@@ -2643,6 +2757,7 @@ static struct clk gpio3_ick = { | |||
2643 | 2757 | ||
2644 | static struct clk gpio2_ick = { | 2758 | static struct clk gpio2_ick = { |
2645 | .name = "gpio2_ick", | 2759 | .name = "gpio2_ick", |
2760 | .ops = &clkops_omap2_dflt_wait, | ||
2646 | .parent = &per_l4_ick, | 2761 | .parent = &per_l4_ick, |
2647 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2762 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2648 | .enable_bit = OMAP3430_EN_GPIO2_SHIFT, | 2763 | .enable_bit = OMAP3430_EN_GPIO2_SHIFT, |
@@ -2653,6 +2768,7 @@ static struct clk gpio2_ick = { | |||
2653 | 2768 | ||
2654 | static struct clk wdt3_ick = { | 2769 | static struct clk wdt3_ick = { |
2655 | .name = "wdt3_ick", | 2770 | .name = "wdt3_ick", |
2771 | .ops = &clkops_omap2_dflt_wait, | ||
2656 | .parent = &per_l4_ick, | 2772 | .parent = &per_l4_ick, |
2657 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2773 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2658 | .enable_bit = OMAP3430_EN_WDT3_SHIFT, | 2774 | .enable_bit = OMAP3430_EN_WDT3_SHIFT, |
@@ -2663,6 +2779,7 @@ static struct clk wdt3_ick = { | |||
2663 | 2779 | ||
2664 | static struct clk uart3_ick = { | 2780 | static struct clk uart3_ick = { |
2665 | .name = "uart3_ick", | 2781 | .name = "uart3_ick", |
2782 | .ops = &clkops_omap2_dflt_wait, | ||
2666 | .parent = &per_l4_ick, | 2783 | .parent = &per_l4_ick, |
2667 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2784 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2668 | .enable_bit = OMAP3430_EN_UART3_SHIFT, | 2785 | .enable_bit = OMAP3430_EN_UART3_SHIFT, |
@@ -2673,6 +2790,7 @@ static struct clk uart3_ick = { | |||
2673 | 2790 | ||
2674 | static struct clk gpt9_ick = { | 2791 | static struct clk gpt9_ick = { |
2675 | .name = "gpt9_ick", | 2792 | .name = "gpt9_ick", |
2793 | .ops = &clkops_omap2_dflt_wait, | ||
2676 | .parent = &per_l4_ick, | 2794 | .parent = &per_l4_ick, |
2677 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2795 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2678 | .enable_bit = OMAP3430_EN_GPT9_SHIFT, | 2796 | .enable_bit = OMAP3430_EN_GPT9_SHIFT, |
@@ -2683,6 +2801,7 @@ static struct clk gpt9_ick = { | |||
2683 | 2801 | ||
2684 | static struct clk gpt8_ick = { | 2802 | static struct clk gpt8_ick = { |
2685 | .name = "gpt8_ick", | 2803 | .name = "gpt8_ick", |
2804 | .ops = &clkops_omap2_dflt_wait, | ||
2686 | .parent = &per_l4_ick, | 2805 | .parent = &per_l4_ick, |
2687 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2806 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2688 | .enable_bit = OMAP3430_EN_GPT8_SHIFT, | 2807 | .enable_bit = OMAP3430_EN_GPT8_SHIFT, |
@@ -2693,6 +2812,7 @@ static struct clk gpt8_ick = { | |||
2693 | 2812 | ||
2694 | static struct clk gpt7_ick = { | 2813 | static struct clk gpt7_ick = { |
2695 | .name = "gpt7_ick", | 2814 | .name = "gpt7_ick", |
2815 | .ops = &clkops_omap2_dflt_wait, | ||
2696 | .parent = &per_l4_ick, | 2816 | .parent = &per_l4_ick, |
2697 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2817 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2698 | .enable_bit = OMAP3430_EN_GPT7_SHIFT, | 2818 | .enable_bit = OMAP3430_EN_GPT7_SHIFT, |
@@ -2703,6 +2823,7 @@ static struct clk gpt7_ick = { | |||
2703 | 2823 | ||
2704 | static struct clk gpt6_ick = { | 2824 | static struct clk gpt6_ick = { |
2705 | .name = "gpt6_ick", | 2825 | .name = "gpt6_ick", |
2826 | .ops = &clkops_omap2_dflt_wait, | ||
2706 | .parent = &per_l4_ick, | 2827 | .parent = &per_l4_ick, |
2707 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2828 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2708 | .enable_bit = OMAP3430_EN_GPT6_SHIFT, | 2829 | .enable_bit = OMAP3430_EN_GPT6_SHIFT, |
@@ -2713,6 +2834,7 @@ static struct clk gpt6_ick = { | |||
2713 | 2834 | ||
2714 | static struct clk gpt5_ick = { | 2835 | static struct clk gpt5_ick = { |
2715 | .name = "gpt5_ick", | 2836 | .name = "gpt5_ick", |
2837 | .ops = &clkops_omap2_dflt_wait, | ||
2716 | .parent = &per_l4_ick, | 2838 | .parent = &per_l4_ick, |
2717 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2839 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2718 | .enable_bit = OMAP3430_EN_GPT5_SHIFT, | 2840 | .enable_bit = OMAP3430_EN_GPT5_SHIFT, |
@@ -2723,6 +2845,7 @@ static struct clk gpt5_ick = { | |||
2723 | 2845 | ||
2724 | static struct clk gpt4_ick = { | 2846 | static struct clk gpt4_ick = { |
2725 | .name = "gpt4_ick", | 2847 | .name = "gpt4_ick", |
2848 | .ops = &clkops_omap2_dflt_wait, | ||
2726 | .parent = &per_l4_ick, | 2849 | .parent = &per_l4_ick, |
2727 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2850 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2728 | .enable_bit = OMAP3430_EN_GPT4_SHIFT, | 2851 | .enable_bit = OMAP3430_EN_GPT4_SHIFT, |
@@ -2733,6 +2856,7 @@ static struct clk gpt4_ick = { | |||
2733 | 2856 | ||
2734 | static struct clk gpt3_ick = { | 2857 | static struct clk gpt3_ick = { |
2735 | .name = "gpt3_ick", | 2858 | .name = "gpt3_ick", |
2859 | .ops = &clkops_omap2_dflt_wait, | ||
2736 | .parent = &per_l4_ick, | 2860 | .parent = &per_l4_ick, |
2737 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2861 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2738 | .enable_bit = OMAP3430_EN_GPT3_SHIFT, | 2862 | .enable_bit = OMAP3430_EN_GPT3_SHIFT, |
@@ -2743,6 +2867,7 @@ static struct clk gpt3_ick = { | |||
2743 | 2867 | ||
2744 | static struct clk gpt2_ick = { | 2868 | static struct clk gpt2_ick = { |
2745 | .name = "gpt2_ick", | 2869 | .name = "gpt2_ick", |
2870 | .ops = &clkops_omap2_dflt_wait, | ||
2746 | .parent = &per_l4_ick, | 2871 | .parent = &per_l4_ick, |
2747 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2872 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
2748 | .enable_bit = OMAP3430_EN_GPT2_SHIFT, | 2873 | .enable_bit = OMAP3430_EN_GPT2_SHIFT, |
@@ -2753,6 +2878,7 @@ static struct clk gpt2_ick = { | |||
2753 | 2878 | ||
2754 | static struct clk mcbsp2_ick = { | 2879 | static struct clk mcbsp2_ick = { |
2755 | .name = "mcbsp_ick", | 2880 | .name = "mcbsp_ick", |
2881 | .ops = &clkops_omap2_dflt_wait, | ||
2756 | .id = 2, | 2882 | .id = 2, |
2757 | .parent = &per_l4_ick, | 2883 | .parent = &per_l4_ick, |
2758 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2884 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
@@ -2764,6 +2890,7 @@ static struct clk mcbsp2_ick = { | |||
2764 | 2890 | ||
2765 | static struct clk mcbsp3_ick = { | 2891 | static struct clk mcbsp3_ick = { |
2766 | .name = "mcbsp_ick", | 2892 | .name = "mcbsp_ick", |
2893 | .ops = &clkops_omap2_dflt_wait, | ||
2767 | .id = 3, | 2894 | .id = 3, |
2768 | .parent = &per_l4_ick, | 2895 | .parent = &per_l4_ick, |
2769 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2896 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
@@ -2775,6 +2902,7 @@ static struct clk mcbsp3_ick = { | |||
2775 | 2902 | ||
2776 | static struct clk mcbsp4_ick = { | 2903 | static struct clk mcbsp4_ick = { |
2777 | .name = "mcbsp_ick", | 2904 | .name = "mcbsp_ick", |
2905 | .ops = &clkops_omap2_dflt_wait, | ||
2778 | .id = 4, | 2906 | .id = 4, |
2779 | .parent = &per_l4_ick, | 2907 | .parent = &per_l4_ick, |
2780 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), | 2908 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_ICLKEN), |
@@ -2792,6 +2920,7 @@ static const struct clksel mcbsp_234_clksel[] = { | |||
2792 | 2920 | ||
2793 | static struct clk mcbsp2_fck = { | 2921 | static struct clk mcbsp2_fck = { |
2794 | .name = "mcbsp_fck", | 2922 | .name = "mcbsp_fck", |
2923 | .ops = &clkops_omap2_dflt_wait, | ||
2795 | .id = 2, | 2924 | .id = 2, |
2796 | .init = &omap2_init_clksel_parent, | 2925 | .init = &omap2_init_clksel_parent, |
2797 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2926 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
@@ -2806,6 +2935,7 @@ static struct clk mcbsp2_fck = { | |||
2806 | 2935 | ||
2807 | static struct clk mcbsp3_fck = { | 2936 | static struct clk mcbsp3_fck = { |
2808 | .name = "mcbsp_fck", | 2937 | .name = "mcbsp_fck", |
2938 | .ops = &clkops_omap2_dflt_wait, | ||
2809 | .id = 3, | 2939 | .id = 3, |
2810 | .init = &omap2_init_clksel_parent, | 2940 | .init = &omap2_init_clksel_parent, |
2811 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2941 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
@@ -2820,6 +2950,7 @@ static struct clk mcbsp3_fck = { | |||
2820 | 2950 | ||
2821 | static struct clk mcbsp4_fck = { | 2951 | static struct clk mcbsp4_fck = { |
2822 | .name = "mcbsp_fck", | 2952 | .name = "mcbsp_fck", |
2953 | .ops = &clkops_omap2_dflt_wait, | ||
2823 | .id = 4, | 2954 | .id = 4, |
2824 | .init = &omap2_init_clksel_parent, | 2955 | .init = &omap2_init_clksel_parent, |
2825 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), | 2956 | .enable_reg = OMAP_CM_REGADDR(OMAP3430_PER_MOD, CM_FCLKEN), |
@@ -2988,6 +3119,7 @@ static struct clk traceclk_fck = { | |||
2988 | /* SmartReflex fclk (VDD1) */ | 3119 | /* SmartReflex fclk (VDD1) */ |
2989 | static struct clk sr1_fck = { | 3120 | static struct clk sr1_fck = { |
2990 | .name = "sr1_fck", | 3121 | .name = "sr1_fck", |
3122 | .ops = &clkops_omap2_dflt_wait, | ||
2991 | .parent = &sys_ck, | 3123 | .parent = &sys_ck, |
2992 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 3124 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
2993 | .enable_bit = OMAP3430_EN_SR1_SHIFT, | 3125 | .enable_bit = OMAP3430_EN_SR1_SHIFT, |
@@ -2998,6 +3130,7 @@ static struct clk sr1_fck = { | |||
2998 | /* SmartReflex fclk (VDD2) */ | 3130 | /* SmartReflex fclk (VDD2) */ |
2999 | static struct clk sr2_fck = { | 3131 | static struct clk sr2_fck = { |
3000 | .name = "sr2_fck", | 3132 | .name = "sr2_fck", |
3133 | .ops = &clkops_omap2_dflt_wait, | ||
3001 | .parent = &sys_ck, | 3134 | .parent = &sys_ck, |
3002 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), | 3135 | .enable_reg = OMAP_CM_REGADDR(WKUP_MOD, CM_FCLKEN), |
3003 | .enable_bit = OMAP3430_EN_SR2_SHIFT, | 3136 | .enable_bit = OMAP3430_EN_SR2_SHIFT, |