^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) # SPDX-License-Identifier: GPL-2.0-only
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) # Phy drivers for Marvell platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config ARMADA375_USBCLUSTER_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) bool "Armada 375 USB cluster PHY support" if COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) default y if MACH_ARMADA_375
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on OF && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) config PHY_BERLIN_SATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) tristate "Marvell Berlin SATA PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) depends on ARCH_BERLIN || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) depends on OF && HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) Enable this to support the SATA PHY on Marvell Berlin SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) config PHY_BERLIN_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) tristate "Marvell Berlin USB PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) depends on ARCH_BERLIN || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) depends on OF && HAS_IOMEM && RESET_CONTROLLER
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) Enable this to support the USB PHY on Marvell Berlin SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) config PHY_MVEBU_A3700_COMPHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) tristate "Marvell A3700 comphy driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) depends on ARCH_MVEBU || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) depends on HAVE_ARM_SMCCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) This driver allows to control the comphy, a hardware block providing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) used by various controllers: Ethernet, SATA, USB3, PCIe.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) config PHY_MVEBU_A3700_UTMI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) tristate "Marvell A3700 UTMI driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) depends on ARCH_MVEBU || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) Enable this to support Marvell A3700 UTMI PHY driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) config PHY_MVEBU_A38X_COMPHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) tristate "Marvell Armada 38x comphy driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) depends on ARCH_MVEBU || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) This driver allows to control the comphy, an hardware block providing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) used by various controllers (Ethernet, sata, usb, PCIe...).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58) config PHY_MVEBU_CP110_COMPHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) tristate "Marvell CP110 comphy driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) depends on ARCH_MVEBU || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) depends on HAVE_ARM_SMCCC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) This driver allows to control the comphy, an hardware block providing
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) shared serdes PHYs on Marvell Armada 7k/8k (in the CP110). Its serdes
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) lanes can be used by various controllers (Ethernet, sata, usb,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) PCIe...).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) config PHY_MVEBU_SATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) def_bool y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) config PHY_PXA_28NM_HSIC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) tristate "Marvell USB HSIC 28nm PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) Enable this to support Marvell USB HSIC PHY driver for Marvell
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) SoC. This driver will do the PHY initialization and shutdown.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) The PHY driver will be used by Marvell ehci driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) To compile this driver as a module, choose M here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) config PHY_PXA_28NM_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) tristate "Marvell USB 2.0 28nm PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) Enable this to support Marvell USB 2.0 PHY driver for Marvell
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) SoC. This driver will do the PHY initialization and shutdown.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) The PHY driver will be used by Marvell udc/ehci/otg driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) To compile this driver as a module, choose M here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) config PHY_PXA_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) tristate "Marvell PXA USB PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) Enable this to support Marvell PXA USB PHY driver for Marvell
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) SoC. This driver will do the PHY initialization and shutdown.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) The PHY driver will be used by Marvell udc/ehci/otg driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) To compile this driver as a module, choose M here.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) config PHY_MMP3_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) tristate "Marvell MMP3 USB PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) depends on MACH_MMP3_DT || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 114) Enable this to support Marvell MMP3 USB PHY driver for Marvell
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 115) SoC. This driver will do the PHY initialization and shutdown.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 116) The PHY driver will be used by Marvell udc/ehci/otg driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 117)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 118) To compile this driver as a module, choose M here.