summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTuukka Toivonen <tuukka.o.toivonen@nokia.com>2010-01-08 15:23:08 -0700
committerPaul Walmsley <paul@pwsan.com>2010-01-08 15:23:08 -0700
commit3e3ee1560daaf09bb5dbe3afd35ca2f75e2e116a (patch)
tree85f79c1132d306eb9b022e95cee8624b98366bc2 /arch
parent073463ca4011d4f6f8e2334273f3b062b2b19b85 (diff)
downloadlinux-3e3ee1560daaf09bb5dbe3afd35ca2f75e2e116a.tar.gz
linux-3e3ee1560daaf09bb5dbe3afd35ca2f75e2e116a.tar.xz
OMAP3 clock: Add capability to change rate of dpll4_m5_ck
Add necessary definitions to clock framework to allow changing dpll4_m5_ck rate. This is used by the camera code. Signed-off-by: Jouni Högander <jouni.hogander@nokia.com> Signed-off-by: Tuukka Toivonen <tuukka.o.toivonen@nokia.com> Signed-off-by: Paul Walmsley <paul@pwsan.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-omap2/clock34xx_data.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-omap2/clock34xx_data.c b/arch/arm/mach-omap2/clock34xx_data.c
index 7eea9fb09e74..c6031d74d6f6 100644
--- a/arch/arm/mach-omap2/clock34xx_data.c
+++ b/arch/arm/mach-omap2/clock34xx_data.c
@@ -776,6 +776,8 @@ static struct clk dpll4_m5_ck = {
.clksel_mask = OMAP3430_CLKSEL_CAM_MASK,
.clksel = div16_dpll4_clksel,
.clkdm_name = "dpll4_clkdm",
+ .set_rate = &omap2_clksel_set_rate,
+ .round_rate = &omap2_clksel_round_rate,
.recalc = &omap2_clksel_recalc,
};