[PATCH 03/13] Document the sleep property.

Olof Johansson olof at lixom.net
Tue May 8 12:11:49 EST 2007


On Mon, May 07, 2007 at 01:29:44PM -0500, Scott Wood wrote:
> Signed-off-by: Scott Wood <scottwood at freescale.com>
> ---
>  Documentation/powerpc/booting-without-of.txt |   10 ++++++++++
>  1 files changed, 10 insertions(+), 0 deletions(-)
> 
> diff --git a/Documentation/powerpc/booting-without-of.txt b/Documentation/powerpc/booting-without-of.txt
> index fc54511..966c26b 100644
> --- a/Documentation/powerpc/booting-without-of.txt
> +++ b/Documentation/powerpc/booting-without-of.txt
> @@ -1738,6 +1738,16 @@ platforms are moved over to use the flattened-device-tree model.
>  
>     - interrupts : On fsl,mpc83xx-pmc, this is the PMC interrupt.
>  
> +   l) Device Power Management
> +
> +   To associate a device with the corresponding bits in a power or
> +   clock disable register, a device can contain a "sleep" property.
> +
> +   The first cell of a sleep node is a phandle to the sleep controller.
> +   The remaining cells are interpreted by said controller.  In the case
> +   of an fsl,mpc83xx-pmc sleep controller, the second cell represents the
> +   bits to clear in SCCR to stop the device's clock.

The second part here is completely implementation-dependent. I don't
really see the need to document that in this global document?


-Olof




More information about the Linuxppc-dev mailing list