Thread (47 messages) flat view 47 messages, 9 authors, 2007-05-22

Re: [PATCH 03/13] Document the sleep property.

From: Olof Johansson <hidden>
Date: 2007-05-08 02:09:49

On Mon, May 07, 2007 at 01:29:44PM -0500, Scott Wood wrote:
quoted hunk ↗ jump to hunk
Signed-off-by: Scott Wood <redacted>
---
 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help