diff mbox

[v5,4/9] ARM: davinci: da850: added pll0_sysclk1 for DSP usage

Message ID 1357863807-380-5-git-send-email-rtivy@ti.com (mailing list archive)
State Changes Requested
Headers show

Commit Message

Tivy, Robert Jan. 11, 2013, 12:23 a.m. UTC
Added pll0_sysclk1 to allow clocking control for DSP

Signed-off-by: Robert Tivy <rtivy@ti.com>
---
 arch/arm/mach-davinci/da850.c |    8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Sekhar Nori Jan. 17, 2013, 7:55 a.m. UTC | #1
On 1/11/2013 5:53 AM, Robert Tivy wrote:
> Added pll0_sysclk1 to allow clocking control for DSP
> 
> Signed-off-by: Robert Tivy <rtivy@ti.com>

Applied patches 3 and 4 as well.

Thanks,
Sekhar
diff mbox

Patch

diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c
index 6b9154e..097fcb2 100644
--- a/arch/arm/mach-davinci/da850.c
+++ b/arch/arm/mach-davinci/da850.c
@@ -76,6 +76,13 @@  static struct clk pll0_aux_clk = {
 	.flags		= CLK_PLL | PRE_PLL,
 };
 
+static struct clk pll0_sysclk1 = {
+	.name		= "pll0_sysclk1",
+	.parent		= &pll0_clk,
+	.flags		= CLK_PLL,
+	.div_reg	= PLLDIV1,
+};
+
 static struct clk pll0_sysclk2 = {
 	.name		= "pll0_sysclk2",
 	.parent		= &pll0_clk,
@@ -372,6 +379,7 @@  static struct clk_lookup da850_clks[] = {
 	CLK(NULL,		"ref",		&ref_clk),
 	CLK(NULL,		"pll0",		&pll0_clk),
 	CLK(NULL,		"pll0_aux",	&pll0_aux_clk),
+	CLK(NULL,		"pll0_sysclk1",	&pll0_sysclk1),
 	CLK(NULL,		"pll0_sysclk2",	&pll0_sysclk2),
 	CLK(NULL,		"pll0_sysclk3",	&pll0_sysclk3),
 	CLK(NULL,		"pll0_sysclk4",	&pll0_sysclk4),