^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 Samsung platforms
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) #
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) config PHY_EXYNOS_DP_VIDEO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) tristate "Exynos SoC series Display Port PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) depends on ARCH_EXYNOS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) default ARCH_EXYNOS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) Support for Display Port PHY found on Samsung Exynos SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) config PHY_EXYNOS_MIPI_VIDEO
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) tristate "S5P/Exynos SoC series MIPI CSI-2/DSI PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) default y if ARCH_S5PV210 || ARCH_EXYNOS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) and Exynos SoCs.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24) config PHY_EXYNOS_PCIE
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) bool "Exynos PCIe PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) Enable PCIe PHY support for Exynos SoC series.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30) This driver provides PHY interface for Exynos PCIe controller.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) config PHY_SAMSUNG_UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) tristate "SAMSUNG SoC series UFS PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37) Enable this to support the Samsung UFS PHY driver for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Samsung SoCs. This driver provides the interface for UFS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39) host controller to do PHY related programming.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) config PHY_SAMSUNG_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) tristate "Samsung USB 2.0 PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 45) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 46) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 47) default ARCH_EXYNOS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 48) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 49) Enable this to support the Samsung USB 2.0 PHY driver for Samsung
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 50) SoCs. This driver provides the interface for USB 2.0 PHY. Support
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 51) for particular PHYs will be enabled based on the SoC type in addition
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 52) to this driver.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 53)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 54) config PHY_EXYNOS4210_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 55) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 56) depends on PHY_SAMSUNG_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 57) default CPU_EXYNOS4210
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 58)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 59) config PHY_EXYNOS4X12_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 60) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 61) depends on PHY_SAMSUNG_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 62) default SOC_EXYNOS3250 || SOC_EXYNOS4412
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 63)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 64) config PHY_EXYNOS5250_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 65) bool
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 66) depends on PHY_SAMSUNG_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 67) default SOC_EXYNOS5250 || SOC_EXYNOS5420
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 68)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 69) config PHY_S5PV210_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 70) bool "Support for S5PV210"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 71) depends on PHY_SAMSUNG_USB2
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 72) depends on ARCH_S5PV210 || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 73) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 74) Enable USB PHY support for S5PV210. This option requires that Samsung
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 75) USB 2.0 PHY driver is enabled and means that support for this
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 76) particular SoC is compiled in the driver. In case of S5PV210 two phys
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 77) are available - device and host.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 78)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 79) config PHY_EXYNOS5_USBDRD
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 80) tristate "Exynos5 SoC series USB DRD PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 81) depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 82) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 83) depends on USB_DWC3_EXYNOS
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 84) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 85) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 86) default y
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 87) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 88) Enable USB DRD PHY support for Exynos 5 SoC series.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 89) This driver provides PHY interface for USB 3.0 DRD controller
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 90) present on Exynos5 SoC series.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 91)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 92) config PHY_EXYNOS5250_SATA
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 93) tristate "Exynos5250 Sata SerDes/PHY driver"
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 94) depends on SOC_EXYNOS5250
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 95) depends on HAS_IOMEM
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 96) depends on OF
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 97) select GENERIC_PHY
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 98) select I2C
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 99) select I2C_S3C2410
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 100) select MFD_SYSCON
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 101) help
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 102) Enable this to support SATA SerDes/Phy found on Samsung's
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 103) Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 104) SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 105) port to accept one SATA device.