linux 3.0: enable 1GHz for beagle and add 2 MADC patches from sakomans tree
[glsdk/meta-ti-glsdk.git] / recipes-kernel / linux / linux-3.0 / beagle / 0004-OMAP3-beagle-HACK-add-in-1GHz-OPP.patch
1 From fce3172f75d60e89f9192148d045d1735dd643b8 Mon Sep 17 00:00:00 2001
2 From: Koen Kooi <koen@dominion.thruhere.net>
3 Date: Wed, 25 May 2011 08:57:40 +0200
4 Subject: [PATCH 4/4] OMAP3: beagle: HACK! add in 1GHz OPP
6 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
7 ---
8  arch/arm/mach-omap2/board-omap3beagle.c |    2 ++
9  1 files changed, 2 insertions(+), 0 deletions(-)
11 diff --git a/arch/arm/mach-omap2/board-omap3beagle.c b/arch/arm/mach-omap2/board-omap3beagle.c
12 index a04f5a0..5e1d9f9 100644
13 --- a/arch/arm/mach-omap2/board-omap3beagle.c
14 +++ b/arch/arm/mach-omap2/board-omap3beagle.c
15 @@ -701,11 +701,13 @@ static void __init beagle_opp_init(void)
16                 /* Enable MPU 1GHz and lower opps */
17                 dev = &mh->od->pdev.dev;
18                 r = opp_enable(dev, 800000000);
19 +               r |= opp_enable(dev, 1000000000);
20                 /* TODO: MPU 1GHz needs SR and ABB */
21  
22                 /* Enable IVA 800MHz and lower opps */
23                 dev = &dh->od->pdev.dev;
24                 r |= opp_enable(dev, 660000000);
25 +               r |= opp_enable(dev, 800000000);
26                 /* TODO: DSP 800MHz needs SR and ABB */
27                 if (r) {
28                         pr_err("%s: failed to enable higher opp %d\n",
29 -- 
30 1.6.6.1