xref: /linux/drivers/phy/samsung/Kconfig (revision 9f10e7fb6a06bce4f81de5fd0f2f0390f99e89e4)
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_UFS
33	tristate "Exynos SoC series UFS PHY driver"
34	depends on OF && (ARCH_EXYNOS || COMPILE_TEST)
35	select GENERIC_PHY
36	select MFD_SYSCON
37	help
38	  Enable this to support the Samsung Exynos SoC UFS PHY driver for
39	  Samsung Exynos SoCs. This driver provides the interface for UFS host
40	  controller to do PHY related programming.
41
42config PHY_SAMSUNG_USB2
43	tristate "S5P/Exynos SoC series USB 2.0 PHY driver"
44	depends on HAS_IOMEM
45	depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
46	select GENERIC_PHY
47	select MFD_SYSCON
48	default ARCH_EXYNOS
49	help
50	  Enable this to support the Samsung USB 2.0 PHY driver for Samsung
51	  S5Pv210 and Exynos SoCs. This driver provides the interface for USB
52	  2.0 PHY. Support for particular PHYs will be enabled based on the SoC
53	  type in addition to this driver.
54
55config PHY_EXYNOS4210_USB2
56	bool
57	depends on PHY_SAMSUNG_USB2
58	default CPU_EXYNOS4210
59
60config PHY_EXYNOS4X12_USB2
61	bool
62	depends on PHY_SAMSUNG_USB2
63	default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
64
65config PHY_EXYNOS5250_USB2
66	bool
67	depends on PHY_SAMSUNG_USB2
68	default SOC_EXYNOS5250 || SOC_EXYNOS5420
69
70config PHY_S5PV210_USB2
71	bool "Support for S5PV210"
72	depends on PHY_SAMSUNG_USB2
73	depends on ARCH_S5PV210 || COMPILE_TEST
74	help
75	  Enable USB PHY support for S5PV210. This option requires that Samsung
76	  USB 2.0 PHY driver is enabled and means that support for this
77	  particular SoC is compiled in the driver. In case of S5PV210 two phys
78	  are available - device and host.
79
80config PHY_EXYNOS5_USBDRD
81	tristate "Exynos5 SoC series USB DRD PHY driver"
82	depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
83	depends on HAS_IOMEM
84	depends on USB_DWC3_EXYNOS
85	select GENERIC_PHY
86	select MFD_SYSCON
87	default y
88	help
89	  Enable USB DRD PHY support for Exynos 5 SoC series.
90	  This driver provides PHY interface for USB 3.0 DRD controller
91	  present on Exynos5 SoC series.
92
93config PHY_EXYNOS5250_SATA
94	tristate "Exynos5250 Sata SerDes/PHY driver"
95	depends on SOC_EXYNOS5250
96	depends on HAS_IOMEM
97	depends on OF
98	select GENERIC_PHY
99	select I2C
100	select I2C_S3C2410
101	select MFD_SYSCON
102	help
103	  Enable this to support SATA SerDes/Phy found on Samsung's
104	  Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
105	  SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
106	  port to accept one SATA device.
107