Hello,
I am writing a driver for GPT2 CAPTURE functionality, For this I need to enable clock from CCM Clock Gating Register(CCM_CCGR0: CG12 and CG13). How to do this in my driver?
Thanks,
Phani Teja Movva
Hi Phani
one can add such initializations in uboot
uboot/board/freescale/mx6ullevk/imximage.cfg
imximage.cfg\mx6ullevk\freescale\board - uboot-imx - i.MX U-Boot
or linux/arch/arm/mach-imx/clk-imx6ul.c
clk-imx6ul.c\mach-imx\arm\arch - linux-imx - i.MX Linux kernel
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------