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