From patchwork Tue May 5 16:26:05 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Saenz Julienne X-Patchwork-Id: 245147 List-Id: U-Boot discussion From: nsaenzjulienne at suse.de (Nicolas Saenz Julienne) Date: Tue, 5 May 2020 18:26:05 +0200 Subject: [PATCH v3 0/2] usb: xhci: Load Raspberry Pi 4 VL805's firmware Message-ID: <20200505162607.334-1-nsaenzjulienne@suse.de> Newer revisions of the RPi4 need their xHCI chip, VL805, firmware to be loaded explicitly. Earlier versions didn't need that as they where using an EEPROM for that purpose. This series takes care of setting up the relevant infrastructure and run the firmware loading routine at the right moment. Note that this builds on top of Sylwester Nawrocki's "USB host support for Raspberry Pi 4 board" series. --- Note: this was tested on both rpi_arm64_defconfig on both rpi3 & rpi4. Changes since v2: - Correct comment on patch #1 - Address Matthias' comments Changes since v1: - Rename function - Use callback in xhci-pci.c Nicolas Saenz Julienne (2): arm: rpi: Add function to trigger VL805's firmware load usb: xhci: Load Raspberry Pi 4 VL805's firmware arch/arm/mach-bcm283x/include/mach/mbox.h | 13 +++++++ arch/arm/mach-bcm283x/include/mach/msg.h | 7 ++++ arch/arm/mach-bcm283x/msg.c | 45 +++++++++++++++++++++++ board/raspberrypi/rpi/rpi.c | 6 +++ drivers/usb/host/xhci-pci.c | 6 +++ include/usb/xhci.h | 3 ++ 6 files changed, 80 insertions(+)