Thanks for this.
Regards

Kumar Gala wrote:
From: Dave Liu <dave...@freescale.com>

The mpic timer works as wake up source for power management,
the max timer period is 336 seconds when the CCB freq is 400MHz.

to setup timer, type
echo 30 > /sys/devices/ffe00000.soc8572/ffe41100.timer/timeout

before the system enter to sleep mode.

Signed-off-by: Dave Liu <dave...@freescale.com>
---

Posting this both as a example of timer code for Regis as well as code for
partial review.. need to clean up a number of things.

- k


--
Régis ODEYE

Kontron Modular Computers SA
150, rue M. Berthelot / ZI Toulon Est / BP 244 / Fr 83078 TOULON Cedex 9
Phone: (33) 4 98 16 34 86           Fax: (33) 4 98 16 34 01
E-mail: regis.od...@kontron.com  Web : www.kontron.com


_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-dev

Reply via email to