Kconfig 13 KB

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