AM62 suspend: Difference between revisions
(Created page with "<!-- Set release according to "release" parameter in URL and use RELEASE_SUMO_V1.0_DART-MX8M as default --> {{INIT_RELEASE_PARAM|am62-yocto-kirkstone-6.1.83_09.02.01.10-v1.0}}<!--- --> {{#lst:Yocto_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- --> {{#lst:B2QT_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- --> {{#lst:Debian_Platform_Customization|{{#var:RELEASE_PARAM}}}} <!-- --> {{PageHeader|{{#var:HARDWARE_NAME}} Suspend to RAM}}{{DocImage|category1=Yocto|c...") |
No edit summary |
||
Line 51: | Line 51: | ||
}; | }; | ||
<!-- More information: https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1427208/processor-sdk-am62x-am62x-power-management-main-gpio-as-an-i-o-daisy-chain-wakeup-source/5475528 --> | |||
{{Note|Note: Not all pins on the AM62 SoC can be used for wakeup. According to the [https://www.ti.com/lit/pdf/spruiv7 AM62 Reference Manual (spruiv7)]: | {{Note|Note: Not all pins on the AM62 SoC can be used for wakeup. According to the [https://www.ti.com/lit/pdf/spruiv7 AM62 Reference Manual (spruiv7)]: | ||
<br> | <br> |
Latest revision as of 22:44, 25 October 2024
This page is using the default release am62-yocto-kirkstone-6.1.83_09.02.01.10-v1.0.
To view this page for a specific Variscite SoM and software release, please follow these steps:
- Visit variwiki.com
- Select your SoM
- Select the software release
Suspend to RAM
This state offers significant power savings as everything in the system is put into a low-power state, except for memory, which is placed into the self-refresh mode to retain its contents.
To suspend to RAM execute the following command:
# pm-suspend
Wake up
There are many possible ways to wake up from suspend.
A few examples:
- Pushing a button on the board which has the boolean property "wakeup-source" set in its device tree node (under gpio_keys), e.g.:
gpio-keys { compatible = "gpio-keys"; pinctrl-names = "default"; pinctrl-0 = <&pinctrl_gpio_keys>; ... back { label = "Back"; gpios = <&main_gpioAA BB GPIO_ACTIVE_HIGH>; /* Change AA to the port and BB to the pin */ linux,code = <KEY_BACK>; wakeup-source; }; };
- Pressing the capacitive touch which has the "wakeup-source" property set in its device tree node, e.g.:
/* Capacitive touch controller */ ft5x06_ts: ft5x06_ts@38 { compatible = "edt,edt-ft5206"; reg = <0x38>; pinctrl-names = "default"; pinctrl-0 = <&captouch_pins_default>; interrupts-extended = <&main_gpio1 16 IRQ_TYPE_EDGE_FALLING>, <&main_pmx0 0x1B8>; interrupt-names = "irq", "wakeup"; touchscreen-size-x = <800>; touchscreen-size-y = <480>; touchscreen-inverted-x; touchscreen-inverted-y; wakeup-source; status = "okay"; };
Section 6.2.4.11 I/O Power Management and Daisy Chaining The following terminal signal names are excluded from the isolation and wakeup daisy chains and not muxed with GPIO signals. Hence, these signals cannot be used as a wakeup event: * System signals: MCU_RESETz, MCU_PORz, MCU_ERRORn, WKUP_CLKOUT0, EXT_REFCLK1, RESET_REQz, RESETSTATz, PORz_OUT * JTAG interface: TMS, TDI, TDO, TCK, TRSTn, EMU0, EMU1 * Oscillator signals: MCU_OSC0_XO, MCU_OSC0_XI, WKUP_LFOSC0_XO, WKUP_LFOSC0_XI * CSI0 interface: All CSI0_x signals * USB signals: USB0_DP, USB0_DM, USB0_RCALIB, USB0_VBUS, USB1_DP, USB1_DM, USB1_RCALIB, USB1_VBUS * DDR interface: All DDR0_x signals
Unfortunately, the Symphony board’s push buttons (Back, Home, Menu) are connected to the PCA9534 GPIO expander, which uses EXT_REFCLK1.GPIO1_30 for its IRQ. As a result, they cannot be used as a wakeup source.
Measuring SOM current consumption in suspend
To measure the SOM current consumption remove resistor R58 on Symphony-Board and connect an ammeter in its place.
It is recommended to boot from eMMC to get an accurate measurement.