[RFC/example] powerpc: add the mpic global timer support
Régis Odeyé
regis.odeye at kontron.com
Fri Jan 30 04:47:13 EST 2009
Thanks for this.
Regards
Kumar Gala wrote:
> From: Dave Liu <daveliu at 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 <daveliu at 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.odeye at kontron.com Web : www.kontron.com
More information about the Linuxppc-dev
mailing list