diff options
author | Paul Walmsley <paul@pwsan.com> | 2012-09-22 04:24:14 -0400 |
---|---|---|
committer | Paul Walmsley <paul@pwsan.com> | 2012-09-22 12:50:00 -0400 |
commit | c810fde217fcaf225e7693887a1ef955a1c86097 (patch) | |
tree | 05a6dc3f6c095bf44f10643588baab582ebdaf0d /arch | |
parent | 8fde3afbfae8e8469d8a484115715353b62e83e8 (diff) |
ARM: OMAP2+: clock data: add some aliases for use by CPUFreq only
These clkdev aliases should make it possible to remove the
cpu_is_omap*() calls and the omap_device*() call from
drivers/cpufreq/omap-cpufreq.c during the next merge window. Those
are interfering with multi-subarch ARM kernels.
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Kevin Hilman <khilman@ti.com>
Cc: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-omap2/clock2420_data.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock2430_data.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock3xxx_data.c | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/clock44xx_data.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock2420_data.c b/arch/arm/mach-omap2/clock2420_data.c index 51098a41d144..8c3bd2a62881 100644 --- a/arch/arm/mach-omap2/clock2420_data.c +++ b/arch/arm/mach-omap2/clock2420_data.c | |||
@@ -1900,6 +1900,7 @@ static struct omap_clk omap2420_clks[] = { | |||
1900 | CLK(NULL, "timer_32k_ck", &func_32k_ck, CK_242X), | 1900 | CLK(NULL, "timer_32k_ck", &func_32k_ck, CK_242X), |
1901 | CLK(NULL, "timer_sys_ck", &sys_ck, CK_242X), | 1901 | CLK(NULL, "timer_sys_ck", &sys_ck, CK_242X), |
1902 | CLK(NULL, "timer_ext_ck", &alt_ck, CK_242X), | 1902 | CLK(NULL, "timer_ext_ck", &alt_ck, CK_242X), |
1903 | CLK(NULL, "cpufreq_ck", &virt_prcm_set, CK_242X), | ||
1903 | }; | 1904 | }; |
1904 | 1905 | ||
1905 | /* | 1906 | /* |
diff --git a/arch/arm/mach-omap2/clock2430_data.c b/arch/arm/mach-omap2/clock2430_data.c index 7ea91398217a..0c8503d7033f 100644 --- a/arch/arm/mach-omap2/clock2430_data.c +++ b/arch/arm/mach-omap2/clock2430_data.c | |||
@@ -1994,6 +1994,7 @@ static struct omap_clk omap2430_clks[] = { | |||
1994 | CLK(NULL, "timer_32k_ck", &func_32k_ck, CK_243X), | 1994 | CLK(NULL, "timer_32k_ck", &func_32k_ck, CK_243X), |
1995 | CLK(NULL, "timer_sys_ck", &sys_ck, CK_243X), | 1995 | CLK(NULL, "timer_sys_ck", &sys_ck, CK_243X), |
1996 | CLK(NULL, "timer_ext_ck", &alt_ck, CK_243X), | 1996 | CLK(NULL, "timer_ext_ck", &alt_ck, CK_243X), |
1997 | CLK(NULL, "cpufreq_ck", &virt_prcm_set, CK_243X), | ||
1997 | }; | 1998 | }; |
1998 | 1999 | ||
1999 | /* | 2000 | /* |
diff --git a/arch/arm/mach-omap2/clock3xxx_data.c b/arch/arm/mach-omap2/clock3xxx_data.c index fc7dded4f3ef..f1ee4ec53d4a 100644 --- a/arch/arm/mach-omap2/clock3xxx_data.c +++ b/arch/arm/mach-omap2/clock3xxx_data.c | |||
@@ -3470,6 +3470,7 @@ static struct omap_clk omap3xxx_clks[] = { | |||
3470 | CLK(NULL, "uart4_ick", &uart4_ick_am35xx, CK_AM35XX), | 3470 | CLK(NULL, "uart4_ick", &uart4_ick_am35xx, CK_AM35XX), |
3471 | CLK(NULL, "timer_32k_ck", &omap_32k_fck, CK_3XXX), | 3471 | CLK(NULL, "timer_32k_ck", &omap_32k_fck, CK_3XXX), |
3472 | CLK(NULL, "timer_sys_ck", &sys_ck, CK_3XXX), | 3472 | CLK(NULL, "timer_sys_ck", &sys_ck, CK_3XXX), |
3473 | CLK(NULL, "cpufreq_ck", &dpll1_ck, CK_3XXX), | ||
3473 | }; | 3474 | }; |
3474 | 3475 | ||
3475 | 3476 | ||
diff --git a/arch/arm/mach-omap2/clock44xx_data.c b/arch/arm/mach-omap2/clock44xx_data.c index 77ff033b9ba0..a8454ba4b722 100644 --- a/arch/arm/mach-omap2/clock44xx_data.c +++ b/arch/arm/mach-omap2/clock44xx_data.c | |||
@@ -3327,6 +3327,7 @@ static struct omap_clk omap44xx_clks[] = { | |||
3327 | CLK("omap_timer.6", "timer_sys_ck", &syc_clk_div_ck, CK_443X), | 3327 | CLK("omap_timer.6", "timer_sys_ck", &syc_clk_div_ck, CK_443X), |
3328 | CLK("omap_timer.7", "timer_sys_ck", &syc_clk_div_ck, CK_443X), | 3328 | CLK("omap_timer.7", "timer_sys_ck", &syc_clk_div_ck, CK_443X), |
3329 | CLK("omap_timer.8", "timer_sys_ck", &syc_clk_div_ck, CK_443X), | 3329 | CLK("omap_timer.8", "timer_sys_ck", &syc_clk_div_ck, CK_443X), |
3330 | CLK(NULL, "cpufreq_ck", &dpll_mpu_ck, CK_443X), | ||
3330 | }; | 3331 | }; |
3331 | 3332 | ||
3332 | int __init omap4xxx_clk_init(void) | 3333 | int __init omap4xxx_clk_init(void) |