]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: assign ACPI companions for embedded USB devices
authorDmitry Torokhov <dtor@chromium.org>
Thu, 24 Jan 2019 23:28:12 +0000 (15:28 -0800)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 25 Jan 2019 07:46:26 +0000 (08:46 +0100)
commitb4dfbbd1803d81b51bf2c47b182a7029b476d8e2
tree6e75049fd000acec7fa6c8c3543412e9f4e4796f
parentbcfcd409d4dbb886d78c61423ce3034c94324c32
usb: assign ACPI companions for embedded USB devices

USB devices permanently connected to USB ports may be described in ACPI
tables and share ACPI devices with ports they are connected to. See [1]
for details.

This will allow us to describe sideband resources for devices, such as,
for example, hard reset line for BT USB controllers.

[1] https://docs.microsoft.com/en-us/windows-hardware/drivers/bringup/other-acpi-namespace-objects#acpi-namespace-hierarchy-and-adr-for-embedded-usb-devices

Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Signed-off-by: Rajat Jain <rajatja@google.com> (changed how we get the usb_port)
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: Sukumar Ghorai <sukumar.ghorai@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/usb/core/usb-acpi.c