Skip to content

Commit 5897a39

Browse files
author
Paul Walmsley
committed
ARM: OMAP3: clock data: fill in some missing clockdomains
Several clocks are missing clockdomains. This can cause problems with the hwmod and power management code. Fill these in. Signed-off-by: Paul Walmsley <[email protected]> Cc: Matt Porter <[email protected]> Cc: Vaibhav Hiremath <[email protected]>
1 parent 6c4a057 commit 5897a39

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

arch/arm/mach-omap2/clock3xxx_data.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1394,6 +1394,7 @@ static struct clk cpefuse_fck = {
13941394
.name = "cpefuse_fck",
13951395
.ops = &clkops_omap2_dflt,
13961396
.parent = &sys_ck,
1397+
.clkdm_name = "core_l4_clkdm",
13971398
.enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3),
13981399
.enable_bit = OMAP3430ES2_EN_CPEFUSE_SHIFT,
13991400
.recalc = &followparent_recalc,
@@ -1403,6 +1404,7 @@ static struct clk ts_fck = {
14031404
.name = "ts_fck",
14041405
.ops = &clkops_omap2_dflt,
14051406
.parent = &omap_32k_fck,
1407+
.clkdm_name = "core_l4_clkdm",
14061408
.enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3),
14071409
.enable_bit = OMAP3430ES2_EN_TS_SHIFT,
14081410
.recalc = &followparent_recalc,
@@ -1412,6 +1414,7 @@ static struct clk usbtll_fck = {
14121414
.name = "usbtll_fck",
14131415
.ops = &clkops_omap2_dflt_wait,
14141416
.parent = &dpll5_m2_ck,
1417+
.clkdm_name = "core_l4_clkdm",
14151418
.enable_reg = OMAP_CM_REGADDR(CORE_MOD, OMAP3430ES2_CM_FCLKEN3),
14161419
.enable_bit = OMAP3430ES2_EN_USBTLL_SHIFT,
14171420
.recalc = &followparent_recalc,
@@ -1617,6 +1620,7 @@ static struct clk fshostusb_fck = {
16171620
.name = "fshostusb_fck",
16181621
.ops = &clkops_omap2_dflt_wait,
16191622
.parent = &core_48m_fck,
1623+
.clkdm_name = "core_l4_clkdm",
16201624
.enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_FCLKEN1),
16211625
.enable_bit = OMAP3430ES1_EN_FSHOSTUSB_SHIFT,
16221626
.recalc = &followparent_recalc,
@@ -2043,6 +2047,7 @@ static struct clk omapctrl_ick = {
20432047
.enable_reg = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN1),
20442048
.enable_bit = OMAP3430_EN_OMAPCTRL_SHIFT,
20452049
.flags = ENABLE_ON_INIT,
2050+
.clkdm_name = "core_l4_clkdm",
20462051
.recalc = &followparent_recalc,
20472052
};
20482053

@@ -2094,6 +2099,7 @@ static struct clk usb_l4_ick = {
20942099
.clksel_reg = OMAP_CM_REGADDR(CORE_MOD, CM_CLKSEL),
20952100
.clksel_mask = OMAP3430ES1_CLKSEL_FSHOSTUSB_MASK,
20962101
.clksel = usb_l4_clksel,
2102+
.clkdm_name = "core_l4_clkdm",
20972103
.recalc = &omap2_clksel_recalc,
20982104
};
20992105

0 commit comments

Comments
 (0)