All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH V4 0/8] usb: make usb port a real device and provide control of port's power to usr space
@ 2012-06-28  7:31 Lan Tianyu
  2012-06-28  7:31 ` [PATCH V4 1/8] usb: convert port_owners type from void * to struct dev_state * Lan Tianyu
                   ` (5 more replies)
  0 siblings, 6 replies; 15+ messages in thread
From: Lan Tianyu @ 2012-06-28  7:31 UTC (permalink / raw)
  To: gregkh, lenb; +Cc: linux-usb, linux-acpi, stern, sarah.a.sharp

This patchset merged two following patchsets and make usb port a real device.
[PATCH V3 1/4] usb: add struct usb_hub_port to store
[PATCH V3 2/4] usb: move struct usb_device->children
[PATCH V3 3/4] usb/acpi: add the support of usb hub
[PATCH V3 4/4] usb/acpi: add usb check for the connection
[PATCH 1/3] xhci: Add clear PORT_POWER feature process in the
[PATCH 2/3] USB/ACPI: Add usb port's acpi power control in the xhci
[PATCH 3/3] usb : Add sysfs files to control usb port's power

This patchset is to provide usb port power off mechanism. Add two
attributes "portX/control" and "portX/state" for each ports
under the usb hub interface sysfs directory.

"portX/control" has two options
"on" - port power must be on.
"off" - port power must be off.

"portX/state" reports usb port's power state
"on" - power on
"off" - power off
"error" - can't get power state

[PATCH V4 1/8] usb: convert port_owners type from void * to struct
[PATCH V4 2/8] usb: make usb port a real device
[PATCH V4 3/8] usb: move children to struct usb_port
[PATCH V4 4/8] usb/acpi : rebinding usb with acpi since usb port
[PATCH V4 5/8] usb/acpi: add check for the connect type of usb port
[PATCH V4 6/8] xhci: Add clear PORT_POWER feature process in the
[PATCH V4 7/8] USB/ACPI: Add usb port's acpi power control in the
[PATCH V4 8/8] usb : Add usb port's power control attributes


 git diff --stat HEAD~8
 Documentation/ABI/testing/sysfs-bus-usb |   25 ++++++++++++
 drivers/staging/usbip/usbip_common.c    |    3 +-
 drivers/usb/core/devices.c              |    7 ++--
 drivers/usb/core/hub.c                  |  349 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++---------------------
 drivers/usb/core/usb-acpi.c             |  202 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-----------------------
 drivers/usb/core/usb.h                  |   25 ++++++++++--
 drivers/usb/host/r8a66597-hcd.c         |    9 +++--
 drivers/usb/host/xhci-hub.c             |   16 ++++++++
 include/linux/usb.h                     |   33 +++++++++++++++-
 9 files changed, 562 insertions(+), 107 deletions(-)



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-06-29  1:31 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-28  7:31 [PATCH V4 0/8] usb: make usb port a real device and provide control of port's power to usr space Lan Tianyu
2012-06-28  7:31 ` [PATCH V4 1/8] usb: convert port_owners type from void * to struct dev_state * Lan Tianyu
2012-06-28 14:06   ` Alan Stern
     [not found] ` <1340868702-1894-1-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-06-28  7:31   ` [PATCH V4 2/8] usb: make usb port a real device Lan Tianyu
     [not found]     ` <1340868702-1894-3-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-06-28 14:16       ` Alan Stern
2012-06-28  7:31   ` [PATCH V4 6/8] xhci: Add clear PORT_POWER feature process in the xhci_hub_control() Lan Tianyu
2012-06-28  7:31   ` [PATCH V4 7/8] USB/ACPI: Add usb port's acpi power control in the xhci PORT_POWER feature request process Lan Tianyu
2012-06-28  7:31 ` [PATCH V4 3/8] usb: move children to struct usb_port Lan Tianyu
2012-06-28 14:42   ` Alan Stern
2012-06-29  1:23     ` Lan Tianyu
2012-06-28  7:31 ` [PATCH V4 4/8] usb/acpi : rebinding usb with acpi since usb port being made a real device Lan Tianyu
2012-06-28  7:31 ` [PATCH V4 5/8] usb/acpi: add check for the connect type of usb port Lan Tianyu
2012-06-28 14:47   ` Alan Stern
2012-06-28  7:31 ` [PATCH V4 8/8] usb : Add usb port's power control attributes Lan Tianyu
2012-06-28 14:58   ` Alan Stern

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.