Kconfig 12 KB

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