summaryrefslogtreecommitdiff
path: root/packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-07-22 08:33:45 +0000
committerKoen Kooi <koen@openembedded.org>2008-07-22 08:33:45 +0000
commitf8a4782d36b59b457c49a86d6630de7a8699e36b (patch)
tree0407d53d291406e55b24b9af88ae0e56374b5eed /packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff
parentb6ecf118e3a541c4a6ab2abcf9b4a18d40e33469 (diff)
linux omap2 git: update TWL4030 patches for beagle, add mrus clock patches
Diffstat (limited to 'packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff')
-rw-r--r--packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff b/packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff
new file mode 100644
index 0000000000..a17cc52c16
--- /dev/null
+++ b/packages/linux/linux-omap2-git/beagleboard/mru-clocks1.diff
@@ -0,0 +1,25 @@
+From: Mans Rullgard <mans@mansr.com>
+Date: Tue, 22 Jul 2008 00:31:11 +0000 (+0100)
+Subject: ARM: OMAP: make dpll4_m4_ck programmable with clk_set_rate()
+X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=edc6cd29284f64f524dd410fdc5e6133bc177a8f
+
+ARM: 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.
+---
+
+diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h
+index 161da12..876eb13 100644
+--- a/arch/arm/mach-omap2/clock34xx.h
++++ b/arch/arm/mach-omap2/clock34xx.h
+@@ -815,6 +815,8 @@ static struct clk dpll4_m4_ck = {
+ .flags = CLOCK_IN_OMAP343X | RATE_PROPAGATES |
+ PARENT_CONTROLS_CLOCK,
+ .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 */