The BCM2711 has two USB 2.0 IPs: A Broadcom XHCI USB 2.0 controller and a Synopsys DWC2 USB 2.0 Host/Device controller. When USB boot is used the former is active. Make sure the driver has the correct device tree compatible.
33 lines
1.1 KiB
Diff
33 lines
1.1 KiB
Diff
From dedd65ecd36cee5610022bbab4a8bf92c2401df9 Mon Sep 17 00:00:00 2001
|
|
Message-Id: <dedd65ecd36cee5610022bbab4a8bf92c2401df9.1633601057.git.stefan@agner.ch>
|
|
In-Reply-To: <d7ec084799b394cc02395829dc97019c8834e944.1633601057.git.stefan@agner.ch>
|
|
References: <d7ec084799b394cc02395829dc97019c8834e944.1633601057.git.stefan@agner.ch>
|
|
From: Stefan Agner <stefan@agner.ch>
|
|
Date: Tue, 5 Oct 2021 17:07:22 +0200
|
|
Subject: [PATCH 09/10] usb: xhci-brcm: Include header file needed for dev_err
|
|
|
|
dev_err seems to be moved to different header file. Include
|
|
dm/device_compat.h file to compile properly.
|
|
|
|
Fixes: 69dae8902b16 ("linux/compat.h: Remove redefinition of dev_xxx macros")
|
|
Signed-off-by: Stefan Agner <stefan@agner.ch>
|
|
---
|
|
drivers/usb/host/xhci-brcm.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/drivers/usb/host/xhci-brcm.c b/drivers/usb/host/xhci-brcm.c
|
|
index 27c4bbfcba..fe17924028 100644
|
|
--- a/drivers/usb/host/xhci-brcm.c
|
|
+++ b/drivers/usb/host/xhci-brcm.c
|
|
@@ -8,6 +8,7 @@
|
|
#include <fdtdec.h>
|
|
#include <usb.h>
|
|
#include <asm/io.h>
|
|
+#include <dm/device_compat.h>
|
|
#include <usb/xhci.h>
|
|
|
|
#define DRD2U3H_XHC_REGS_AXIWRA 0xC08
|
|
--
|
|
2.33.0
|
|
|