xref: /openbmc/linux/drivers/phy/samsung/Kconfig (revision 8365a898)
1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Samsung platforms
4#
5config PHY_EXYNOS_DP_VIDEO
6	tristate "EXYNOS SoC series Display Port PHY driver"
7	depends on OF
8	depends on ARCH_EXYNOS || COMPILE_TEST
9	default ARCH_EXYNOS
10	select GENERIC_PHY
11	help
12	  Support for Display Port PHY found on Samsung EXYNOS SoCs.
13
14config PHY_EXYNOS_MIPI_VIDEO
15	tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
16	depends on HAS_IOMEM
17	depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
18	select GENERIC_PHY
19	default y if ARCH_S5PV210 || ARCH_EXYNOS
20	help
21	  Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
22	  and EXYNOS SoCs.
23
24config PHY_EXYNOS_PCIE
25	bool "Exynos PCIe PHY driver"
26	depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
27	select GENERIC_PHY
28	help
29	  Enable PCIe PHY support for Exynos SoC series.
30	  This driver provides PHY interface for Exynos PCIe controller.
31
32config PHY_SAMSUNG_USB2
33	tristate "Samsung USB 2.0 PHY driver"
34	depends on HAS_IOMEM
35	depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
36	select GENERIC_PHY
37	select MFD_SYSCON
38	default ARCH_EXYNOS
39	help
40	  Enable this to support the Samsung USB 2.0 PHY driver for Samsung
41	  SoCs. This driver provides the interface for USB 2.0 PHY. Support
42	  for particular PHYs will be enabled based on the SoC type in addition
43	  to this driver.
44
45config PHY_EXYNOS4210_USB2
46	bool
47	depends on PHY_SAMSUNG_USB2
48	default CPU_EXYNOS4210
49
50config PHY_EXYNOS4X12_USB2
51	bool
52	depends on PHY_SAMSUNG_USB2
53	default SOC_EXYNOS3250 || SOC_EXYNOS4412
54
55config PHY_EXYNOS5250_USB2
56	bool
57	depends on PHY_SAMSUNG_USB2
58	default SOC_EXYNOS5250 || SOC_EXYNOS5420
59
60config PHY_S5PV210_USB2
61	bool "Support for S5PV210"
62	depends on PHY_SAMSUNG_USB2
63	depends on ARCH_S5PV210 || COMPILE_TEST
64	help
65	  Enable USB PHY support for S5PV210. This option requires that Samsung
66	  USB 2.0 PHY driver is enabled and means that support for this
67	  particular SoC is compiled in the driver. In case of S5PV210 two phys
68	  are available - device and host.
69
70config PHY_EXYNOS5_USBDRD
71	tristate "Exynos5 SoC series USB DRD PHY driver"
72	depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
73	depends on HAS_IOMEM
74	depends on USB_DWC3_EXYNOS
75	select GENERIC_PHY
76	select MFD_SYSCON
77	default y
78	help
79	  Enable USB DRD PHY support for Exynos 5 SoC series.
80	  This driver provides PHY interface for USB 3.0 DRD controller
81	  present on Exynos5 SoC series.
82
83config PHY_EXYNOS5250_SATA
84	tristate "Exynos5250 Sata SerDes/PHY driver"
85	depends on SOC_EXYNOS5250
86	depends on HAS_IOMEM
87	depends on OF
88	select GENERIC_PHY
89	select I2C
90	select I2C_S3C2410
91	select MFD_SYSCON
92	help
93	  Enable this to support SATA SerDes/Phy found on Samsung's
94	  Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
95	  SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
96	  port to accept one SATA device.
97