NOTICE: The Processors Wiki will End-of-Life in December of 2020. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.

UserGuidePowerMgmtAM35xx

From Texas Instruments Wiki
Jump to: navigation, search

Power Management In AM35xx[edit]

Introduction[edit]

AM3517 and AM3505 silicon provides a limited set of power management features. These features are described in detail in the AM3517/05 TRM. In summary:

  • Clock control at the module and clock domain level.
  • Single core power domain
  • Support for transitioning power domains to retention and wakeup on event.

References[edit]

  1. OMAP Power Management
    1. Power Management features are being developed on pm branch of the linux-omap git tree. This page provides latest status of PM features on this branch.

Features[edit]

The power management features available in this release are based on the proposed PM interface for OMAP. This interface is described in the filename Documentation/arm/OMAP/omap_pm.

Supported[edit]

This is list of features supported in this release:

  • Supports Dynamic Tick framework.
  • Supports the Suspend/Resume capability, thus allowing the system to enter into a standby state.

Architecture[edit]

Dynamic Tick Suppression[edit]

The dynamic tick suppression is achieved through generic Linux framework for the same. A 32K timer (HZ=128) is used by the tick suppression algorithm.

Suspend & Resume[edit]

The suspend operation results in the system transitioning to the lowest power state being supported. The drivers implement the suspend() function defined in the LDM. When the suspend for the system is asserted, the suspend() function is called for all drivers. The drivers release the clocks to reach the desired low power state. The actual transition to suspend is implemented in the function omap3_pm_suspend().

Configuration[edit]

To enable/ disable power management start the Linux Kernel Configuration tool.

$ make menuconfig

Select Power management options from the main menu.

...
...
Kernel Features  --->
Boot options  --->
CPU Power Management  --->
Floating point emulation  --->
Userspace binary formats  --->
Power management options  --->
[*] Networking support  --->
Device Drivers  --->
...
...

Select Power Management support to toggle the power management support.

[*] Power Management support
[ ]   Power Management Debug Support
[*] Suspend to RAM and standby
< > Advanced Power Management Emulation

Power Management Debug Support[edit]

To enable power management debugging capabilities, debug file system and power management debug support need to be enabled in the configuration.

Enabling Debug Filesystem[edit]

Start the Linux Kernel Configuration tool.

$ make menuconfig

Select Kernel hacking from the main menu.

File systems  --->
Kernel hacking  --->
Security options  --->
-*- Cryptographic API  --->

Select Debug Filesystem from the next menu.

[ ] Enable unused/obsolete exported symbols
[*] Debug Filesystem
[ ] Run 'make headers_check' when building vmlinux
[*] Kernel debugging

Debugging Support In Power Management[edit]

Start the Linux Kernel Configuration tool.

$ make menuconfig

Select Power management options from the main menu.

...
...
Floating point emulation  --->
Userspace binary formats  --->
Power management options  --->
[*] Networking support  --->
Device Drivers  --->
...
...

Select Power Management Debug Support from the next menu.

[*] Power Management support
[*]   Power Management Debug Support
[*] Suspend to RAM and standby
< > Advanced Power Management Emulation

Software Interface[edit]

Suspend & Resume[edit]

The suspend for device can be asserted as follows:

$ echo -n "mem" > /sys/power/state

To wakeup, tap any key on the serial console. Automatic wakeup can be done by programming the wakeup timer before asserting suspend. The wakeup timer is accessed via debug filesystem interface and this requires both debug file system support and debugging support in power management enabled in the kernel configuration as described earlier. For example, to have an auto wakeup after 3 seconds, do the following before suspend is asserted Mount debug filesystem. This is a one time configuration.

$ mkdir /debug
$ mount -t debugfs debugfs /debug

Now program the wakeup timer.

$ echo -n 3 > /debug/pm_debug/wakeup_timer_seconds

To disable auto wakeup, do the following

$ echo -n 0 > /debug/pm_debug/wakeup_timer_seconds
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article UserGuidePowerMgmtAM35xx here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article UserGuidePowerMgmtAM35xx here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article UserGuidePowerMgmtAM35xx here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article UserGuidePowerMgmtAM35xx here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article UserGuidePowerMgmtAM35xx here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article UserGuidePowerMgmtAM35xx here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article UserGuidePowerMgmtAM35xx here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article UserGuidePowerMgmtAM35xx here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article UserGuidePowerMgmtAM35xx here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity