-
Notifications
You must be signed in to change notification settings - Fork 81
LPM CAN I/O changes + update URLs #661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
124a9d3
02867c5
6f90f4f
ed4ef5a
cffee50
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -48,16 +48,13 @@ | |
| Only AM62 LP-SK EVM supports Partial I/O mode. | ||
|
|
||
| The reference implementation in this SDK implements Partial I/O as a | ||
| poweroff state. On poweroff, Linux ti_sci driver checks the potential | ||
| Partial I/O wakeup sources for being enabled. If one of the wakeup | ||
| sources is found to be enabled, Partial I/O is entered instead of poweroff. | ||
| poweroff state. On poweroff, Linux ti_sci driver checks if any potential | ||
|
Check warning on line 51 in source/linux/Foundational_Components/Power_Management/pm_low_power_modes.rst
|
||
| Partial I/O wakeup sources are enabled. If one of the wakeup sources is | ||
|
Check warning on line 52 in source/linux/Foundational_Components/Power_Management/pm_low_power_modes.rst
|
||
| enabled, Partial I/O is entered instead of poweroff. | ||
|
Check warning on line 53 in source/linux/Foundational_Components/Power_Management/pm_low_power_modes.rst
|
||
|
|
||
| The following wakeup sources have been configured for Partial I/O: | ||
| mcu_uart0, mcu_mcan0, and mcu_mcan1. Partial I/O mode can only be tested | ||
| when `k3-am62x-sk-lpm-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-wkup-sources.dtso?h=11.02.08>`__ | ||
| overlay is loaded. Please refer to :ref:`How to enable DT overlays<howto_dt_overlays>` for more details. | ||
|
|
||
| After Linux boots, the MCAN wakeup for Partial I/O is enabled. | ||
| Wakeup sources mcu_mcan0 and mcu_mcan1 have been configured for Partial | ||
|
Check warning on line 55 in source/linux/Foundational_Components/Power_Management/pm_low_power_modes.rst
|
||
| I/O. For more information on enabling CAN, refer to | ||
|
Check warning on line 56 in source/linux/Foundational_Components/Power_Management/pm_low_power_modes.rst
|
||
| :ref:`CAN I/O Daisy Chain<pm_wakeup_sources_can>`. | ||
|
Comment on lines
+55
to
+57
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wakeup sources mcu_mcan0 and mcu_mcan1 have support for Partial |
||
|
|
||
| Enter Partial I/O mode with the following command: | ||
|
|
||
|
|
@@ -70,10 +67,11 @@ | |
|
|
||
| .. code-block:: text | ||
|
|
||
| [ 51.698039] systemd-shutdown[1]: Powering off. | ||
| [ 51.769478] reboot: Power down | ||
| [ 74.310565] systemd-shutdown[1]: Powering off. | ||
| [ 74.396204] reboot: Power down | ||
| [ 74.399358] ti-sci 44043000.system-controller: Entering Partial-IO because a powered wakeup-enabled device was found. | ||
|
|
||
| The system has entered Partial I/O and can only be woken up with an | ||
| The system has entered Partial I/O and can only be woken up with | ||
| activity on the I/O pin programmed for wakeup. For example, if mcu_mcan0 | ||
| wakeup was enabled, grounding Pin 22 of J8 MCU Header will wakeup the | ||
| system and it will go through a normal Linux boot process. | ||
|
|
@@ -113,13 +111,12 @@ | |
|
|
||
| .. important:: Jumper J12 should be connected on SK to enable system to enter I/O Only plus DDR mode. | ||
|
|
||
| The wakeup sources that can be used to wake the system from I/O Only Plus | ||
| DDR are mcu_uart0, mcu_mcan0, mcu_mcan1 and wkup_uart0. To use the mcu_mcan0 | ||
| and mcu_mcan1 wakeup sources, apply the | ||
| `k3-am62x-sk-lpm-io-ddr-wkup-sources.dtso <https://git.ti.com/cgit/ti-linux-kernel/ti-linux-kernel/tree/arch/arm64/boot/dts/ti/k3-am62x-sk-lpm-io-ddr-wkup-sources.dtso?h=11.02.08>`__ | ||
| overlay. Please refer to :ref:`How to enable DT overlays<howto_dt_overlays>` | ||
| for more details. To use the mcu_uart0 and wkup_uart0 wakeup sources, direct | ||
| register writes can be used to enable wakeup after Linux boots. | ||
| The wakeup sources that can be used to wake the system from I/O Only | ||
| Plus DDR are mcu_uart0, mcu_mcan0, mcu_mcan1 and wkup_uart0. To use the | ||
| mcu_mcan0 and mcu_mcan1 wakeup sources, refer to | ||
| :ref:`CAN I/O Daisy Chain<pm_wakeup_sources_can>`. | ||
| To use the mcu_uart0 and wkup_uart0 wakeup sources, direct register | ||
| writes can be used to enable wakeup after Linux boots. | ||
|
|
||
| .. rubric:: Following commands set the wakeup EN bit, enable receive for pad in PADCONFIG register and can | ||
| be used to enable wakeup from mcu_uart0 and wkup_uart0 pins respectively. | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This SDK implements Partial I/O as a power-off state. The Linux
ti_scidriver will enter Partial I/O if any Partial I/O wakeup sources are preset.