xref: /openbmc/linux/drivers/phy/samsung/Kconfig (revision 9b870e8c)
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
6c233a2edSKrzysztof Kozlowski	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
12c233a2edSKrzysztof Kozlowski	  Support for Display Port PHY found on Samsung Exynos SoCs.
130b56e9a7SVivek Gautam
140b56e9a7SVivek Gautamconfig PHY_EXYNOS_MIPI_VIDEO
15c233a2edSKrzysztof Kozlowski	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
22c233a2edSKrzysztof Kozlowski	  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
32bca21e93SAlim Akhtarconfig PHY_SAMSUNG_UFS
33*9b870e8cSKrzysztof Kozlowski	tristate "Exynos SoC series UFS PHY driver"
34bca21e93SAlim Akhtar	depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
35bca21e93SAlim Akhtar	select GENERIC_PHY
36bca21e93SAlim Akhtar	help
37*9b870e8cSKrzysztof Kozlowski	  Enable this to support the Samsung Exynos SoC UFS PHY driver for
38*9b870e8cSKrzysztof Kozlowski	  Samsung Exynos SoCs. This driver provides the interface for UFS host
39*9b870e8cSKrzysztof Kozlowski	  controller to do PHY related programming.
40bca21e93SAlim Akhtar
410b56e9a7SVivek Gautamconfig PHY_SAMSUNG_USB2
42*9b870e8cSKrzysztof Kozlowski	tristate "S5P/Exynos SoC series USB 2.0 PHY driver"
430b56e9a7SVivek Gautam	depends on HAS_IOMEM
44203b7ee1SKrzysztof Kozlowski	depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
450b56e9a7SVivek Gautam	select GENERIC_PHY
460b56e9a7SVivek Gautam	select MFD_SYSCON
470b56e9a7SVivek Gautam	default ARCH_EXYNOS
480b56e9a7SVivek Gautam	help
490b56e9a7SVivek Gautam	  Enable this to support the Samsung USB 2.0 PHY driver for Samsung
50*9b870e8cSKrzysztof Kozlowski	  S5Pv210 and Exynos SoCs. This driver provides the interface for USB
51*9b870e8cSKrzysztof Kozlowski	  2.0 PHY. Support for particular PHYs will be enabled based on the SoC
52*9b870e8cSKrzysztof Kozlowski	  type in addition to this driver.
530b56e9a7SVivek Gautam
540b56e9a7SVivek Gautamconfig PHY_EXYNOS4210_USB2
550b56e9a7SVivek Gautam	bool
560b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
570b56e9a7SVivek Gautam	default CPU_EXYNOS4210
580b56e9a7SVivek Gautam
590b56e9a7SVivek Gautamconfig PHY_EXYNOS4X12_USB2
600b56e9a7SVivek Gautam	bool
610b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
62fee7e1d5SUlf Magnusson	default SOC_EXYNOS3250 || SOC_EXYNOS4412
630b56e9a7SVivek Gautam
640b56e9a7SVivek Gautamconfig PHY_EXYNOS5250_USB2
650b56e9a7SVivek Gautam	bool
660b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
670b56e9a7SVivek Gautam	default SOC_EXYNOS5250 || SOC_EXYNOS5420
680b56e9a7SVivek Gautam
690b56e9a7SVivek Gautamconfig PHY_S5PV210_USB2
700b56e9a7SVivek Gautam	bool "Support for S5PV210"
710b56e9a7SVivek Gautam	depends on PHY_SAMSUNG_USB2
72203b7ee1SKrzysztof Kozlowski	depends on ARCH_S5PV210 || COMPILE_TEST
730b56e9a7SVivek Gautam	help
740b56e9a7SVivek Gautam	  Enable USB PHY support for S5PV210. This option requires that Samsung
750b56e9a7SVivek Gautam	  USB 2.0 PHY driver is enabled and means that support for this
760b56e9a7SVivek Gautam	  particular SoC is compiled in the driver. In case of S5PV210 two phys
770b56e9a7SVivek Gautam	  are available - device and host.
780b56e9a7SVivek Gautam
790b56e9a7SVivek Gautamconfig PHY_EXYNOS5_USBDRD
800b56e9a7SVivek Gautam	tristate "Exynos5 SoC series USB DRD PHY driver"
81203b7ee1SKrzysztof Kozlowski	depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
820b56e9a7SVivek Gautam	depends on HAS_IOMEM
830b56e9a7SVivek Gautam	depends on USB_DWC3_EXYNOS
840b56e9a7SVivek Gautam	select GENERIC_PHY
850b56e9a7SVivek Gautam	select MFD_SYSCON
860b56e9a7SVivek Gautam	default y
870b56e9a7SVivek Gautam	help
880b56e9a7SVivek Gautam	  Enable USB DRD PHY support for Exynos 5 SoC series.
890b56e9a7SVivek Gautam	  This driver provides PHY interface for USB 3.0 DRD controller
900b56e9a7SVivek Gautam	  present on Exynos5 SoC series.
910b56e9a7SVivek Gautam
920b56e9a7SVivek Gautamconfig PHY_EXYNOS5250_SATA
930b56e9a7SVivek Gautam	tristate "Exynos5250 Sata SerDes/PHY driver"
940b56e9a7SVivek Gautam	depends on SOC_EXYNOS5250
950b56e9a7SVivek Gautam	depends on HAS_IOMEM
960b56e9a7SVivek Gautam	depends on OF
970b56e9a7SVivek Gautam	select GENERIC_PHY
980b56e9a7SVivek Gautam	select I2C
990b56e9a7SVivek Gautam	select I2C_S3C2410
1000b56e9a7SVivek Gautam	select MFD_SYSCON
1010b56e9a7SVivek Gautam	help
1020b56e9a7SVivek Gautam	  Enable this to support SATA SerDes/Phy found on Samsung's
1030b56e9a7SVivek Gautam	  Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
1040b56e9a7SVivek Gautam	  SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
1050b56e9a7SVivek Gautam	  port to accept one SATA device.
106