Skip to content

Commit

Permalink
ARM: OMAP: duplicate plat-omap/clock.c into mach-omap[12]/clock.c
Browse files Browse the repository at this point in the history
Duplicate arch/arm/plat-omap/clock.c into arch/arm/mach-omap1/clock.c
and arch/arm/mach-omap2/clock.c.  This is to support people who are working
on the ARM single image kernel and the OMAP common clock framework
conversion.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Tony Lindgren <tony@atomide.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
  • Loading branch information
Paul Walmsley authored and Tony Lindgren committed Oct 18, 2012
1 parent f7a9b8a commit 1fe9be8
Show file tree
Hide file tree
Showing 10 changed files with 1,010 additions and 572 deletions.
499 changes: 499 additions & 0 deletions arch/arm/mach-omap1/clock.c

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions arch/arm/mach-omap1/clock_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -766,14 +766,6 @@ static struct omap_clk omap_clks[] = {
* init
*/

static struct clk_functions omap1_clk_functions = {
.clk_enable = omap1_clk_enable,
.clk_disable = omap1_clk_disable,
.clk_round_rate = omap1_clk_round_rate,
.clk_set_rate = omap1_clk_set_rate,
.clk_disable_unused = omap1_clk_disable_unused,
};

static void __init omap1_show_rates(void)
{
pr_notice("Clocking rate (xtal/DPLL1/MPU): %ld.%01ld/%ld.%01ld/%ld.%01ld MHz\n",
Expand Down Expand Up @@ -804,8 +796,6 @@ int __init omap1_clk_init(void)
if (!cpu_is_omap15xx())
omap_writew(0, SOFT_REQ_REG2);

clk_init(&omap1_clk_functions);

/* By default all idlect1 clocks are allowed to idle */
arm_idlect1_mask = ~0;

Expand Down
Loading

0 comments on commit 1fe9be8

Please sign in to comment.