public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/7] usb/acpi: Add binding usb device with acpi
@ 2012-04-17  6:01 Lan Tianyu
  2012-04-17  6:01 ` [PATCH 1/7] ACPI: Add _PLD support Lan Tianyu
                   ` (6 more replies)
  0 siblings, 7 replies; 10+ messages in thread
From: Lan Tianyu @ 2012-04-17  6:01 UTC (permalink / raw)
  To: lenb-DgEjT+Ai2ygdnm+yROfE0A,
	gregkh-hQyY1W1yCW8ekmWlsbkhG0B+6BGkLq7r
  Cc: linux-usb-u79uwXL29TY76Z2rM5mHXA,
	linux-acpi-u79uwXL29TY76Z2rM5mHXA,
	stern-nwvwT67g6+6dFdvTe/nMLpVzexx5G7lz,
	sarah.a.sharp-VuQAYsv1563Yd54FQh9/CA,
	mjg59-1xO5oi07KQx4cg9Nei1l7Q

This patchset's purppose is to bind usb device with associated
acpi node. The ACPI method "_PLD" and "_UPC" can be used to
identify usb port's connect type(hot-plug, hard-wired and
not-used). The patchset also can work on the port without device
connected.

This patchset derives from following patches.
>From Matthew Garrett
[PATCH V2 2/4] ACPI: Add _PLD support
[PATCH V2 3/4] usb: Bind devices to ACPI devices when possible
[PATCH v2 4/4] usb: Set device removable state based on ACPI USB data

>From Tianyu Lan
[PATCH V3 1/4] usb: add struct usb_hub_port to store port related members
[PATCH V3 2/4] usb: move struct usb_device->children to struct usb_hub_port->child
[PATCH V3 3/4] usb/acpi: add the support of usb hub ports' acpi binding without attached devices.
[PATCH V3 4/4] usb/acpi: add usb check for the connect type of usb port

Previously those patches was blocked by [PATCH V2 1/4] ACPI: Fix up _PLD methods.
Current the final version of this patch has been integrated into ACPICA and released as:
6a99b1c94d053b3420eaa4a4bc8b2883dd90a2f9
ACPICA: Object repair code: Support to add Package wrappers

[PATCH 1/7] ACPI: Add _PLD support
[PATCH 2/7] usb: Bind devices to ACPI devices when possible
[PATCH 3/7] usb: Set device removable state based on ACPI USB data
[PATCH 4/7] usb: add struct usb_hub_port to store port related
[PATCH 5/7] usb: move struct usb_device->children to struct
[PATCH 6/7] usb/acpi: add the support of usb hub ports' acpi binding
[PATCH 7/7] usb/acpi: add usb check for the connect type of usb port

git diff --stat
 drivers/acpi/utils.c                 |   29 +++++++
 drivers/staging/usbip/usbip_common.c |    3 +-
 drivers/usb/core/Makefile            |    1 +
 drivers/usb/core/devices.c           |    3 +-
 drivers/usb/core/hub.c               |  133 +++++++++++++++++++++--------
 drivers/usb/core/usb-acpi.c          |  154 ++++++++++++++++++++++++++++++++++
 drivers/usb/core/usb.c               |    6 ++
 drivers/usb/core/usb.h               |   19 ++++-
 drivers/usb/host/r8a66597-hcd.c      |    3 +-
 include/acpi/acpi_bus.h              |   31 +++++++
 include/linux/usb.h                  |   10 ++-
 11 files changed, 349 insertions(+), 43 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2012-04-18  2:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-17  6:01 [PATCH 0/7] usb/acpi: Add binding usb device with acpi Lan Tianyu
2012-04-17  6:01 ` [PATCH 1/7] ACPI: Add _PLD support Lan Tianyu
2012-04-17  6:01 ` [PATCH 2/7] usb: Bind devices to ACPI devices when possible Lan Tianyu
     [not found] ` <1334642522-22021-1-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-04-17  6:01   ` [PATCH 3/7] usb: Set device removable state based on ACPI USB data Lan Tianyu
2012-04-17  6:01 ` [PATCH 4/7] usb: add struct usb_hub_port to store port related members Lan Tianyu
2012-04-17  6:02 ` [PATCH 5/7] usb: move struct usb_device->children to struct usb_hub_port->child Lan Tianyu
     [not found]   ` <1334642522-22021-6-git-send-email-tianyu.lan-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2012-04-17 17:02     ` Sarah Sharp
2012-04-18  2:19       ` Lan Tianyu
2012-04-17  6:02 ` [PATCH 6/7] usb/acpi: add the support of usb hub ports' acpi binding without attached devices Lan Tianyu
2012-04-17  6:02 ` [PATCH 7/7] usb/acpi: add usb check for the connect type of usb port Lan Tianyu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox