xref: /openbmc/linux/drivers/phy/allwinner/Kconfig (revision e03213b9)
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"
6e03213b9SArnd Bergmann	depends on ARCH_SUNXI || COMPILE_TEST
7e03213b9SArnd Bergmann	depends on HAS_IOMEM
80b56e9a7SVivek Gautam	depends on RESET_CONTROLLER
90b56e9a7SVivek Gautam	depends on EXTCON
100b56e9a7SVivek Gautam	depends on POWER_SUPPLY
110b56e9a7SVivek Gautam	depends on USB_SUPPORT
120b56e9a7SVivek Gautam	select GENERIC_PHY
130b56e9a7SVivek Gautam	select USB_COMMON
140b56e9a7SVivek Gautam	help
150b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of Allwinner
160b56e9a7SVivek Gautam	  sunxi SoCs.
170b56e9a7SVivek Gautam
180b56e9a7SVivek Gautam	  This driver controls the entire USB PHY block, both the USB OTG
190b56e9a7SVivek Gautam	  parts, as well as the 2 regular USB 2 host PHYs.
200b56e9a7SVivek Gautam
215d134abfSMaxime Ripardconfig PHY_SUN6I_MIPI_DPHY
225d134abfSMaxime Ripard	tristate "Allwinner A31 MIPI D-PHY Support"
23e03213b9SArnd Bergmann	depends on ARCH_SUNXI || COMPILE_TEST
24e03213b9SArnd Bergmann	depends on HAS_IOMEM
255d134abfSMaxime Ripard	depends on RESET_CONTROLLER
265d134abfSMaxime Ripard	select GENERIC_PHY
275d134abfSMaxime Ripard	select GENERIC_PHY_MIPI_DPHY
285d134abfSMaxime Ripard	select REGMAP_MMIO
295d134abfSMaxime Ripard	help
305d134abfSMaxime Ripard	  Choose this option if you have an Allwinner SoC with
315d134abfSMaxime Ripard	  MIPI-DSI support. If M is selected, the module will be
325d134abfSMaxime Ripard	  called sun6i_mipi_dphy.
335d134abfSMaxime Ripard
340b56e9a7SVivek Gautamconfig PHY_SUN9I_USB
350b56e9a7SVivek Gautam	tristate "Allwinner sun9i SoC USB PHY driver"
36e03213b9SArnd Bergmann	depends on ARCH_SUNXI || COMPILE_TEST
37e03213b9SArnd Bergmann	depends on HAS_IOMEM
380b56e9a7SVivek Gautam	depends on RESET_CONTROLLER
390b56e9a7SVivek Gautam	depends on USB_SUPPORT
400b56e9a7SVivek Gautam	select USB_COMMON
410b56e9a7SVivek Gautam	select GENERIC_PHY
420b56e9a7SVivek Gautam	help
430b56e9a7SVivek Gautam	  Enable this to support the transceiver that is part of Allwinner
440b56e9a7SVivek Gautam	  sun9i SoCs.
450b56e9a7SVivek Gautam
460b56e9a7SVivek Gautam	  This driver controls each individual USB 2 host PHY.
47