Hi Greg:
The patchset is based on the pm qos flags patches which are on the
linux-pm pm-qos branch
http://git.kernel.org/?p=linux/kernel/git/rafael/linux-pm.git;a=shortlog;h=refs/heads/pm-qos
So before merge this patchset, Please pull linux-pm pm-qos branch firstly.
Thanks.
git pull
git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git pm-qos
This patchset is to add usb port power off mechanism and
merge with patchset "usb: expose DeviceRemovable to user space via sysfs
attribute".
Patchset "usb: expose DeviceRemovable to user space via sysfs attribute".
http://marc.info/?l=linux-usb&m=135279430410171&w=2 with some link break
corrects
The main discussion about usb port power off mechanism is in the following link:
http://marc.info/?l=linux-usb&m=134818340017208&w=2
USB: Set usb port's DeviceRemovable according acpi information in EHCI
usb/xhci: set root hub's DeviceRemovable according to usb port connect type
usb: Create link files between child device and usb port device.
usb: Add "portX/connect_type" attribute to expose usb port's connect type
usb: Register usb port's acpi power resources
usb: Add driver/usb/core/(port.c,hub.h) files
usb: add runtime pm support for usb port device
usb: add usb port auto power off mechanism
usb: expose usb port's pm qos flags to user space
usb: add usb port's pm qos flags request to change NO_POWER_OFF flag
Documentation/ABI/testing/sysfs-bus-usb | 9 +++++
drivers/usb/core/Makefile | 1 +
drivers/usb/core/hub.c | 309
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--------------------------------------------------------------
drivers/usb/core/hub.h | 125
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/usb/core/port.c | 181
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
drivers/usb/core/usb-acpi.c | 20 ++++++++++
drivers/usb/core/usb.h | 10 +++--
drivers/usb/host/ehci-hub.c | 11 ++++++
drivers/usb/host/xhci-hub.c | 24 +++++++++++-
include/linux/usb.h | 5 +++
10 files changed, 559 insertions(+), 136 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html