Cyclone V SoC Power Optimization

ID 683713
Date 2/09/2015
Public
Document Table of Contents

1.2.2.2. HPS Method 6: USB Power Management

The USB controllers in the HPS support USB standard methods of power reduction. Like Ethernet, these modes cannot be used unless the host and device support the desired power reduction method.

Refer to the Linux kernel documentation (./Documentation/usb/power-management.txt) for more information on USB power management. Points to highlight from the power management documentation:

  • CONFIG_PM_RUNTIME must be set
  • Use sysfs files to control/test device and system power features
    • With CONFIG_PM_RUNTIME enabled, a mouse returns a similar list like the one below in the ./power sub-directory for the device in sysfs:
      
      root@socfpga:~#ls/sys/bus/usb/devices/1-1.2/power/
      
      active_duration               wakeup
      autosuspend                   wakeup_abort_count
      autosuspend_delay_ms          wakeup_active
      connected_duration            wakeup_active_count
      control                       wakeup_count
      level                         wakeup_expire_count
      persist                       wakeup_last_time_ms
      runtime_active_time           wakeup_max_time_ms
      runtime_status                wakeup_prevent_sleep_time_ms
      runtime_suspended_time        wakeup_total_time_ms