0001 # SPDX-License-Identifier: GPL-2.0-only
0002 #
0003 # Phy drivers for Samsung platforms
0004 #
0005 config PHY_EXYNOS_DP_VIDEO
0006 tristate "Exynos SoC series Display Port PHY driver"
0007 depends on OF
0008 depends on ARCH_EXYNOS || COMPILE_TEST
0009 default ARCH_EXYNOS
0010 select GENERIC_PHY
0011 help
0012 Support for Display Port PHY found on Samsung Exynos SoCs.
0013
0014 config PHY_EXYNOS_MIPI_VIDEO
0015 tristate "S5P/Exynos SoC series MIPI CSI-2/DSI PHY driver"
0016 depends on HAS_IOMEM
0017 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
0018 select GENERIC_PHY
0019 default y if ARCH_S5PV210 || ARCH_EXYNOS
0020 help
0021 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
0022 and Exynos SoCs.
0023
0024 config PHY_EXYNOS_PCIE
0025 bool "Exynos PCIe PHY driver"
0026 depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
0027 select GENERIC_PHY
0028 help
0029 Enable PCIe PHY support for Exynos SoC series.
0030 This driver provides PHY interface for Exynos PCIe controller.
0031
0032 config PHY_SAMSUNG_UFS
0033 tristate "Exynos SoC series UFS PHY driver"
0034 depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
0035 select GENERIC_PHY
0036 help
0037 Enable this to support the Samsung Exynos SoC UFS PHY driver for
0038 Samsung Exynos SoCs. This driver provides the interface for UFS host
0039 controller to do PHY related programming.
0040
0041 config PHY_SAMSUNG_USB2
0042 tristate "S5P/Exynos SoC series USB 2.0 PHY driver"
0043 depends on HAS_IOMEM
0044 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
0045 select GENERIC_PHY
0046 select MFD_SYSCON
0047 default ARCH_EXYNOS
0048 help
0049 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
0050 S5Pv210 and Exynos SoCs. This driver provides the interface for USB
0051 2.0 PHY. Support for particular PHYs will be enabled based on the SoC
0052 type in addition to this driver.
0053
0054 config PHY_EXYNOS4210_USB2
0055 bool
0056 depends on PHY_SAMSUNG_USB2
0057 default CPU_EXYNOS4210
0058
0059 config PHY_EXYNOS4X12_USB2
0060 bool
0061 depends on PHY_SAMSUNG_USB2
0062 default SOC_EXYNOS3250 || SOC_EXYNOS4412
0063
0064 config PHY_EXYNOS5250_USB2
0065 bool
0066 depends on PHY_SAMSUNG_USB2
0067 default SOC_EXYNOS5250 || SOC_EXYNOS5420
0068
0069 config PHY_S5PV210_USB2
0070 bool "Support for S5PV210"
0071 depends on PHY_SAMSUNG_USB2
0072 depends on ARCH_S5PV210 || COMPILE_TEST
0073 help
0074 Enable USB PHY support for S5PV210. This option requires that Samsung
0075 USB 2.0 PHY driver is enabled and means that support for this
0076 particular SoC is compiled in the driver. In case of S5PV210 two phys
0077 are available - device and host.
0078
0079 config PHY_EXYNOS5_USBDRD
0080 tristate "Exynos5 SoC series USB DRD PHY driver"
0081 depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
0082 depends on HAS_IOMEM
0083 depends on USB_DWC3_EXYNOS
0084 select GENERIC_PHY
0085 select MFD_SYSCON
0086 default y
0087 help
0088 Enable USB DRD PHY support for Exynos 5 SoC series.
0089 This driver provides PHY interface for USB 3.0 DRD controller
0090 present on Exynos5 SoC series.
0091
0092 config PHY_EXYNOS5250_SATA
0093 tristate "Exynos5250 Sata SerDes/PHY driver"
0094 depends on SOC_EXYNOS5250
0095 depends on HAS_IOMEM
0096 depends on OF
0097 select GENERIC_PHY
0098 select I2C
0099 select I2C_S3C2410
0100 select MFD_SYSCON
0101 help
0102 Enable this to support SATA SerDes/Phy found on Samsung's
0103 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
0104 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
0105 port to accept one SATA device.