xref: /openbmc/linux/drivers/phy/samsung/Kconfig (revision ec8f24b7)
1ec8f24b7SThomas Gleixner# SPDX-License-Identifier: GPL-2.0-only
20b56e9a7SVivek Gautam#
30b56e9a7SVivek Gautam# Phy drivers for Samsung platforms
40b56e9a7SVivek Gautam#
50b56e9a7SVivek Gautamconfig PHY_EXYNOS_DP_VIDEO
60b56e9a7SVivek Gautam	tristate "EXYNOS SoC series Display Port PHY driver"
70b56e9a7SVivek Gautam	depends on OF
80b56e9a7SVivek Gautam	depends on ARCH_EXYNOS || COMPILE_TEST
90b56e9a7SVivek Gautam	default ARCH_EXYNOS
100b56e9a7SVivek Gautam	select GENERIC_PHY
110b56e9a7SVivek Gautam	help
120b56e9a7SVivek Gautam	  Support for Display Port PHY found on Samsung EXYNOS SoCs.
130b56e9a7SVivek Gautam
140b56e9a7SVivek Gautamconfig PHY_EXYNOS_MIPI_VIDEO
150b56e9a7SVivek Gautam	tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
160b56e9a7SVivek Gautam	depends on HAS_IOMEM
170b56e9a7SVivek Gautam	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
180b56e9a7SVivek Gautam	select GENERIC_PHY
190b56e9a7SVivek Gautam	default y if ARCH_S5PV210 || ARCH_EXYNOS
200b56e9a7SVivek Gautam	help
210b56e9a7SVivek Gautam	  Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
220b56e9a7SVivek Gautam	  and EXYNOS SoCs.
230b56e9a7SVivek Gautam
240b56e9a7SVivek Gautamconfig PHY_EXYNOS_PCIE
250b56e9a7SVivek Gautam	bool "Exynos PCIe PHY driver"
260b56e9a7SVivek Gautam	depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
270b56e9a7SVivek Gautam	select GENERIC_PHY
280b56e9a7SVivek Gautam	help
290b56e9a7SVivek Gautam	  Enable PCIe PHY support for Exynos SoC series.
300b56e9a7SVivek Gautam	  This driver provides PHY interface for Exynos PCIe controller.
310b56e9a7SVivek Gautam
320b56e9a7SVivek Gautamconfig PHY_SAMSUNG_USB2
330b56e9a7SVivek Gautam	tristate "Samsung USB 2.0 PHY driver"
340b56e9a7SVivek Gautam	depends on HAS_IOMEM
350b56e9a7SVivek Gautam	depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
360b56e9a7SVivek Gautam	select GENERIC_PHY
370b56e9a7SVivek Gautam	select MFD_SYSCON
380b56e9a7SVivek Gautam	default ARCH_EXYNOS
390b56e9a7SVivek Gautam	help
400b56e9a7SVivek Gautam	  Enable this to support the Samsung USB 2.0 PHY driver for Samsung
410b56e9a7SVivek Gautam	  SoCs. This driver provides the interface for USB 2.0 PHY. Support
420b56e9a7SVivek Gautam	  for particular PHYs will be enabled based on the SoC type in addition
430b56e9a7SVivek Gautam	  to this driver.
440b56e9a7SVivek Gautam
450b56e9a7SVivek Gautamconfig PHY_EXYNOS4210_USB2
460b56e9a7SVivek Gautam	bool
470b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
480b56e9a7SVivek Gautam	default CPU_EXYNOS4210
490b56e9a7SVivek Gautam
500b56e9a7SVivek Gautamconfig PHY_EXYNOS4X12_USB2
510b56e9a7SVivek Gautam	bool
520b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
53fee7e1d5SUlf Magnusson	default SOC_EXYNOS3250 || SOC_EXYNOS4412
540b56e9a7SVivek Gautam
550b56e9a7SVivek Gautamconfig PHY_EXYNOS5250_USB2
560b56e9a7SVivek Gautam	bool
570b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
580b56e9a7SVivek Gautam	default SOC_EXYNOS5250 || SOC_EXYNOS5420
590b56e9a7SVivek Gautam
600b56e9a7SVivek Gautamconfig PHY_S5PV210_USB2
610b56e9a7SVivek Gautam	bool "Support for S5PV210"
620b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
630b56e9a7SVivek Gautam	depends on ARCH_S5PV210
640b56e9a7SVivek Gautam	help
650b56e9a7SVivek Gautam	  Enable USB PHY support for S5PV210. This option requires that Samsung
660b56e9a7SVivek Gautam	  USB 2.0 PHY driver is enabled and means that support for this
670b56e9a7SVivek Gautam	  particular SoC is compiled in the driver. In case of S5PV210 two phys
680b56e9a7SVivek Gautam	  are available - device and host.
690b56e9a7SVivek Gautam
700b56e9a7SVivek Gautamconfig PHY_EXYNOS5_USBDRD
710b56e9a7SVivek Gautam	tristate "Exynos5 SoC series USB DRD PHY driver"
720b56e9a7SVivek Gautam	depends on ARCH_EXYNOS && OF
730b56e9a7SVivek Gautam	depends on HAS_IOMEM
740b56e9a7SVivek Gautam	depends on USB_DWC3_EXYNOS
750b56e9a7SVivek Gautam	select GENERIC_PHY
760b56e9a7SVivek Gautam	select MFD_SYSCON
770b56e9a7SVivek Gautam	default y
780b56e9a7SVivek Gautam	help
790b56e9a7SVivek Gautam	  Enable USB DRD PHY support for Exynos 5 SoC series.
800b56e9a7SVivek Gautam	  This driver provides PHY interface for USB 3.0 DRD controller
810b56e9a7SVivek Gautam	  present on Exynos5 SoC series.
820b56e9a7SVivek Gautam
830b56e9a7SVivek Gautamconfig PHY_EXYNOS5250_SATA
840b56e9a7SVivek Gautam	tristate "Exynos5250 Sata SerDes/PHY driver"
850b56e9a7SVivek Gautam	depends on SOC_EXYNOS5250
860b56e9a7SVivek Gautam	depends on HAS_IOMEM
870b56e9a7SVivek Gautam	depends on OF
880b56e9a7SVivek Gautam	select GENERIC_PHY
890b56e9a7SVivek Gautam	select I2C
900b56e9a7SVivek Gautam	select I2C_S3C2410
910b56e9a7SVivek Gautam	select MFD_SYSCON
920b56e9a7SVivek Gautam	help
930b56e9a7SVivek Gautam	  Enable this to support SATA SerDes/Phy found on Samsung's
940b56e9a7SVivek Gautam	  Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
950b56e9a7SVivek Gautam	  SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
960b56e9a7SVivek Gautam	  port to accept one SATA device.
97