You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes whitespace and grammar errors found throughout the documentation in
the Power_Management section to make it look more professional. Fixes code
block to be seen correctly.
Signed-off-by: Kendall Willis <[email protected]>
and use it as a template to configure the MCU GPIO of your choice as a wakeup capable GPIO.
184
184
@@ -254,16 +254,16 @@ Main UART, GPIO, I2C, etc. The question then arises how to wakeup the SoC from p
254
254
to these controllers (for example main UART)? Here's where the role of I/O Daisy Chaining comes in.
255
255
At the hardware level, all the pads in an SoC have to be pinmuxed to dedicated controllers like UART or GPIO.
256
256
257
-
For example, If a key press on Main UART (which is used for linux console logs)
258
-
were to wakeup the system from deep sleep then simply configuring the Main UART controller as a
257
+
For example, If a key press on Main UART (which is used for Linux console logs)
258
+
were to wakeup the system from Deep Sleep then simply configuring the Main UART controller as a
259
259
wakeup source wouldn't suffice. This is because the UART controller is powered off and wouldn't be able to
260
260
register any key press as such. However, at the "pad" level we are still connected, and the pads have
261
261
a specific way to be configured as wakeup sources.
262
262
263
263
For detailed information and sequence please refer to
264
264
I/O Power Management and Daisy Chaining section in the TRM. To briefly explain,
265
-
Setting the 29th Bit in the desired padconfig register, allows the pad to act as a wakeup source by
266
-
triggering a wake irq to the DM R5 in deep sleep states.
265
+
setting the 29th bit in the desired padconfig register, allows the pad to act as a wakeup source by
266
+
triggering a wake irq to the DM R5 in Deep Sleep states.
267
267
268
268
.. note::
269
269
|__PART_FAMILY_DEVICE_NAMES__| supports the ability to wakeup using pad based wake event ONLY in Deep Sleep or MCU Only Mode.
@@ -273,7 +273,7 @@ triggering a wake irq to the DM R5 in deep sleep states.
273
273
274
274
To demonstrate I/O daisy chain wakeup as part of |__PART_FAMILY_DEVICE_NAMES__| offering, two reference examples are provided:
275
275
276
-
#. main_uart0 is used where a key press on the linux console can wakeup the system.
276
+
#. main_uart0 is used where a key press on the Linux console can wakeup the system.
277
277
#. main_gpio is used where activity on configured GPIO pin can wakeup the system.
278
278
279
279
@@ -290,7 +290,7 @@ main_uart0 node in `k3-am62x-sk-common.dtsi <https://git.ti.com/cgit/ti-linux-ke
290
290
interrupt-names = "irq", "wakeup";
291
291
292
292
Here, we chain the IRQ to the pinctrl driver using the second interrupts-extended entry.
293
-
The wake IRQ framework in linux works in such a way that the second entry gets marked as a
293
+
The wake IRQ framework in Linux works in such a way that the second entry gets marked as a
294
294
wakeup source, and then the pinctrl driver is informed that the pad 0x1c8 in this case is to
295
295
be configured as a wakeup pad when system enters deep sleep.
296
296
@@ -329,7 +329,7 @@ Then, run this script:
329
329
330
330
331
331
This will configure UART to act as deep sleep wakeup source, and
332
-
then a *key press* on same terminal should trigger a wakeup from deep sleep.
332
+
then a *key press* on same terminal should trigger a wakeup from Deep Sleep.
333
333
334
334
Any other pad can be chosen as per application requirements depending on which pad is required
335
335
to wakeup the system.
@@ -418,7 +418,7 @@ Plug in a USB device to one of the port on the board and check that the device i
418
418
Follow the steps described in :ref:`LPM section<lpm_modes>` to put the system in Low Power Mode via Deep Sleep or MCU only method.
419
419
420
420
Once the system is suspended, disconnect the USB device from the board and this should wakeup the system.
421
-
And device would not show up in list of USB enumerated devices. This can be verified by executing
421
+
The device will not show up in list of USB enumerated devices. This can be verified by executing
422
422
423
423
.. code-block:: console
424
424
@@ -475,12 +475,12 @@ Load a USB gadget driver such as g_zero
475
475
Follow the steps described in :ref:`LPM section<lpm_modes>` to put the system in Low Power Mode via Deep Sleep or MCU only method.
476
476
477
477
Once the system has entered the suspend state, plug a cable from a different Host system to the board's USB DRP port.
478
-
This should wakeup the system and gadget would be enumerated on the Host. Enumeration of the gadget on the Host system can be verified by executing the
478
+
This should wakeup the system and gadget will be enumerated on the Host. Enumeration of the gadget on the Host system can be verified by executing the
0 commit comments