Kconfig 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # SPDX-License-Identifier: GPL-2.0-only
  2. #
  3. # Phy drivers for Allwinner platforms
  4. #
  5. config PHY_SUN4I_USB
  6. tristate "Allwinner sunxi SoC USB PHY driver"
  7. depends on ARCH_SUNXI || COMPILE_TEST
  8. depends on HAS_IOMEM
  9. depends on RESET_CONTROLLER
  10. depends on EXTCON
  11. depends on POWER_SUPPLY
  12. depends on USB_SUPPORT
  13. select GENERIC_PHY
  14. select USB_COMMON
  15. help
  16. Enable this to support the transceiver that is part of Allwinner
  17. sunxi SoCs.
  18. This driver controls the entire USB PHY block, both the USB OTG
  19. parts, as well as the 2 regular USB 2 host PHYs.
  20. config PHY_SUN6I_MIPI_DPHY
  21. tristate "Allwinner A31 MIPI D-PHY Support"
  22. depends on ARCH_SUNXI || COMPILE_TEST
  23. depends on HAS_IOMEM && COMMON_CLK
  24. depends on RESET_CONTROLLER
  25. select GENERIC_PHY
  26. select GENERIC_PHY_MIPI_DPHY
  27. select REGMAP_MMIO
  28. help
  29. Choose this option if you have an Allwinner SoC with
  30. MIPI-DSI support. If M is selected, the module will be
  31. called sun6i_mipi_dphy.
  32. config PHY_SUN9I_USB
  33. tristate "Allwinner sun9i SoC USB PHY driver"
  34. depends on ARCH_SUNXI || COMPILE_TEST
  35. depends on HAS_IOMEM
  36. depends on RESET_CONTROLLER
  37. depends on USB_SUPPORT
  38. select USB_COMMON
  39. select GENERIC_PHY
  40. help
  41. Enable this to support the transceiver that is part of Allwinner
  42. sun9i SoCs.
  43. This driver controls each individual USB 2 host PHY.
  44. config PHY_SUN50I_USB3
  45. tristate "Allwinner H6 SoC USB3 PHY driver"
  46. depends on ARCH_SUNXI || COMPILE_TEST
  47. depends on HAS_IOMEM && OF
  48. depends on RESET_CONTROLLER
  49. select GENERIC_PHY
  50. help
  51. Enable this to support the USB3.0-capable transceiver that is
  52. part of Allwinner H6 SoC.
  53. This driver controls each individual USB 2+3 host PHY combo.