Hi Steve,
When I try to write PLLEN bit in PLLCTL register of PLL1 it crashes.
But When I read it works fine. Can you please suggest me how do I write the
pll registers?
Below is how I try to write PLL register.
pllcnt = davinci_readl(DAVINCI_PLL_CNTRL0_BASE + PLLCTL);
davinci_writel(DA
On Thu, 2009-07-23 at 15:41 +0530, Azam Ansari wrote:
> Hi Steve,
>
> When I try to write PLLEN bit in PLLCTL register of PLL1 it crashes.
>
> But When I read it works fine. Can you please suggest me how do I
> write the pll registers?
>
> Below is how I try to write PLL register.
>
> pllcn
Hi Steve,
Thank you.
I found the problem. Problem was with the order of the parameter that I was
passing to davinci_writel() function.
It takes davinci_writel(value, address) and I was passing it
davinci_writel(address, value).
After I changed the order of the parameter everything worked fine.