hc
2023-12-11 6778948f9de86c3cfaf36725a7c87dcff9ba247f
kernel/drivers/usb/dwc3/Kconfig
....@@ -4,6 +4,7 @@
44 tristate "DesignWare USB3 DRD Core Support"
55 depends on (USB || USB_GADGET) && HAS_DMA
66 select USB_XHCI_PLATFORM if USB_XHCI_HCD
7
+ select USB_ROLE_SWITCH if USB_DWC3_DUAL_ROLE
78 help
89 Say Y or M here if your system has a Dual Role SuperSpeed
910 USB controller based on the DesignWare USB3 IP Core.
....@@ -89,27 +90,37 @@
8990 platform, please say 'Y' or 'M' here.
9091
9192 config USB_DWC3_KEYSTONE
92
- tristate "Texas Instruments Keystone2 Platforms"
93
- depends on ARCH_KEYSTONE || COMPILE_TEST
93
+ tristate "Texas Instruments Keystone2/AM654 Platforms"
94
+ depends on ARCH_KEYSTONE || ARCH_K3 || COMPILE_TEST
9495 default USB_DWC3
9596 help
96
- Support of USB2/3 functionality in TI Keystone2 platforms.
97
+ Support of USB2/3 functionality in TI Keystone2 and AM654 platforms.
9798 Say 'Y' or 'M' here if you have one such device
9899
100
+config USB_DWC3_MESON_G12A
101
+ tristate "Amlogic Meson G12A Platforms"
102
+ depends on OF && COMMON_CLK
103
+ depends on ARCH_MESON || COMPILE_TEST
104
+ default USB_DWC3
105
+ select USB_ROLE_SWITCH
106
+ select REGMAP_MMIO
107
+ help
108
+ Support USB2/3 functionality in Amlogic G12A platforms.
109
+ Say 'Y' or 'M' if you have one such device.
110
+
99111 config USB_DWC3_OF_SIMPLE
100
- tristate "Generic OF Simple Glue Layer"
101
- depends on OF && COMMON_CLK
102
- default USB_DWC3
103
- help
104
- Support USB2/3 functionality in simple SoC integrations.
105
- Currently supports Xilinx and Qualcomm DWC USB3 IP.
106
- Say 'Y' or 'M' if you have one such device.
112
+ tristate "Generic OF Simple Glue Layer"
113
+ depends on OF && COMMON_CLK
114
+ default USB_DWC3
115
+ help
116
+ Support USB2/3 functionality in simple SoC integrations.
117
+ Currently supports Xilinx and Qualcomm DWC USB3 IP.
118
+ Say 'Y' or 'M' if you have one such device.
107119
108120 config USB_DWC3_ROCKCHIP_INNO
109
- tristate "Rockchip Platforms with INNO PHY"
121
+ bool "Rockchip Platforms with INNO PHY"
110122 depends on OF && COMMON_CLK && (ARCH_ROCKCHIP || COMPILE_TEST)
111
- depends on USB=y || USB=USB_DWC3
112
- default USB_DWC3
123
+ default USB_DWC3 && PHY_ROCKCHIP_INNO_USB3 && NO_GKI
113124 help
114125 Support of USB2/3 functionality in Rockchip platforms
115126 with INNO USB 3.0 PHY IP inside.
....@@ -128,7 +139,7 @@
128139 tristate "Qualcomm Platform"
129140 depends on ARCH_QCOM || COMPILE_TEST
130141 depends on EXTCON || !EXTCON
131
- depends on OF
142
+ depends on (OF || ACPI)
132143 default USB_DWC3
133144 help
134145 Some Qualcomm SoCs use DesignWare Core IP for USB2/3
....@@ -137,4 +148,14 @@
137148 for peripheral mode support.
138149 Say 'Y' or 'M' if you have one such device.
139150
151
+config USB_DWC3_IMX8MP
152
+ tristate "NXP iMX8MP Platform"
153
+ depends on OF && COMMON_CLK
154
+ depends on (ARCH_MXC && ARM64) || COMPILE_TEST
155
+ default USB_DWC3
156
+ help
157
+ NXP iMX8M Plus SoC use DesignWare Core IP for USB2/3
158
+ functionality.
159
+ Say 'Y' or 'M' if you have one such device.
160
+
140161 endif