diff options
author | Sekhar Nori <nsekhar@ti.com> | 2009-08-31 06:18:02 -0400 |
---|---|---|
committer | Kevin Hilman <khilman@deeprootsystems.com> | 2009-11-25 13:21:20 -0500 |
commit | de381a91f544008f4f99571e2ef1f60b92d5f0cf (patch) | |
tree | f15d31d2a7de9379e3fac9300eb2a2a190eab4a4 /arch/arm/mach-davinci/clock.h | |
parent | f02bf3b396846f3da60b4962aeaae8652e20f0dd (diff) |
davinci: make clock rate re-calculation easy
Make clock rate recalculation easy by having a re-calculate
function for each clock.
The existing functions for calculation of output rates of PLL
and PLL-derived sysclks have been convered to the new
re-calculate API.
A new function is introduced to take care of rate
(re)calculation for leaf clocks.
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Diffstat (limited to 'arch/arm/mach-davinci/clock.h')
-rw-r--r-- | arch/arm/mach-davinci/clock.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/clock.h b/arch/arm/mach-davinci/clock.h index f88794d7446e..202b9ff27b9d 100644 --- a/arch/arm/mach-davinci/clock.h +++ b/arch/arm/mach-davinci/clock.h | |||
@@ -73,6 +73,7 @@ struct clk { | |||
73 | struct list_head childnode; /* parent's child list node */ | 73 | struct list_head childnode; /* parent's child list node */ |
74 | struct pll_data *pll_data; | 74 | struct pll_data *pll_data; |
75 | u32 div_reg; | 75 | u32 div_reg; |
76 | unsigned long (*recalc) (struct clk *); | ||
76 | }; | 77 | }; |
77 | 78 | ||
78 | /* Clock flags */ | 79 | /* Clock flags */ |