Kconfig 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. #
  2. # PHY
  3. #
  4. menu "PHY Subsystem"
  5. config GENERIC_PHY
  6. bool "PHY Core"
  7. help
  8. Generic PHY support.
  9. This framework is designed to provide a generic interface for PHY
  10. devices present in the kernel. This layer will have the generic
  11. API by which phy drivers can create PHY using the phy framework and
  12. phy users can obtain reference to the PHY. All the users of this
  13. framework should select this config.
  14. config PHY_BERLIN_USB
  15. tristate "Marvell Berlin USB PHY Driver"
  16. depends on ARCH_BERLIN && RESET_CONTROLLER && HAS_IOMEM && OF
  17. select GENERIC_PHY
  18. help
  19. Enable this to support the USB PHY on Marvell Berlin SoCs.
  20. config PHY_BERLIN_SATA
  21. tristate "Marvell Berlin SATA PHY driver"
  22. depends on ARCH_BERLIN && HAS_IOMEM && OF
  23. select GENERIC_PHY
  24. help
  25. Enable this to support the SATA PHY on Marvell Berlin SoCs.
  26. config ARMADA375_USBCLUSTER_PHY
  27. def_bool y
  28. depends on MACH_ARMADA_375 || COMPILE_TEST
  29. depends on OF
  30. select GENERIC_PHY
  31. config PHY_DM816X_USB
  32. tristate "TI dm816x USB PHY driver"
  33. depends on ARCH_OMAP2PLUS
  34. depends on USB_SUPPORT
  35. select GENERIC_PHY
  36. select USB_PHY
  37. help
  38. Enable this for dm816x USB to work.
  39. config PHY_EXYNOS_MIPI_VIDEO
  40. tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
  41. depends on HAS_IOMEM
  42. depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
  43. select GENERIC_PHY
  44. default y if ARCH_S5PV210 || ARCH_EXYNOS
  45. help
  46. Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
  47. and EXYNOS SoCs.
  48. config PHY_LPC18XX_USB_OTG
  49. tristate "NXP LPC18xx/43xx SoC USB OTG PHY driver"
  50. depends on OF && (ARCH_LPC18XX || COMPILE_TEST)
  51. depends on MFD_SYSCON
  52. select GENERIC_PHY
  53. help
  54. Enable this to support NXP LPC18xx/43xx internal USB OTG PHY.
  55. This driver is need for USB0 support on LPC18xx/43xx and takes
  56. care of enabling and clock setup.
  57. config PHY_PXA_28NM_HSIC
  58. tristate "Marvell USB HSIC 28nm PHY Driver"
  59. depends on HAS_IOMEM
  60. select GENERIC_PHY
  61. help
  62. Enable this to support Marvell USB HSIC PHY driver for Marvell
  63. SoC. This driver will do the PHY initialization and shutdown.
  64. The PHY driver will be used by Marvell ehci driver.
  65. To compile this driver as a module, choose M here.
  66. config PHY_PXA_28NM_USB2
  67. tristate "Marvell USB 2.0 28nm PHY Driver"
  68. depends on HAS_IOMEM
  69. select GENERIC_PHY
  70. help
  71. Enable this to support Marvell USB 2.0 PHY driver for Marvell
  72. SoC. This driver will do the PHY initialization and shutdown.
  73. The PHY driver will be used by Marvell udc/ehci/otg driver.
  74. To compile this driver as a module, choose M here.
  75. config PHY_MVEBU_SATA
  76. def_bool y
  77. depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
  78. depends on OF
  79. select GENERIC_PHY
  80. config PHY_MIPHY28LP
  81. tristate "STMicroelectronics MIPHY28LP PHY driver for STiH407"
  82. depends on ARCH_STI
  83. select GENERIC_PHY
  84. help
  85. Enable this to support the miphy transceiver (for SATA/PCIE/USB3)
  86. that is part of STMicroelectronics STiH407 SoC.
  87. config PHY_MIPHY365X
  88. tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
  89. depends on ARCH_STI
  90. depends on HAS_IOMEM
  91. depends on OF
  92. select GENERIC_PHY
  93. help
  94. Enable this to support the miphy transceiver (for SATA/PCIE)
  95. that is part of STMicroelectronics STiH41x SoC series.
  96. config PHY_RCAR_GEN2
  97. tristate "Renesas R-Car generation 2 USB PHY driver"
  98. depends on ARCH_SHMOBILE
  99. depends on GENERIC_PHY
  100. help
  101. Support for USB PHY found on Renesas R-Car generation 2 SoCs.
  102. config OMAP_CONTROL_PHY
  103. tristate "OMAP CONTROL PHY Driver"
  104. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  105. help
  106. Enable this to add support for the PHY part present in the control
  107. module. This driver has API to power on the USB2 PHY and to write to
  108. the mailbox. The mailbox is present only in omap4 and the register to
  109. power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
  110. additional register to power on USB3 PHY/SATA PHY/PCIE PHY
  111. (PIPE3 PHY).
  112. config OMAP_USB2
  113. tristate "OMAP USB2 PHY Driver"
  114. depends on ARCH_OMAP2PLUS
  115. depends on USB_SUPPORT
  116. select GENERIC_PHY
  117. select USB_PHY
  118. select OMAP_CONTROL_PHY
  119. depends on OMAP_OCP2SCP
  120. help
  121. Enable this to support the transceiver that is part of SOC. This
  122. driver takes care of all the PHY functionality apart from comparator.
  123. The USB OTG controller communicates with the comparator using this
  124. driver.
  125. config TI_PIPE3
  126. tristate "TI PIPE3 PHY Driver"
  127. depends on ARCH_OMAP2PLUS || COMPILE_TEST
  128. select GENERIC_PHY
  129. select OMAP_CONTROL_PHY
  130. depends on OMAP_OCP2SCP
  131. help
  132. Enable this to support the PIPE3 PHY that is part of TI SOCs. This
  133. driver takes care of all the PHY functionality apart from comparator.
  134. This driver interacts with the "OMAP Control PHY Driver" to power
  135. on/off the PHY.
  136. config TWL4030_USB
  137. tristate "TWL4030 USB Transceiver Driver"
  138. depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
  139. depends on USB_SUPPORT
  140. select GENERIC_PHY
  141. select USB_PHY
  142. help
  143. Enable this to support the USB OTG transceiver on TWL4030
  144. family chips (including the TWL5030 and TPS659x0 devices).
  145. This transceiver supports high and full speed devices plus,
  146. in host mode, low speed.
  147. config PHY_EXYNOS_DP_VIDEO
  148. tristate "EXYNOS SoC series Display Port PHY driver"
  149. depends on OF
  150. depends on ARCH_EXYNOS || COMPILE_TEST
  151. default ARCH_EXYNOS
  152. select GENERIC_PHY
  153. help
  154. Support for Display Port PHY found on Samsung EXYNOS SoCs.
  155. config BCM_KONA_USB2_PHY
  156. tristate "Broadcom Kona USB2 PHY Driver"
  157. depends on HAS_IOMEM
  158. select GENERIC_PHY
  159. help
  160. Enable this to support the Broadcom Kona USB 2.0 PHY.
  161. config PHY_EXYNOS5250_SATA
  162. tristate "Exynos5250 Sata SerDes/PHY driver"
  163. depends on SOC_EXYNOS5250
  164. depends on HAS_IOMEM
  165. depends on OF
  166. select GENERIC_PHY
  167. select I2C
  168. select I2C_S3C2410
  169. select MFD_SYSCON
  170. help
  171. Enable this to support SATA SerDes/Phy found on Samsung's
  172. Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
  173. SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
  174. port to accept one SATA device.
  175. config PHY_HIX5HD2_SATA
  176. tristate "HIX5HD2 SATA PHY Driver"
  177. depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
  178. select GENERIC_PHY
  179. select MFD_SYSCON
  180. help
  181. Support for SATA PHY on Hisilicon hix5hd2 Soc.
  182. config PHY_MT65XX_USB3
  183. tristate "Mediatek USB3.0 PHY Driver"
  184. depends on ARCH_MEDIATEK && OF
  185. select GENERIC_PHY
  186. help
  187. Say 'Y' here to add support for Mediatek USB3.0 PHY driver
  188. for mt65xx SoCs. it supports two usb2.0 ports and
  189. one usb3.0 port.
  190. config PHY_SUN4I_USB
  191. tristate "Allwinner sunxi SoC USB PHY driver"
  192. depends on ARCH_SUNXI && HAS_IOMEM && OF
  193. depends on RESET_CONTROLLER
  194. depends on EXTCON
  195. depends on POWER_SUPPLY
  196. select GENERIC_PHY
  197. help
  198. Enable this to support the transceiver that is part of Allwinner
  199. sunxi SoCs.
  200. This driver controls the entire USB PHY block, both the USB OTG
  201. parts, as well as the 2 regular USB 2 host PHYs.
  202. config PHY_SUN9I_USB
  203. tristate "Allwinner sun9i SoC USB PHY driver"
  204. depends on ARCH_SUNXI && HAS_IOMEM && OF
  205. depends on RESET_CONTROLLER
  206. depends on USB_COMMON
  207. select GENERIC_PHY
  208. help
  209. Enable this to support the transceiver that is part of Allwinner
  210. sun9i SoCs.
  211. This driver controls each individual USB 2 host PHY.
  212. config PHY_SAMSUNG_USB2
  213. tristate "Samsung USB 2.0 PHY driver"
  214. depends on HAS_IOMEM
  215. depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
  216. select GENERIC_PHY
  217. select MFD_SYSCON
  218. default ARCH_EXYNOS
  219. help
  220. Enable this to support the Samsung USB 2.0 PHY driver for Samsung
  221. SoCs. This driver provides the interface for USB 2.0 PHY. Support
  222. for particular PHYs will be enabled based on the SoC type in addition
  223. to this driver.
  224. config PHY_S5PV210_USB2
  225. bool "Support for S5PV210"
  226. depends on PHY_SAMSUNG_USB2
  227. depends on ARCH_S5PV210
  228. help
  229. Enable USB PHY support for S5PV210. This option requires that Samsung
  230. USB 2.0 PHY driver is enabled and means that support for this
  231. particular SoC is compiled in the driver. In case of S5PV210 two phys
  232. are available - device and host.
  233. config PHY_EXYNOS4210_USB2
  234. bool
  235. depends on PHY_SAMSUNG_USB2
  236. default CPU_EXYNOS4210
  237. config PHY_EXYNOS4X12_USB2
  238. bool
  239. depends on PHY_SAMSUNG_USB2
  240. default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
  241. config PHY_EXYNOS5250_USB2
  242. bool
  243. depends on PHY_SAMSUNG_USB2
  244. default SOC_EXYNOS5250 || SOC_EXYNOS5420
  245. config PHY_EXYNOS5_USBDRD
  246. tristate "Exynos5 SoC series USB DRD PHY driver"
  247. depends on ARCH_EXYNOS && OF
  248. depends on HAS_IOMEM
  249. depends on USB_DWC3_EXYNOS
  250. select GENERIC_PHY
  251. select MFD_SYSCON
  252. default y
  253. help
  254. Enable USB DRD PHY support for Exynos 5 SoC series.
  255. This driver provides PHY interface for USB 3.0 DRD controller
  256. present on Exynos5 SoC series.
  257. config PHY_PISTACHIO_USB
  258. tristate "IMG Pistachio USB2.0 PHY driver"
  259. depends on MACH_PISTACHIO
  260. select GENERIC_PHY
  261. help
  262. Enable this to support the USB2.0 PHY on the IMG Pistachio SoC.
  263. config PHY_QCOM_APQ8064_SATA
  264. tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
  265. depends on ARCH_QCOM
  266. depends on HAS_IOMEM
  267. depends on OF
  268. select GENERIC_PHY
  269. config PHY_QCOM_IPQ806X_SATA
  270. tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
  271. depends on ARCH_QCOM
  272. depends on HAS_IOMEM
  273. depends on OF
  274. select GENERIC_PHY
  275. config PHY_ROCKCHIP_USB
  276. tristate "Rockchip USB2 PHY Driver"
  277. depends on ARCH_ROCKCHIP && OF
  278. select GENERIC_PHY
  279. help
  280. Enable this to support the Rockchip USB 2.0 PHY.
  281. config PHY_ST_SPEAR1310_MIPHY
  282. tristate "ST SPEAR1310-MIPHY driver"
  283. select GENERIC_PHY
  284. depends on MACH_SPEAR1310 || COMPILE_TEST
  285. help
  286. Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
  287. config PHY_ST_SPEAR1340_MIPHY
  288. tristate "ST SPEAR1340-MIPHY driver"
  289. select GENERIC_PHY
  290. depends on MACH_SPEAR1340 || COMPILE_TEST
  291. help
  292. Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
  293. config PHY_XGENE
  294. tristate "APM X-Gene 15Gbps PHY support"
  295. depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
  296. select GENERIC_PHY
  297. help
  298. This option enables support for APM X-Gene SoC multi-purpose PHY.
  299. config PHY_STIH407_USB
  300. tristate "STMicroelectronics USB2 picoPHY driver for STiH407 family"
  301. depends on RESET_CONTROLLER
  302. depends on ARCH_STI || COMPILE_TEST
  303. select GENERIC_PHY
  304. help
  305. Enable this support to enable the picoPHY device used by USB2
  306. and USB3 controllers on STMicroelectronics STiH407 SoC families.
  307. config PHY_STIH41X_USB
  308. tristate "STMicroelectronics USB2 PHY driver for STiH41x series"
  309. depends on ARCH_STI
  310. select GENERIC_PHY
  311. help
  312. Enable this to support the USB transceiver that is part of
  313. STMicroelectronics STiH41x SoC series.
  314. config PHY_QCOM_UFS
  315. tristate "Qualcomm UFS PHY driver"
  316. depends on OF && ARCH_QCOM
  317. select GENERIC_PHY
  318. help
  319. Support for UFS PHY on QCOM chipsets.
  320. config PHY_TUSB1210
  321. tristate "TI TUSB1210 ULPI PHY module"
  322. depends on USB_ULPI_BUS
  323. depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
  324. select GENERIC_PHY
  325. help
  326. Support for TI TUSB1210 USB ULPI PHY.
  327. config PHY_BRCMSTB_SATA
  328. tristate "Broadcom STB SATA PHY driver"
  329. depends on ARCH_BRCMSTB
  330. depends on OF
  331. select GENERIC_PHY
  332. help
  333. Enable this to support the SATA3 PHY on 28nm Broadcom STB SoCs.
  334. Likely useful only with CONFIG_SATA_BRCMSTB enabled.
  335. config PHY_CYGNUS_PCIE
  336. tristate "Broadcom Cygnus PCIe PHY driver"
  337. depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
  338. select GENERIC_PHY
  339. default ARCH_BCM_CYGNUS
  340. help
  341. Enable this to support the Broadcom Cygnus PCIe PHY.
  342. If unsure, say N.
  343. endmenu