Hello, I wrote:
+static struct clk tpcc_clk = {
+ .name = "tpcc",
+ .parent = &pll0_sysclk2,
+ .lpsc = DA830_LPSC0_TPCC,
+ .flags = ALWAYS_ENABLED,
+};
+
LPSC for tpcc (LPSC number ZERO) will not get enabled because of the
(clk->lpsc) check in davinci_clk_init function in
arch/arm/mach-davinci/clock.c file. You can add the CLK_PSC flag
above along with ALWAYS_ENABLED.
Yes, this is a bit of a hack to handle PSC = 0.
It's not PSC = 0, it's module 0 within PSC.
What a terminological mess due to a single misnamed field...
I had to do the same for VPSSMSTR on dm644x.
Now tell me what that check is for, if one has to hack around it?
Nevermind, seems to have figured that out. I was thinking about the
different place.
Kevin
WBR, Sergei
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source