summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/omap3-dppl-divider.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-kernel/linux/linux-omap2-git/beagleboard/omap3-dppl-divider.patch
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-kernel/linux/linux-omap2-git/beagleboard/omap3-dppl-divider.patch')
-rw-r--r--meta/recipes-kernel/linux/linux-omap2-git/beagleboard/omap3-dppl-divider.patch114
1 files changed, 114 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/omap3-dppl-divider.patch b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/omap3-dppl-divider.patch
new file mode 100644
index 0000000000..25e5aad9c9
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/omap3-dppl-divider.patch
@@ -0,0 +1,114 @@
1From linux-omap-owner@vger.kernel.org Tue Jun 24 09:24:30 2008
2Received: from localhost
3 ([127.0.0.1] helo=dominion ident=koen)
4 by dominion.dominion.void with esmtp (Exim 4.63)
5 (envelope-from <linux-omap-owner@vger.kernel.org>)
6 id 1KB2tB-0005XT-FQ
7 for koen@localhost; Tue, 24 Jun 2008 09:24:30 +0200
8Received: from xs.service.utwente.nl [130.89.5.250]
9 by dominion with POP3 (fetchmail-6.3.6)
10 for <koen@localhost> (single-drop); Tue, 24 Jun 2008 09:24:29 +0200 (CEST)
11Received: from mail.service.utwente.nl ([130.89.5.254]) by exchange.service.utwente.nl with Microsoft SMTPSVC(6.0.3790.3959);
12 Tue, 24 Jun 2008 09:13:04 +0200
13Received: from mx.utwente.nl ([130.89.2.13]) by mail.service.utwente.nl with Microsoft SMTPSVC(6.0.3790.3959);
14 Tue, 24 Jun 2008 09:13:03 +0200
15Received: from vger.kernel.org (vger.kernel.org [209.132.176.167])
16 by mx.utwente.nl (8.12.10/SuSE Linux 0.7) with ESMTP id m5O7CcD7008917
17 for <k.kooi@student.utwente.nl>; Tue, 24 Jun 2008 09:12:38 +0200
18Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
19 id S1751623AbYFXHMh (ORCPT <rfc822;k.kooi@student.utwente.nl>);
20 Tue, 24 Jun 2008 03:12:37 -0400
21Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751670AbYFXHMh
22 (ORCPT <rfc822;linux-omap-outgoing>);
23 Tue, 24 Jun 2008 03:12:37 -0400
24Received: from utopia.booyaka.com ([72.9.107.138]:47392 "EHLO
25 utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
26 with ESMTP id S1751623AbYFXHMg (ORCPT
27 <rfc822;linux-omap@vger.kernel.org>); Tue, 24 Jun 2008 03:12:36 -0400
28Received: (qmail 1797 invoked by uid 526); 24 Jun 2008 07:12:35 -0000
29Date: Tue, 24 Jun 2008 01:12:35 -0600 (MDT)
30From: Paul Walmsley <paul@pwsan.com>
31To: linux-omap@vger.kernel.org
32Subject: [PATCH] OMAP3 clock: DPLL{1,2}_FCLK clksel can divide by 4
33Message-ID: <alpine.DEB.1.00.0806240111320.9741@utopia.booyaka.com>
34User-Agent: Alpine 1.00 (DEB 882 2007-12-20)
35MIME-Version: 1.0
36Content-Type: TEXT/PLAIN; charset=US-ASCII
37Sender: linux-omap-owner@vger.kernel.org
38Precedence: bulk
39List-ID: <linux-omap.vger.kernel.org>
40X-Mailing-List: linux-omap@vger.kernel.org
41X-UTwente-MailScanner-Information: Scanned by MailScanner. Contact servicedesk@icts.utwente.nl for more information.
42X-UTwente-MailScanner: Found to be clean
43X-UTwente-MailScanner-From: linux-omap-owner@vger.kernel.org
44X-Spam-Status: No
45X-OriginalArrivalTime: 24 Jun 2008 07:13:04.0264 (UTC) FILETIME=[BE950880:01C8D5C9]
46
47
48OMAP34xx ES2 TRM Delta G to H states that the divider for DPLL1_FCLK and
49DPLL2_FCLK can divide by 4 in addition to dividing by 1 and 2. Encode this
50into the OMAP3 clock framework.
51
52Signed-off-by: Paul Walmsley <paul@pwsan.com>
53---
54
55 arch/arm/mach-omap2/clock34xx.h | 20 ++++++++++++++++----
56 1 files changed, 16 insertions(+), 4 deletions(-)
57
58diff --git a/arch/arm/mach-omap2/clock34xx.h b/arch/arm/mach-omap2/clock34xx.h
59index b4dceea..9605744 100644
60--- a/arch/arm/mach-omap2/clock34xx.h
61+++ b/arch/arm/mach-omap2/clock34xx.h
62@@ -1029,8 +1029,15 @@ static struct clk corex2_fck = {
63
64 /* DPLL power domain clock controls */
65
66-static const struct clksel div2_core_clksel[] = {
67- { .parent = &core_ck, .rates = div2_rates },
68+static const struct clksel_rate div4_rates[] = {
69+ { .div = 1, .val = 1, .flags = RATE_IN_343X | DEFAULT_RATE },
70+ { .div = 2, .val = 2, .flags = RATE_IN_343X },
71+ { .div = 4, .val = 4, .flags = RATE_IN_343X },
72+ { .div = 0 }
73+};
74+
75+static const struct clksel div4_core_clksel[] = {
76+ { .parent = &core_ck, .rates = div4_rates },
77 { .parent = NULL }
78 };
79
80@@ -1044,7 +1051,7 @@ static struct clk dpll1_fck = {
81 .init = &omap2_init_clksel_parent,
82 .clksel_reg = _OMAP34XX_CM_REGADDR(MPU_MOD, OMAP3430_CM_CLKSEL1_PLL),
83 .clksel_mask = OMAP3430_MPU_CLK_SRC_MASK,
84- .clksel = div2_core_clksel,
85+ .clksel = div4_core_clksel,
86 .flags = CLOCK_IN_OMAP343X | RATE_PROPAGATES |
87 PARENT_CONTROLS_CLOCK,
88 .recalc = &omap2_clksel_recalc,
89@@ -1119,7 +1126,7 @@ static struct clk dpll2_fck = {
90 .init = &omap2_init_clksel_parent,
91 .clksel_reg = _OMAP34XX_CM_REGADDR(OMAP3430_IVA2_MOD, OMAP3430_CM_CLKSEL1_PLL),
92 .clksel_mask = OMAP3430_IVA2_CLK_SRC_MASK,
93- .clksel = div2_core_clksel,
94+ .clksel = div4_core_clksel,
95 .flags = CLOCK_IN_OMAP343X | RATE_PROPAGATES |
96 PARENT_CONTROLS_CLOCK,
97 .recalc = &omap2_clksel_recalc,
98@@ -1155,6 +1162,11 @@ static struct clk iva2_ck = {
99
100 /* Common interface clocks */
101
102+static const struct clksel div2_core_clksel[] = {
103+ { .parent = &core_ck, .rates = div2_rates },
104+ { .parent = NULL }
105+};
106+
107 static struct clk l3_ick = {
108 .name = "l3_ick",
109 .parent = &core_ck,
110--
111To unsubscribe from this list: send the line "unsubscribe linux-omap" in
112the body of a message to majordomo@vger.kernel.org
113More majordomo info at http://vger.kernel.org/majordomo-info.html
114