aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-davinci/clock.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-davinci/clock.h')
-rw-r--r--arch/arm/mach-davinci/clock.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/clock.h b/arch/arm/mach-davinci/clock.h
index c92d77a3008d..eca4d9972225 100644
--- a/arch/arm/mach-davinci/clock.h
+++ b/arch/arm/mach-davinci/clock.h
@@ -53,6 +53,21 @@
53#define PLLDIV_EN BIT(15) 53#define PLLDIV_EN BIT(15)
54#define PLLDIV_RATIO_MASK 0x1f 54#define PLLDIV_RATIO_MASK 0x1f
55 55
56/*
57 * OMAP-L138 system reference guide recommends a wait for 4 OSCIN/CLKIN
58 * cycles to ensure that the PLLC has switched to bypass mode. Delay of 1us
59 * ensures we are good for all > 4MHz OSCIN/CLKIN inputs. Typically the input
60 * is ~25MHz. Units are micro seconds.
61 */
62#define PLL_BYPASS_TIME 1
63/* From OMAP-L138 datasheet table 6-4. Units are micro seconds */
64#define PLL_RESET_TIME 1
65/*
66 * From OMAP-L138 datasheet table 6-4; assuming prediv = 1, sqrt(pllm) = 4
67 * Units are micro seconds.
68 */
69#define PLL_LOCK_TIME 20
70
56struct pll_data { 71struct pll_data {
57 u32 phys_base; 72 u32 phys_base;
58 void __iomem *base; 73 void __iomem *base;