usb: xhci: Load Raspberry Pi 4 VL805's firmware
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>
Tue, 5 May 2020 16:26:07 +0000 (18:26 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Wed, 21 Oct 2020 10:30:57 +0000 (19:30 +0900)
commitc3d57c4a00cf39aa885aa65a26eb4aa984b7f0fd
tree31f420b687a14f9b78ec0c5e948a6ec352bf89cc
parent7a0fd084067a144fd661408d488e5bf4ec81920e
usb: xhci: Load Raspberry Pi 4 VL805's firmware

When needed, RPi4's co-processor (called VideoCore) has to be instructed
to load VL805's firmware (the chip providing xHCI support). VideCore's
firmware expects the board's PCIe bus to be already configured in order
for it to load the xHCI chip firmware. So we have to make sure this
happens in between the PCIe configuration and xHCI startup.

Introduce a callback in xhci_pci_probe() to run this platform specific
routine.

Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de>
[mszyprow: backport of https://patchwork.ozlabs.org/project/uboot/list/?series=174860&state=%2A&archive=both
 the final mainline patch depends on DTS changes not present in vendor tree]
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Change-Id: I1391806cae261d1ce22137e1a8baf5e261cb865a
board/raspberrypi/rpi/rpi.c
drivers/usb/host/xhci-pci.c
include/usb/xhci.h