[PATCH 3/3] Add 6xx-style HID0_SLEEP support.

Scott Wood scottwood at freescale.com
Wed Sep 12 07:47:17 EST 2007


Paul Mackerras wrote:
> Scott Wood writes:
> 
>> +_GLOBAL(mpc6xx_enter_sleep)
> 
> The name is slightly unfortunate as powerbooks also use 6xx-family
> processors but enter sleep in a quite different manner, because they
> exit sleep with a reset.  Can you think of a better name, that gives a
> hint that this is the one to use if we are exiting sleep with an
> interrupt rather than a reset?

The nomenclature I've been using on 83xx is to call it deep sleep if you 
exit with a reset, but if powerbooks can only do deep sleep, and it's 
already been called plain old "sleep", then I guess something else is 
warranted.

mpc6xx_enter_coreonly_sleep?
mpc6xx_enter_light_sleep?
mpc6xx_enter_standby?

-Scott



More information about the Linuxppc-dev mailing list