summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (from parent 1: 30de2f9)
raw | patch | inline | side by side (from parent 1: 30de2f9)
author | Vaibhav Bedia <vaibhav.bedia@ti.com> | |
Tue, 17 Jan 2012 05:25:55 +0000 (10:55 +0530) | ||
committer | Vaibhav Hiremath <hvaibhav@ti.com> | |
Mon, 23 Jan 2012 19:14:54 +0000 (00:44 +0530) |
Some of the clocks will never be disabled from the kernel.
To get an accurate use count for such clocks, mark them
with the ENABLE_ON_INIT flag.
Note: Need to check if there's a better way of doing this.
Maybe there should be a clock_get for such clocks.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
To get an accurate use count for such clocks, mark them
with the ENABLE_ON_INIT flag.
Note: Need to check if there's a better way of doing this.
Maybe there should be a clock_get for such clocks.
Signed-off-by: Vaibhav Bedia <vaibhav.bedia@ti.com>
arch/arm/mach-omap2/clock33xx_data.c | patch | blob | history |
index 61814a1806a76f2a85964bb8baf210c4f08b2338..fb88543fa4c73e8570d204bdbe10a93656c5467c 100644 (file)
.clkdm_name = "l4ls_clkdm",
.parent = &core_100m_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk timer2_ick = {
.clkdm_name = "l4_wkup_clkdm",
.parent = &div_l4_wkup_gclk_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk dcan0_fck = {
.clkdm_name = "l4fw_clkdm",
.parent = &core_100m_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk epwmss0_fck = {
.clkdm_name = "l3s_clkdm",
.parent = &core_100m_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk l3_instr_fck = {
.clkdm_name = "l3_clkdm",
.parent = &sysclk_div_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk l3_main_fck = {
.clkdm_name = "l3_clkdm",
.parent = &sysclk_div_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk l4_hs_fck = {
.clkdm_name = "l4hs_clkdm",
.parent = &sysclk_div_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk l4fw_fck = {
.clkdm_name = "l4fw_clkdm",
.parent = &core_100m_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk l4wkup_fck = {
.clkdm_name = "l4_wkup_aon_clkdm",
.parent = &div_l4_wkup_gclk_ck,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk mailbox0_fck = {
.clkdm_name = "l3_clkdm",
.parent = &ddr_pll_div_clk,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};
static struct clk div_l4_rtc_gclk_ck = {
.parent = &sys_clkin_ck,
.ops = &clkops_null,
.recalc = &followparent_recalc,
+ .flags = ENABLE_ON_INIT,
};