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