Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1545346 > unrolled thread

[PATCH] usb: make the MTK XHCI driver compile for older MIPS SoCs

Started byJohn Crispin <john@phrozen.org>
First post2016-12-20 19:10 +0100
Last post2016-12-20 19:10 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH] usb: make the MTK XHCI driver compile for older MIPS SoCs John Crispin <john@phrozen.org> - 2016-12-20 19:10 +0100

#1545346 — [PATCH] usb: make the MTK XHCI driver compile for older MIPS SoCs

FromJohn Crispin <john@phrozen.org>
Date2016-12-20 19:10 +0100
Subject[PATCH] usb: make the MTK XHCI driver compile for older MIPS SoCs
Message-ID<sQx1p-ys-49@gated-at.bofh.it>
The MIPS based MT7621 shares the same XHCI core as the newer generation of
ARM based SoCs. The driver works out of the box and we only need to make it
buildable in Kconfig.

Signed-off-by: John Crispin <john@phrozen.org>
---
 drivers/usb/host/Kconfig |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
index 0b80cee..eb121b2 100644
--- a/drivers/usb/host/Kconfig
+++ b/drivers/usb/host/Kconfig
@@ -45,9 +45,9 @@ config USB_XHCI_PLATFORM
 	  If unsure, say N.
 
 config USB_XHCI_MTK
-	tristate "xHCI support for Mediatek MT65xx"
+	tristate "xHCI support for Mediatek MT65xx/MT7621"
 	select MFD_SYSCON
-	depends on ARCH_MEDIATEK || COMPILE_TEST
+	depends on (MIPS && SOC_MT7621) || ARCH_MEDIATEK || COMPILE_TEST
 	---help---
 	  Say 'Y' to enable the support for the xHCI host controller
 	  found in Mediatek MT65xx SoCs.
-- 
1.7.10.4

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web