firmware/br-ext-chip-allwinner/board/v83x/kernel/patches/00000-drivers_usb_host_Kcon...

150 lines
4.2 KiB
Diff

diff -drupN a/drivers/usb/host/Kconfig b/drivers/usb/host/Kconfig
--- a/drivers/usb/host/Kconfig 2018-08-06 17:23:04.000000000 +0300
+++ b/drivers/usb/host/Kconfig 2022-06-12 05:28:14.000000000 +0300
@@ -804,3 +804,145 @@ config USB_HCD_TEST_MODE
This option is of interest only to developers who need to validate
their USB hardware designs. It is not needed for normal use. If
unsure, say N.
+
+#-----------------------------------------------------
+#
+# SUNXI USB Host Controller Drivers
+#
+#-----------------------------------------------------
+config USB_SUNXI_HCD
+ tristate "SoftWinner SUNXI USB Host Controller support"
+ depends on USB
+ help
+ SoftWinner SUNXI USB2.0 Host Controller support.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_HCD0
+ tristate "SoftWinner SUNXI USB Host Controller0"
+ depends on USB_SUNXI_HCD && ARCH_SUN8IW6
+ help
+ SoftWinner SUNXI USB2.0 Host Controller0.
+ Enable this option if your board has this chip, and you want
+ to use it as a host controller.
+
+ If unsure, say N.
+
+config USB_SUNXI_HCI
+ tristate "SoftWinner SUNXI USB HCI"
+ depends on USB_SUNXI_HCD
+ help
+ SoftWinner SUNXI USB HCI.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_EHCI0
+ tristate "SoftWinner SUNXI USB EHCI0"
+ depends on USB_SUNXI_HCI
+ help
+ SoftWinner SUNXI USB EHCI0.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_EHCI1
+ tristate "SoftWinner SUNXI USB EHCI1"
+ depends on USB_SUNXI_HCI && !ARCH_SUN50IW6 && !ARCH_SUN8IW5 \
+ && !ARCH_SUN8IW18
+ help
+ SoftWinner SUNXI USB EHCI1.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_EHCI2
+ tristate "SoftWinner SUNXI USB EHCI2"
+ depends on USB_SUNXI_HCI && (ARCH_SUN8IW11 || ARCH_SUN50IW2 \
+ || ARCH_SUN8IW7 || ARCH_SUN8IW17 || ARCH_SUN50IW9)
+ help
+ SoftWinner SUNXI USB EHCI2.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_EHCI3
+ tristate "SoftWinner SUNXI USB EHCI3"
+ depends on USB_SUNXI_HCI && (ARCH_SUN50IW2 || ARCH_SUN8IW7 \
+ || ARCH_SUN50IW6 || ARCH_SUN8IW17 || ARCH_SUN50IW9)
+ help
+ SoftWinner SUNXI USB EHCI3.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_OHCI0
+ tristate "SoftWinner SUNXI USB OHCI0"
+ depends on USB_SUNXI_HCI
+ help
+ SoftWinner SUNXI USB OHCI0.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_OHCI1
+ tristate "SoftWinner SUNXI USB OHCI1"
+ depends on USB_SUNXI_HCI && !ARCH_SUN8IW6 && !ARCH_SUN50IW6 \
+ && !ARCH_SUN8IW5 && !ARCH_SUN8IW18
+ help
+ SoftWinner SUNXI USB OHCI1.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_OHCI2
+ tristate "SoftWinner SUNXI USB OHCI2"
+ depends on USB_SUNXI_HCI && (ARCH_SUN8IW11 || ARCH_SUN50IW2 \
+ || ARCH_SUN8IW7 || ARCH_SUN8IW17 || ARCH_SUN50IW9)
+ help
+ SoftWinner SUNXI USB OHCI2.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_OHCI3
+ tristate "SoftWinner SUNXI USB OHCI3"
+ depends on USB_SUNXI_HCI && (ARCH_SUN50IW2 || ARCH_SUN8IW7 \
+ || ARCH_SUN50IW6 || ARCH_SUN8IW17 || ARCH_SUN50IW9)
+ help
+ SoftWinner SUNXI USB OHCI3.
+
+ This option is of interest only to developers who need to
+ develop on AllWinner SoC.
+
+ If unsure, say N.
+
+config USB_SUNXI_XHCI
+ tristate "SoftWinner SUNXI USB XHCI"
+ depends on USB_SUNXI_HCI && ARCH_SUN50IW6
+ select USB_XHCI_PLATFORM if USB_SUPPORT && USB_XHCI_HCD
+ help
+ The Renesas USBSS is a XHCI controller.
+ Enable this option if your board has this chip, and you want
+ to use it as a host controller.
+
+ If unsure, say N.