diff options
author | Koen Kooi <koen@openembedded.org> | 2008-09-16 09:13:06 +0000 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-09-16 09:13:06 +0000 |
commit | 19c3e7433301c85c65b48080f6929eda0cca8818 (patch) | |
tree | 7e82b4efe6b9b4b09632a4078646d294b140a7a9 /packages/linux/linux-omap/mru-make-dpll4-m4-ck-programmable.diff | |
parent | 8ba68cd0307c3029df332f01116e2e9b1b06a759 (diff) |
linux-omap git: refresh patchset
Diffstat (limited to 'packages/linux/linux-omap/mru-make-dpll4-m4-ck-programmable.diff')
-rw-r--r-- | packages/linux/linux-omap/mru-make-dpll4-m4-ck-programmable.diff | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/packages/linux/linux-omap/mru-make-dpll4-m4-ck-programmable.diff b/packages/linux/linux-omap/mru-make-dpll4-m4-ck-programmable.diff new file mode 100644 index 0000000000..0a535c5d52 --- /dev/null +++ b/packages/linux/linux-omap/mru-make-dpll4-m4-ck-programmable.diff @@ -0,0 +1,27 @@ +From: Mans Rullgard <mans@mansr.com> +Date: Fri, 29 Aug 2008 01:52:42 +0000 (+0100) +Subject: OMAP: Make dpll4_m4_ck programmable with clk_set_rate() +X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=feab5b628c06619196044c15d9d2a113df173eee + +OMAP: Make dpll4_m4_ck programmable with clk_set_rate() + +Filling the set_rate and round_rate fields of dpll4_m4_ck makes +this clock programmable through clk_set_rate(). This is needed +to give omapfb control over the dss1_alwon_fck rate. + +Signed-off-by: Mans Rullgard <mans@mansr.com> +--- + +diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h +index 41f91f8..9c8e0c8 100644 +--- a/arch/arm/mach-omap2/clock34xx.h ++++ b/arch/arm/mach-omap2/clock34xx.h +@@ -877,6 +877,8 @@ static struct clk dpll4_m4_ck = { + PARENT_CONTROLS_CLOCK, + .clkdm = { .name = "dpll4_clkdm" }, + .recalc = &omap2_clksel_recalc, ++ .set_rate = &omap2_clksel_set_rate, ++ .round_rate = &omap2_clksel_round_rate, + }; + + /* The PWRDN bit is apparently only available on 3430ES2 and above */ |