Skip to content

Commit 161708a

Browse files
committed
docs(linux): Power_Management: Put latency constraint in correct section
Documentation details a resume latency constraint that would allow a device to not be powered off during suspend/resume in the device constraint section. This puts the resume latency constraint into the correct section. Signed-off-by: Kendall Willis <[email protected]>
1 parent ad8d3eb commit 161708a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

source/linux/Foundational_Components/Power_Management/pm_sw_arch.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -174,11 +174,6 @@ are required.
174174
Some devices may disable the wakeup property by default. These can be enabled via
175175
the sysfs interface (e.g., :file:`/sys/bus/platform/devices/\*/power/wakeup`)
176176

177-
If a device wants to put a constraint to be not powered-off, it can use the Linux
178-
QoS framework and set the DEV_PM_QOS_RESUME_LATENCY equal to 0.
179-
An example is shown in the following RemoteProc driver:
180-
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/remoteproc/ti_k3_r5_remoteproc.c?h=10.00.07#n535
181-
182177
Resume Latency Constraint
183178
-------------------------
184179

@@ -200,6 +195,11 @@ Default constraint is "no constraint", but it can be changed as shown in the exa
200195
Setting a resume latency constraint impacts the deepest low power mode system can enter.
201196
The various modes and their latencies are documented here: https://downloads.ti.com/tisci/esd/latest/2_tisci_msgs/pm/lpm.html#tisci-msg-lpm-set-latency-constraint
202197

198+
If a device wants to put a constraint to be not powered-off, it can use the Linux
199+
QoS framework and set the DEV_PM_QOS_RESUME_LATENCY equal to 0.
200+
An example is shown in the following RemoteProc driver:
201+
https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/drivers/remoteproc/ti_k3_r5_remoteproc.c?h=10.00.07#n535
202+
203203
.. note::
204204

205205
The constraints need to be set before each system suspend as DM firmware clears all

0 commit comments

Comments
 (0)