[PATCH v2 3/9] usb: ehci-platform: Increase EHCI_MAX_CLKS to 5

Alastair D'Silva alastair at d-silva.org
Sun Nov 29 17:16:17 PST 2026


The Allwinner A733 EHCI controllers require 5 clocks (bus EHCI, bus
OHCI, OHCI module, AHB USB SYS, and MBUS MSI-Lite2).

Increase EHCI_MAX_CLKS from 4 to 5 so ehci-platform enables all five
clocks.

Signed-off-by: Alastair D'Silva <alastair at d-silva.org>
---
 drivers/usb/host/ehci-platform.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/usb/host/ehci-platform.c b/drivers/usb/host/ehci-platform.c
index f61f095cedab..cf40b7b8d1c1 100644
--- a/drivers/usb/host/ehci-platform.c
+++ b/drivers/usb/host/ehci-platform.c
@@ -40,7 +40,7 @@
 #include "ehci.h"
 
 #define DRIVER_DESC "EHCI generic platform driver"
-#define EHCI_MAX_CLKS 4
+#define EHCI_MAX_CLKS 5
 #define hcd_to_ehci_priv(h) ((struct ehci_platform_priv *)hcd_to_ehci(h)->priv)
 
 #define BCM_USB_FIFO_THRESHOLD	0x00800040
-- 
2.53.0




More information about the linux-arm-kernel mailing list