IMX6 ULL: Clock Gate register access from other driver

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6 ULL: Clock Gate register access from other driver

876 次查看
phaniteja
Contributor II

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

标签 (1)
0 项奖励
1 回复

625 次查看
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 项奖励