summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/mru-clocks2.diff
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/mru-clocks2.diff
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/mru-clocks2.diff')
-rw-r--r--meta/recipes-kernel/linux/linux-omap2-git/beagleboard/mru-clocks2.diff62
1 files changed, 62 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/mru-clocks2.diff b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/mru-clocks2.diff
new file mode 100644
index 0000000000..c8b370da03
--- /dev/null
+++ b/meta/recipes-kernel/linux/linux-omap2-git/beagleboard/mru-clocks2.diff
@@ -0,0 +1,62 @@
1From: Mans Rullgard <mans@mansr.com>
2Date: Tue, 22 Jul 2008 00:58:18 +0000 (+0100)
3Subject: ARM: OMAP: add clk_get_parent() for OMAP2/3
4X-Git-Url: http://git.mansr.com/?p=linux-omap;a=commitdiff_plain;h=e2de5e5578fbaa9b4b75074796da0608fc93e6ae
5
6ARM: OMAP: add clk_get_parent() for OMAP2/3
7
8Signed-off-by: Mans Rullgard <mans@mansr.com>
9---
10
11diff --git a/arch/arm/mach-omap2/clock.c b/arch/arm/mach-omap2/clock.c
12index 577be44..28aec36 100644
13--- a/arch/arm/mach-omap2/clock.c
14+++ b/arch/arm/mach-omap2/clock.c
15@@ -824,6 +824,11 @@ int omap2_clk_set_parent(struct clk *clk, struct clk *new_parent)
16 return 0;
17 }
18
19+struct clk *omap2_clk_get_parent(struct clk *clk)
20+{
21+ return clk->parent;
22+}
23+
24 /* DPLL rate rounding code */
25
26 /**
27diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h
28index 49245f7..4aa69d5 100644
29--- a/arch/arm/mach-omap2/clock.h
30+++ b/arch/arm/mach-omap2/clock.h
31@@ -29,6 +29,7 @@ int omap2_clk_set_rate(struct clk *clk, unsigned long rate);
32 int omap2_clk_set_parent(struct clk *clk, struct clk *new_parent);
33 int omap2_dpll_set_rate_tolerance(struct clk *clk, unsigned int tolerance);
34 long omap2_dpll_round_rate(struct clk *clk, unsigned long target_rate);
35+struct clk *omap2_clk_get_parent(struct clk *clk);
36
37 #ifdef CONFIG_OMAP_RESET_CLOCKS
38 void omap2_clk_disable_unused(struct clk *clk);
39diff --git a/arch/arm/mach-omap2/clock24xx.c b/arch/arm/mach-omap2/clock24xx.c
40index 54cc6e1..ed7af21 100644
41--- a/arch/arm/mach-omap2/clock24xx.c
42+++ b/arch/arm/mach-omap2/clock24xx.c
43@@ -422,6 +422,7 @@ static struct clk_functions omap2_clk_functions = {
44 .clk_round_rate = omap2_clk_round_rate,
45 .clk_set_rate = omap2_clk_set_rate,
46 .clk_set_parent = omap2_clk_set_parent,
47+ .clk_get_parent = omap2_clk_get_parent,
48 .clk_disable_unused = omap2_clk_disable_unused,
49 #ifdef CONFIG_CPU_FREQ
50 .clk_init_cpufreq_table = omap2_clk_init_cpufreq_table,
51diff --git a/arch/arm/mach-omap2/clock34xx.c b/arch/arm/mach-omap2/clock34xx.c
52index 04dedec..08c8c46 100644
53--- a/arch/arm/mach-omap2/clock34xx.c
54+++ b/arch/arm/mach-omap2/clock34xx.c
55@@ -541,6 +541,7 @@ static struct clk_functions omap2_clk_functions = {
56 .clk_round_rate = omap2_clk_round_rate,
57 .clk_set_rate = omap2_clk_set_rate,
58 .clk_set_parent = omap2_clk_set_parent,
59+ .clk_get_parent = omap2_clk_get_parent,
60 .clk_disable_unused = omap2_clk_disable_unused,
61 };
62