diff options
author | Matt Porter <mporter@ti.com> | 2012-10-08 09:53:08 -0400 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-10-27 16:28:36 +0530 |
commit | 8e0d72d2c7a6955692ba0a21bbf5ca86e8061777 (patch) | |
tree | efff7dfa7085f951a83b1ce3c7362a78d7d067ca /arch/arm/mach-davinci/da850.c | |
parent | 983c42ba3465d4a80edfd318de24f8ffb2bf71ca (diff) | |
download | linux-8e0d72d2c7a6955692ba0a21bbf5ca86e8061777.tar.gz linux-8e0d72d2c7a6955692ba0a21bbf5ca86e8061777.tar.bz2 linux-8e0d72d2c7a6955692ba0a21bbf5ca86e8061777.zip |
ARM: davinci: da8xx: add DA850 PRUSS support
Adds PRUSS clock support and registration helper for the
uio_pruss device.
Signed-off-by: Matt Porter <mporter@ti.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/da850.c')
-rw-r--r-- | arch/arm/mach-davinci/da850.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/da850.c b/arch/arm/mach-davinci/da850.c index 41d2cabbcf33..68c5fe01857c 100644 --- a/arch/arm/mach-davinci/da850.c +++ b/arch/arm/mach-davinci/da850.c @@ -212,6 +212,12 @@ static struct clk tptc2_clk = { .flags = ALWAYS_ENABLED, }; +static struct clk pruss_clk = { + .name = "pruss", + .parent = &pll0_sysclk2, + .lpsc = DA8XX_LPSC0_PRUSS, +}; + static struct clk uart0_clk = { .name = "uart0", .parent = &pll0_sysclk2, @@ -385,6 +391,7 @@ static struct clk_lookup da850_clks[] = { CLK(NULL, "tptc1", &tptc1_clk), CLK(NULL, "tpcc1", &tpcc1_clk), CLK(NULL, "tptc2", &tptc2_clk), + CLK("pruss_uio", "pruss", &pruss_clk), CLK(NULL, "uart0", &uart0_clk), CLK(NULL, "uart1", &uart1_clk), CLK(NULL, "uart2", &uart2_clk), |