]> git.baikalelectronics.ru Git - uboot.git/commit
usb: xhci: Add reset controller support
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Mon, 29 Jun 2020 16:37:25 +0000 (18:37 +0200)
committerMatthias Brugger <mbrugger@suse.com>
Fri, 10 Jul 2020 09:49:28 +0000 (11:49 +0200)
commitb6f9fe1c71b6d53b9278251652e4c99e0227acdd
treec6b01968e0d4c12b8614590cd3616cf97e29af93
parentb284f06f476ba37c9dde57e38634cbbb6ba56a6f
usb: xhci: Add reset controller support

Some atypical users of xhci might need to manually reset their xHCI
controller before starting the HCD setup. Check if a reset controller
device is available to the PCI bus and trigger a reset.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
[mb: squash fix to only build xhci_reset_hw() if CONFIG_DM_BUS]
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
drivers/usb/host/xhci-mem.c
drivers/usb/host/xhci.c
include/usb/xhci.h