Skip to content

Commit

Permalink
davinci: Adding DM365 SOC Support
Browse files Browse the repository at this point in the history
The patch adds base support for new TI SOC DM365, which s
similar to the dm355.

Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
  • Loading branch information
Sandeep Paulraj authored and Kevin Hilman committed Aug 26, 2009
1 parent 5fcd294 commit fb8fcb8
Show file tree
Hide file tree
Showing 7 changed files with 875 additions and 1 deletion.
5 changes: 4 additions & 1 deletion arch/arm/mach-davinci/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,10 @@ static void __init clk_pll_init(struct clk *clk)
if (ctrl & PLLCTL_PLLEN) {
bypass = 0;
mult = __raw_readl(pll->base + PLLM);
mult = (mult & PLLM_PLLM_MASK) + 1;
if (cpu_is_davinci_dm365())
mult = 2 * (mult & PLLM_PLLM_MASK);
else
mult = (mult & PLLM_PLLM_MASK) + 1;
} else
bypass = 1;

Expand Down
Loading

0 comments on commit fb8fcb8

Please sign in to comment.