Could someone follow and answer the following question ?
I checked MCIMX51RM Rev. 1 2/2010 onemore time and found the CCGR5 Register can enable the VPU clock.
CG3 field can enable "vpu clocks" and CG4 field can enable "vpu reference clock".
On the other hand, according to the Figure 7-41 and Figure 7-44 of RM, the clock relate to VPU is as follow.
VPU_AXI_CLK_ROOT
VPU_RCLK_ROOT
Q1-1.
VPU_AXI_CLK_ROOT will be enable when user set CG3 field to "11".
Am I correct ?
Q1-2.
VPU_RCLK_ROOT will be enable when user set CG4 field to "11".
Am I correct ?
Q2
According to the section 61.4.2 of RM, the decoding core clock domain's frequency can scale done through the VPU API.
I can't find the API in L2.6.35_10.11.01_ER_docs/doc/mx5/i.MX5x_Linux_VPU_API.pdf.
Which VPU API can set the core clock frequency ?
Ko-hey