Kconfig 14 KB

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