^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 Broadcom platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config PHY_BCM63XX_USBH
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) tristate "BCM63xx USBH PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) depends on BMIPS_GENERIC || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) Enable this to support the BCM63xx USBH PHY driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) config PHY_CYGNUS_PCIE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) tristate "Broadcom Cygnus PCIe PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) default ARCH_BCM_CYGNUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) Enable this to support the Broadcom Cygnus PCIe PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) config PHY_BCM_SR_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) tristate "Broadcom Stingray USB PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) default ARCH_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Enable this to support the Broadcom Stingray USB PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) driver. It supports all versions of Superspeed and
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) Highspeed PHYs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) config BCM_KONA_USB2_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) tristate "Broadcom Kona USB2 PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Enable this to support the Broadcom Kona USB 2.0 PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) config PHY_BCM_NS_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) tristate "Broadcom Northstar USB 2.0 PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) depends on ARCH_BCM_IPROC || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) depends on HAS_IOMEM && OF
^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 Broadcom USB 2.0 PHY connected to the USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) controller on Northstar family.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) config PHY_BCM_NS_USB3
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) tristate "Broadcom Northstar USB 3.0 PHY Driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) depends on ARCH_BCM_IPROC || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) depends on HAS_IOMEM && OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53) depends on MDIO_BUS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) Enable this to support Broadcom USB 3.0 PHY connected to the USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) controller on Northstar family.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) config PHY_NS2_PCIE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) tristate "Broadcom Northstar2 PCIe PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63) default ARCH_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) Enable this to support the Broadcom Northstar2 PCIe PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68) config PHY_NS2_USB_DRD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) tristate "Broadcom Northstar2 USB DRD PHY support"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) select EXTCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) default ARCH_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) Enable this to support the Broadcom Northstar2 USB DRD PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) This driver initializes the PHY in either HOST or DEVICE mode.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) The host or device configuration is read from device tree.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) config PHY_BRCM_SATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) tristate "Broadcom SATA PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) ARCH_BCM_63XX || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) default ARCH_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) Enable this to support the Broadcom SATA PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) config PHY_BRCM_USB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) tristate "Broadcom STB USB PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) depends on ARCH_BRCMSTB || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) select SOC_BRCMSTB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) default ARCH_BRCMSTB
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) Enable this to support the Broadcom STB USB PHY.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) This driver is required by the USB XHCI, EHCI and OHCI
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) drivers.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) If unsure, say N.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) config PHY_BCM_SR_PCIE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 106) tristate "Broadcom Stingray PCIe PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 107) depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 108) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 109) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 110) default ARCH_BCM_IPROC
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 111) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 112) Enable this to support the Broadcom Stingray PCIe PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 113) If unsure, say N.