UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
10,463 Views
Registered: ‎09-05-2014

Zynq device tree/OPP and power management

We are using Zynq with PetaLinux 2013.10 in AMP mode. I need to add power management by lowering the clock rate as suggested by http://www.wiki.xilinx.com/Zynq-7000+AP+SoC+Low+Power+Techniques+part+5+-+Linux+Application+Control+of+Processing+System+-+Frequency+Scaling+%26+More+Tech+Tip I turned on all the CONFIG flags but whenever I add CONFIG_PM_SLEEP, and run petalinux-configure -c kernel, it removes the CONFIG_PM_SLEEP. How do I enable CONFIG_PM_SLEEP in PetaLinux 2013.10? I quickly looked through http://www.wiki.xilinx.com/Zynq+Power+Management but no solution was apparent. It seems like I must also insert OPP numbers into the device tree as described in https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/Documentation/power/opp.txt How do I find the correct OPP numbers for Zynq? Does it depend on our design, PL, software etc? or is it always the same for all CPUs? I found an example. Is it correct? It is different from the kernel examples. operating-points = <0xa2c2a 0xf4240 0x51615 0xf4240>;
0 Kudos