Skip to content

Commit

Permalink
ARM: OMAP4: PM: OMAP4 clock tree and clkdev registration
Browse files Browse the repository at this point in the history
This patch defines all the clock nodes in OMAP4430
platform. All the clock node structs and the clkdev table is
autogenerated using a python script (gen_clock_tree.py)
developed by Paul Walmsley, Benoit Cousson and Rajendra Nayak.

Signed-off-by: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
Cc: Benoit Cousson <b-cousson@ti.com>
  • Loading branch information
Rajendra Nayak authored and paul committed Dec 12, 2009
1 parent dd70841 commit 972c542
Show file tree
Hide file tree
Showing 4 changed files with 2,786 additions and 1 deletion.
23 changes: 23 additions & 0 deletions arch/arm/mach-omap2/clock44xx.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
/*
* OMAP4 clock function prototypes and macros
*
* Copyright (C) 2009 Texas Instruments, Inc.
*/

#ifndef __ARCH_ARM_MACH_OMAP2_CLOCK_44XX_H
#define __ARCH_ARM_MACH_OMAP2_CLOCK_44XX_H

unsigned long omap3_dpll_recalc(struct clk *clk);
unsigned long omap3_clkoutx2_recalc(struct clk *clk);
int omap3_noncore_dpll_set_rate(struct clk *clk, unsigned long rate);

/* DPLL modes */
#define DPLL_LOW_POWER_STOP 0x1
#define DPLL_LOW_POWER_BYPASS 0x5
#define DPLL_LOCKED 0x7
#define OMAP4430_MAX_DPLL_MULT 2048
#define OMAP4430_MAX_DPLL_DIV 128

extern const struct clkops clkops_noncore_dpll_ops;

#endif
Loading

0 comments on commit 972c542

Please sign in to comment.