hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/usb/chipidea/Kconfig
....@@ -6,6 +6,8 @@
66 select EXTCON
77 select RESET_CONTROLLER
88 select USB_ULPI_BUS
9
+ select USB_ROLE_SWITCH
10
+ select USB_TEGRA_PHY if ARCH_TEGRA
911 help
1012 Say Y here if your system has a dual role high speed USB
1113 controller based on ChipIdea silicon IP. It supports:
....@@ -15,17 +17,6 @@
1517 When compiled dynamically, the module will be called ci_hdrc.ko.
1618
1719 if USB_CHIPIDEA
18
-
19
-config USB_CHIPIDEA_OF
20
- tristate
21
- depends on OF
22
- default USB_CHIPIDEA
23
-
24
-config USB_CHIPIDEA_PCI
25
- tristate
26
- depends on USB_PCI
27
- depends on NOP_USB_XCEIV
28
- default USB_CHIPIDEA
2920
3021 config USB_CHIPIDEA_UDC
3122 bool "ChipIdea device controller"
....@@ -41,4 +32,30 @@
4132 help
4233 Say Y here to enable host controller functionality of the
4334 ChipIdea driver.
35
+
36
+config USB_CHIPIDEA_PCI
37
+ tristate "Enable PCI glue driver" if EMBEDDED
38
+ depends on USB_PCI
39
+ depends on NOP_USB_XCEIV
40
+ default USB_CHIPIDEA
41
+
42
+config USB_CHIPIDEA_MSM
43
+ tristate "Enable MSM hsusb glue driver" if EMBEDDED
44
+ default USB_CHIPIDEA
45
+
46
+config USB_CHIPIDEA_IMX
47
+ tristate "Enable i.MX USB glue driver" if EMBEDDED
48
+ depends on OF
49
+ default USB_CHIPIDEA
50
+
51
+config USB_CHIPIDEA_GENERIC
52
+ tristate "Enable generic USB2 glue driver" if EMBEDDED
53
+ default USB_CHIPIDEA
54
+
55
+config USB_CHIPIDEA_TEGRA
56
+ tristate "Enable Tegra UDC glue driver" if EMBEDDED
57
+ depends on OF
58
+ depends on USB_CHIPIDEA_UDC
59
+ default USB_CHIPIDEA
60
+
4461 endif