xref: /openbmc/linux/drivers/phy/allwinner/Kconfig (revision 5d134abf)
10b56e9a7SVivek Gautam#
20b56e9a7SVivek Gautam# Phy drivers for Allwinner platforms
30b56e9a7SVivek Gautam#
40b56e9a7SVivek Gautamconfig PHY_SUN4I_USB
50b56e9a7SVivek Gautam	tristate "Allwinner sunxi SoC USB PHY driver"
60b56e9a7SVivek Gautam	depends on ARCH_SUNXI && HAS_IOMEM && OF
70b56e9a7SVivek Gautam	depends on RESET_CONTROLLER
80b56e9a7SVivek Gautam	depends on EXTCON
90b56e9a7SVivek Gautam	depends on POWER_SUPPLY
100b56e9a7SVivek Gautam	depends on USB_SUPPORT
110b56e9a7SVivek Gautam	select GENERIC_PHY
120b56e9a7SVivek Gautam	select USB_COMMON
130b56e9a7SVivek Gautam	help
140b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of Allwinner
150b56e9a7SVivek Gautam	  sunxi SoCs.
160b56e9a7SVivek Gautam
170b56e9a7SVivek Gautam	  This driver controls the entire USB PHY block, both the USB OTG
180b56e9a7SVivek Gautam	  parts, as well as the 2 regular USB 2 host PHYs.
190b56e9a7SVivek Gautam
205d134abfSMaxime Ripardconfig PHY_SUN6I_MIPI_DPHY
215d134abfSMaxime Ripard	tristate "Allwinner A31 MIPI D-PHY Support"
225d134abfSMaxime Ripard	depends on ARCH_SUNXI && HAS_IOMEM && OF
235d134abfSMaxime Ripard	depends on RESET_CONTROLLER
245d134abfSMaxime Ripard	select GENERIC_PHY
255d134abfSMaxime Ripard	select GENERIC_PHY_MIPI_DPHY
265d134abfSMaxime Ripard	select REGMAP_MMIO
275d134abfSMaxime Ripard	help
285d134abfSMaxime Ripard	  Choose this option if you have an Allwinner SoC with
295d134abfSMaxime Ripard	  MIPI-DSI support. If M is selected, the module will be
305d134abfSMaxime Ripard	  called sun6i_mipi_dphy.
315d134abfSMaxime Ripard
320b56e9a7SVivek Gautamconfig PHY_SUN9I_USB
330b56e9a7SVivek Gautam	tristate "Allwinner sun9i SoC USB PHY driver"
340b56e9a7SVivek Gautam	depends on ARCH_SUNXI && HAS_IOMEM && OF
350b56e9a7SVivek Gautam	depends on RESET_CONTROLLER
360b56e9a7SVivek Gautam	depends on USB_SUPPORT
370b56e9a7SVivek Gautam	select USB_COMMON
380b56e9a7SVivek Gautam	select GENERIC_PHY
390b56e9a7SVivek Gautam	help
400b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of Allwinner
410b56e9a7SVivek Gautam	  sun9i SoCs.
420b56e9a7SVivek Gautam
430b56e9a7SVivek Gautam	  This driver controls each individual USB 2 host PHY.
44