162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0-only
262306a36Sopenharmony_ci#
362306a36Sopenharmony_ci# Phy drivers for Samsung platforms
462306a36Sopenharmony_ci#
562306a36Sopenharmony_ciconfig PHY_EXYNOS_DP_VIDEO
662306a36Sopenharmony_ci	tristate "Exynos SoC series Display Port PHY driver"
762306a36Sopenharmony_ci	depends on OF
862306a36Sopenharmony_ci	depends on ARCH_EXYNOS || COMPILE_TEST
962306a36Sopenharmony_ci	default ARCH_EXYNOS
1062306a36Sopenharmony_ci	select GENERIC_PHY
1162306a36Sopenharmony_ci	help
1262306a36Sopenharmony_ci	  Support for Display Port PHY found on Samsung Exynos SoCs.
1362306a36Sopenharmony_ci
1462306a36Sopenharmony_ciconfig PHY_EXYNOS_MIPI_VIDEO
1562306a36Sopenharmony_ci	tristate "S5P/Exynos SoC series MIPI CSI-2/DSI PHY driver"
1662306a36Sopenharmony_ci	depends on HAS_IOMEM
1762306a36Sopenharmony_ci	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
1862306a36Sopenharmony_ci	select GENERIC_PHY
1962306a36Sopenharmony_ci	default y if ARCH_S5PV210 || ARCH_EXYNOS
2062306a36Sopenharmony_ci	help
2162306a36Sopenharmony_ci	  Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
2262306a36Sopenharmony_ci	  and Exynos SoCs.
2362306a36Sopenharmony_ci
2462306a36Sopenharmony_ciconfig PHY_EXYNOS_PCIE
2562306a36Sopenharmony_ci	bool "Exynos PCIe PHY driver"
2662306a36Sopenharmony_ci	depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
2762306a36Sopenharmony_ci	select GENERIC_PHY
2862306a36Sopenharmony_ci	help
2962306a36Sopenharmony_ci	  Enable PCIe PHY support for Exynos SoC series.
3062306a36Sopenharmony_ci	  This driver provides PHY interface for Exynos PCIe controller.
3162306a36Sopenharmony_ci
3262306a36Sopenharmony_ciconfig PHY_SAMSUNG_UFS
3362306a36Sopenharmony_ci	tristate "Exynos SoC series UFS PHY driver"
3462306a36Sopenharmony_ci	depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
3562306a36Sopenharmony_ci	select GENERIC_PHY
3662306a36Sopenharmony_ci	help
3762306a36Sopenharmony_ci	  Enable this to support the Samsung Exynos SoC UFS PHY driver for
3862306a36Sopenharmony_ci	  Samsung Exynos SoCs. This driver provides the interface for UFS host
3962306a36Sopenharmony_ci	  controller to do PHY related programming.
4062306a36Sopenharmony_ci
4162306a36Sopenharmony_ciconfig PHY_SAMSUNG_USB2
4262306a36Sopenharmony_ci	tristate "S5P/Exynos SoC series USB 2.0 PHY driver"
4362306a36Sopenharmony_ci	depends on HAS_IOMEM
4462306a36Sopenharmony_ci	depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
4562306a36Sopenharmony_ci	select GENERIC_PHY
4662306a36Sopenharmony_ci	select MFD_SYSCON
4762306a36Sopenharmony_ci	default ARCH_EXYNOS
4862306a36Sopenharmony_ci	help
4962306a36Sopenharmony_ci	  Enable this to support the Samsung USB 2.0 PHY driver for Samsung
5062306a36Sopenharmony_ci	  S5Pv210 and Exynos SoCs. This driver provides the interface for USB
5162306a36Sopenharmony_ci	  2.0 PHY. Support for particular PHYs will be enabled based on the SoC
5262306a36Sopenharmony_ci	  type in addition to this driver.
5362306a36Sopenharmony_ci
5462306a36Sopenharmony_ciconfig PHY_EXYNOS4210_USB2
5562306a36Sopenharmony_ci	bool
5662306a36Sopenharmony_ci	depends on PHY_SAMSUNG_USB2
5762306a36Sopenharmony_ci	default CPU_EXYNOS4210
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciconfig PHY_EXYNOS4X12_USB2
6062306a36Sopenharmony_ci	bool
6162306a36Sopenharmony_ci	depends on PHY_SAMSUNG_USB2
6262306a36Sopenharmony_ci	default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
6362306a36Sopenharmony_ci
6462306a36Sopenharmony_ciconfig PHY_EXYNOS5250_USB2
6562306a36Sopenharmony_ci	bool
6662306a36Sopenharmony_ci	depends on PHY_SAMSUNG_USB2
6762306a36Sopenharmony_ci	default SOC_EXYNOS5250 || SOC_EXYNOS5420
6862306a36Sopenharmony_ci
6962306a36Sopenharmony_ciconfig PHY_S5PV210_USB2
7062306a36Sopenharmony_ci	bool "Support for S5PV210"
7162306a36Sopenharmony_ci	depends on PHY_SAMSUNG_USB2
7262306a36Sopenharmony_ci	depends on ARCH_S5PV210 || COMPILE_TEST
7362306a36Sopenharmony_ci	help
7462306a36Sopenharmony_ci	  Enable USB PHY support for S5PV210. This option requires that Samsung
7562306a36Sopenharmony_ci	  USB 2.0 PHY driver is enabled and means that support for this
7662306a36Sopenharmony_ci	  particular SoC is compiled in the driver. In case of S5PV210 two phys
7762306a36Sopenharmony_ci	  are available - device and host.
7862306a36Sopenharmony_ci
7962306a36Sopenharmony_ciconfig PHY_EXYNOS5_USBDRD
8062306a36Sopenharmony_ci	tristate "Exynos5 SoC series USB DRD PHY driver"
8162306a36Sopenharmony_ci	depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
8262306a36Sopenharmony_ci	depends on HAS_IOMEM
8362306a36Sopenharmony_ci	depends on USB_DWC3_EXYNOS
8462306a36Sopenharmony_ci	select GENERIC_PHY
8562306a36Sopenharmony_ci	select MFD_SYSCON
8662306a36Sopenharmony_ci	default y
8762306a36Sopenharmony_ci	help
8862306a36Sopenharmony_ci	  Enable USB DRD PHY support for Exynos 5 SoC series.
8962306a36Sopenharmony_ci	  This driver provides PHY interface for USB 3.0 DRD controller
9062306a36Sopenharmony_ci	  present on Exynos5 SoC series.
9162306a36Sopenharmony_ci
9262306a36Sopenharmony_ciconfig PHY_EXYNOS5250_SATA
9362306a36Sopenharmony_ci	tristate "Exynos5250 Sata SerDes/PHY driver"
9462306a36Sopenharmony_ci	depends on SOC_EXYNOS5250
9562306a36Sopenharmony_ci	depends on HAS_IOMEM
9662306a36Sopenharmony_ci	depends on OF
9762306a36Sopenharmony_ci	select GENERIC_PHY
9862306a36Sopenharmony_ci	select I2C
9962306a36Sopenharmony_ci	select I2C_S3C2410
10062306a36Sopenharmony_ci	select MFD_SYSCON
10162306a36Sopenharmony_ci	help
10262306a36Sopenharmony_ci	  Enable this to support SATA SerDes/Phy found on Samsung's
10362306a36Sopenharmony_ci	  Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
10462306a36Sopenharmony_ci	  SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
10562306a36Sopenharmony_ci	  port to accept one SATA device.
106