[U-Boot] How to set IPU parent clock to TVE?

DaveKucharczyk david.kucharczyk at gmail.com
Mon Oct 12 18:17:44 CEST 2015


This is more kernel related than U-Boot, but I'm hoping you guys can help me
out. I've been stuck on this for some days now with no response in the
Freescale forum.

We ported our custom imx51 board from Linux 2.6 to Linux 3.14 (also u-boot
2009 -> 2014).

In old kernel we set the ipu_di_clk parent to tve_clk in
arch/arm/mach-mx5/clk.c. 

I'm having a heck of a time trying to figure out where or how to do that in
new kernel. 

Can this be done in the dts or must it be done kernel code?

I tried a few things in the dts and tried to set the IPU parent in the
imx51.dtsi to TVE, but no cigar.

I tried reading through ipu-di.c and ipu-common.c

I tried different clock parent setups in clk-imx51-imx53.c.

I checked the CCM registers and the relevant ones seem the same between both
kernels. I'm sure I'm missing something or doing something wrong. 

Any help would be appreciated. 



--
View this message in context: http://u-boot.10912.n7.nabble.com/How-to-set-IPU-parent-clock-to-TVE-tp230361.html
Sent from the U-Boot mailing list archive at Nabble.com.


More information about the U-Boot mailing list