Commit 2b46f5d2 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by chrome-bot
Browse files

FROMGIT: 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: default avatarDmitry Torokhov <dtor@chromium.org>
Signed-off-by: Rajat Jain <rajatja@google.com> (changed how we get the usb_port)
Acked-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tested-by: default avatarSukumar Ghorai <sukumar.ghorai@intel.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
(cherry picked from commit b4dfbbd1
 git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git master)

BUG=b:80089559
TEST=Test by simulating BT timeouts by instrumenting the kernel

Change-Id: Ie09349bca0472951f10dab17baf4db8eb2ed02bb
Reviewed-on: https://chromium-review.googlesource.com/1435750


Commit-Ready: Rajat Jain <rajatja@chromium.org>
Tested-by: default avatarRajat Jain <rajatja@chromium.org>
Reviewed-by: default avatarDmitry Torokhov <dtor@chromium.org>
Reviewed-by: default avatarFurquan Shaikh <furquan@chromium.org>
parent a9fb1fc4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment