I dont want use echo mem > /sys/power/state because i cant wakeup system after with a GPIO and how reduce the consumption via software with for example (reduce the frequency of the CPU and shutdown the various peripherals)?
how modified mx53_loco.c for to obtaine reduced consumption and which register i must modified? there is an example?
For example I'm trying to turn off all clock with CCM_CCGR register, but i dont know how to do..
I've inserted this code in my mx53_loco.c:
_clk_disable(&pll1_sw_clk) but i have same error...