diff options
author | Matt Porter <mporter@ti.com> | 2012-10-08 13:53:08 (GMT) |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2012-10-27 10:58:36 (GMT) |
commit | 8e0d72d2c7a6955692ba0a21bbf5ca86e8061777 (patch) | |
tree | efff7dfa7085f951a83b1ce3c7362a78d7d067ca /arch/arm/mach-davinci/da850.c | |
parent | 983c42ba3465d4a80edfd318de24f8ffb2bf71ca (diff) | |
download | linux-fsl-qoriq-8e0d72d2c7a6955692ba0a21bbf5ca86e8061777.tar.xz |
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 41d2cab..68c5fe0 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), |