diff options
-rw-r--r-- | Documentation/ABI/testing/sysfs-bus-usb | 6 | ||||
-rw-r--r-- | Documentation/usb/power-management.txt | 10 |
2 files changed, 9 insertions, 7 deletions
diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index c8baaf53594a..f093e59cbe5f 100644 --- a/Documentation/ABI/testing/sysfs-bus-usb +++ b/Documentation/ABI/testing/sysfs-bus-usb | |||
@@ -32,7 +32,7 @@ Date: January 2008 | |||
32 | KernelVersion: 2.6.25 | 32 | KernelVersion: 2.6.25 |
33 | Contact: Sarah Sharp <sarah.a.sharp@intel.com> | 33 | Contact: Sarah Sharp <sarah.a.sharp@intel.com> |
34 | Description: | 34 | Description: |
35 | If CONFIG_PM and CONFIG_USB_SUSPEND are enabled, then this file | 35 | If CONFIG_PM_RUNTIME is enabled then this file |
36 | is present. When read, it returns the total time (in msec) | 36 | is present. When read, it returns the total time (in msec) |
37 | that the USB device has been connected to the machine. This | 37 | that the USB device has been connected to the machine. This |
38 | file is read-only. | 38 | file is read-only. |
@@ -45,7 +45,7 @@ Date: January 2008 | |||
45 | KernelVersion: 2.6.25 | 45 | KernelVersion: 2.6.25 |
46 | Contact: Sarah Sharp <sarah.a.sharp@intel.com> | 46 | Contact: Sarah Sharp <sarah.a.sharp@intel.com> |
47 | Description: | 47 | Description: |
48 | If CONFIG_PM and CONFIG_USB_SUSPEND are enabled, then this file | 48 | If CONFIG_PM_RUNTIME is enabled then this file |
49 | is present. When read, it returns the total time (in msec) | 49 | is present. When read, it returns the total time (in msec) |
50 | that the USB device has been active, i.e. not in a suspended | 50 | that the USB device has been active, i.e. not in a suspended |
51 | state. This file is read-only. | 51 | state. This file is read-only. |
@@ -187,7 +187,7 @@ What: /sys/bus/usb/devices/.../power/usb2_hardware_lpm | |||
187 | Date: September 2011 | 187 | Date: September 2011 |
188 | Contact: Andiry Xu <andiry.xu@amd.com> | 188 | Contact: Andiry Xu <andiry.xu@amd.com> |
189 | Description: | 189 | Description: |
190 | If CONFIG_USB_SUSPEND is set and a USB 2.0 lpm-capable device | 190 | If CONFIG_PM_RUNTIME is set and a USB 2.0 lpm-capable device |
191 | is plugged in to a xHCI host which support link PM, it will | 191 | is plugged in to a xHCI host which support link PM, it will |
192 | perform a LPM test; if the test is passed and host supports | 192 | perform a LPM test; if the test is passed and host supports |
193 | USB2 hardware LPM (xHCI 1.0 feature), USB2 hardware LPM will | 193 | USB2 hardware LPM (xHCI 1.0 feature), USB2 hardware LPM will |
diff --git a/Documentation/usb/power-management.txt b/Documentation/usb/power-management.txt index 4204eb01fd38..1392b61d6ebe 100644 --- a/Documentation/usb/power-management.txt +++ b/Documentation/usb/power-management.txt | |||
@@ -33,6 +33,10 @@ built with CONFIG_USB_SUSPEND enabled (which depends on | |||
33 | CONFIG_PM_RUNTIME). System PM support is present only if the kernel | 33 | CONFIG_PM_RUNTIME). System PM support is present only if the kernel |
34 | was built with CONFIG_SUSPEND or CONFIG_HIBERNATION enabled. | 34 | was built with CONFIG_SUSPEND or CONFIG_HIBERNATION enabled. |
35 | 35 | ||
36 | (Starting with the 3.10 kernel release, dynamic PM support for USB is | ||
37 | present whenever the kernel was built with CONFIG_PM_RUNTIME enabled. | ||
38 | The CONFIG_USB_SUSPEND option has been eliminated.) | ||
39 | |||
36 | 40 | ||
37 | What is Remote Wakeup? | 41 | What is Remote Wakeup? |
38 | ---------------------- | 42 | ---------------------- |
@@ -206,10 +210,8 @@ initialized to 5. (The idle-delay values for already existing devices | |||
206 | will not be affected.) | 210 | will not be affected.) |
207 | 211 | ||
208 | Setting the initial default idle-delay to -1 will prevent any | 212 | Setting the initial default idle-delay to -1 will prevent any |
209 | autosuspend of any USB device. This is a simple alternative to | 213 | autosuspend of any USB device. This has the benefit of allowing you |
210 | disabling CONFIG_USB_SUSPEND and rebuilding the kernel, and it has the | 214 | then to enable autosuspend for selected devices. |
211 | added benefit of allowing you to enable autosuspend for selected | ||
212 | devices. | ||
213 | 215 | ||
214 | 216 | ||
215 | Warnings | 217 | Warnings |