AnsweredAssumed Answered

i.MX6Q: How to increase the VPU frequency?

Question asked by Tarek El-Sherbiny on Jul 4, 2013
Latest reply on Nov 21, 2014 by ralph__


The VPU clock is currently running at (266MHz) but it should be capable of running at (352MHz).

I understand that this is been tested at Freescale labs but I'm not sure about how successful is that.


I would like to test it myself but I couldn't modify it in Linux drivers.


This is what I've done in mxc_vpu.c:

int rate = 352000000;
printk(KERN_ERR "TSE: VPU Parent CLK rate = %d Hz\n",clk_get_rate(vpu_clk->parent));
rate = clk_round_rate(vpu_clk->parent,352000000);
printk(KERN_ERR "TSE: set the VPU Parent CLK %d Hz err = %d\n",rate,clk_set_rate(vpu_clk->parent,rate));
rate = clk_round_rate(vpu_clk,352000000);
printk(KERN_ERR "TSE: set the VPU CLK %d Hz err = %d\n",rate,clk_set_rate(vpu_clk,rate));
printk(KERN_ERR "TSE: VPU CLK rate = %d Hz\n",clk_get_rate(vpu_clk));


The frequency jumps to (528MHz) and the VPU doesn't work.


Please provide the source code for change the Clock rate.