18c2ecf20Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
28c2ecf20Sopenharmony_ci#
38c2ecf20Sopenharmony_ci# Phy drivers for Allwinner platforms
48c2ecf20Sopenharmony_ci#
58c2ecf20Sopenharmony_ciconfig PHY_SUN4I_USB
68c2ecf20Sopenharmony_ci	tristate "Allwinner sunxi SoC USB PHY driver"
78c2ecf20Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
88c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
98c2ecf20Sopenharmony_ci	depends on RESET_CONTROLLER
108c2ecf20Sopenharmony_ci	depends on EXTCON
118c2ecf20Sopenharmony_ci	depends on POWER_SUPPLY
128c2ecf20Sopenharmony_ci	depends on USB_SUPPORT
138c2ecf20Sopenharmony_ci	select GENERIC_PHY
148c2ecf20Sopenharmony_ci	select USB_COMMON
158c2ecf20Sopenharmony_ci	help
168c2ecf20Sopenharmony_ci	  Enable this to support the transceiver that is part of Allwinner
178c2ecf20Sopenharmony_ci	  sunxi SoCs.
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci	  This driver controls the entire USB PHY block, both the USB OTG
208c2ecf20Sopenharmony_ci	  parts, as well as the 2 regular USB 2 host PHYs.
218c2ecf20Sopenharmony_ci
228c2ecf20Sopenharmony_ciconfig PHY_SUN6I_MIPI_DPHY
238c2ecf20Sopenharmony_ci	tristate "Allwinner A31 MIPI D-PHY Support"
248c2ecf20Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
258c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && COMMON_CLK
268c2ecf20Sopenharmony_ci	depends on RESET_CONTROLLER
278c2ecf20Sopenharmony_ci	select GENERIC_PHY
288c2ecf20Sopenharmony_ci	select GENERIC_PHY_MIPI_DPHY
298c2ecf20Sopenharmony_ci	select REGMAP_MMIO
308c2ecf20Sopenharmony_ci	help
318c2ecf20Sopenharmony_ci	  Choose this option if you have an Allwinner SoC with
328c2ecf20Sopenharmony_ci	  MIPI-DSI support. If M is selected, the module will be
338c2ecf20Sopenharmony_ci	  called sun6i_mipi_dphy.
348c2ecf20Sopenharmony_ci
358c2ecf20Sopenharmony_ciconfig PHY_SUN9I_USB
368c2ecf20Sopenharmony_ci	tristate "Allwinner sun9i SoC USB PHY driver"
378c2ecf20Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
388c2ecf20Sopenharmony_ci	depends on HAS_IOMEM
398c2ecf20Sopenharmony_ci	depends on RESET_CONTROLLER
408c2ecf20Sopenharmony_ci	depends on USB_SUPPORT
418c2ecf20Sopenharmony_ci	select USB_COMMON
428c2ecf20Sopenharmony_ci	select GENERIC_PHY
438c2ecf20Sopenharmony_ci	help
448c2ecf20Sopenharmony_ci	  Enable this to support the transceiver that is part of Allwinner
458c2ecf20Sopenharmony_ci	  sun9i SoCs.
468c2ecf20Sopenharmony_ci
478c2ecf20Sopenharmony_ci	  This driver controls each individual USB 2 host PHY.
488c2ecf20Sopenharmony_ci
498c2ecf20Sopenharmony_ciconfig PHY_SUN50I_USB3
508c2ecf20Sopenharmony_ci	tristate "Allwinner H6 SoC USB3 PHY driver"
518c2ecf20Sopenharmony_ci	depends on ARCH_SUNXI || COMPILE_TEST
528c2ecf20Sopenharmony_ci	depends on HAS_IOMEM && OF
538c2ecf20Sopenharmony_ci	depends on RESET_CONTROLLER
548c2ecf20Sopenharmony_ci	select GENERIC_PHY
558c2ecf20Sopenharmony_ci	help
568c2ecf20Sopenharmony_ci	  Enable this to support the USB3.0-capable transceiver that is
578c2ecf20Sopenharmony_ci	  part of Allwinner H6 SoC.
588c2ecf20Sopenharmony_ci
598c2ecf20Sopenharmony_ci	  This driver controls each individual USB 2+3 host PHY combo.
60