xref: /openbmc/linux/drivers/phy/allwinner/Kconfig (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Allwinner platforms
40b56e9a7SVivek Gautam#
50b56e9a7SVivek Gautamconfig PHY_SUN4I_USB
60b56e9a7SVivek Gautam	tristate "Allwinner sunxi SoC USB PHY driver"
7e03213b9SArnd Bergmann	depends on ARCH_SUNXI || COMPILE_TEST
8e03213b9SArnd Bergmann	depends on HAS_IOMEM
90b56e9a7SVivek Gautam	depends on RESET_CONTROLLER
100b56e9a7SVivek Gautam	depends on EXTCON
110b56e9a7SVivek Gautam	depends on POWER_SUPPLY
120b56e9a7SVivek Gautam	depends on USB_SUPPORT
130b56e9a7SVivek Gautam	select GENERIC_PHY
140b56e9a7SVivek Gautam	select USB_COMMON
150b56e9a7SVivek Gautam	help
160b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of Allwinner
170b56e9a7SVivek Gautam	  sunxi SoCs.
180b56e9a7SVivek Gautam
190b56e9a7SVivek Gautam	  This driver controls the entire USB PHY block, both the USB OTG
200b56e9a7SVivek Gautam	  parts, as well as the 2 regular USB 2 host PHYs.
210b56e9a7SVivek Gautam
225d134abfSMaxime Ripardconfig PHY_SUN6I_MIPI_DPHY
235d134abfSMaxime Ripard	tristate "Allwinner A31 MIPI D-PHY Support"
24e03213b9SArnd Bergmann	depends on ARCH_SUNXI || COMPILE_TEST
25e03213b9SArnd Bergmann	depends on HAS_IOMEM
265d134abfSMaxime Ripard	depends on RESET_CONTROLLER
275d134abfSMaxime Ripard	select GENERIC_PHY
285d134abfSMaxime Ripard	select GENERIC_PHY_MIPI_DPHY
295d134abfSMaxime Ripard	select REGMAP_MMIO
305d134abfSMaxime Ripard	help
315d134abfSMaxime Ripard	  Choose this option if you have an Allwinner SoC with
325d134abfSMaxime Ripard	  MIPI-DSI support. If M is selected, the module will be
335d134abfSMaxime Ripard	  called sun6i_mipi_dphy.
345d134abfSMaxime Ripard
350b56e9a7SVivek Gautamconfig PHY_SUN9I_USB
360b56e9a7SVivek Gautam	tristate "Allwinner sun9i SoC USB PHY driver"
37e03213b9SArnd Bergmann	depends on ARCH_SUNXI || COMPILE_TEST
38e03213b9SArnd Bergmann	depends on HAS_IOMEM
390b56e9a7SVivek Gautam	depends on RESET_CONTROLLER
400b56e9a7SVivek Gautam	depends on USB_SUPPORT
410b56e9a7SVivek Gautam	select USB_COMMON
420b56e9a7SVivek Gautam	select GENERIC_PHY
430b56e9a7SVivek Gautam	help
440b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of Allwinner
450b56e9a7SVivek Gautam	  sun9i SoCs.
460b56e9a7SVivek Gautam
470b56e9a7SVivek Gautam	  This driver controls each individual USB 2 host PHY.
48