phy: samsung: Add support for the Exynos5420 variant of the USB2 PHY
[platform/kernel/linux-rpi.git] / drivers / phy / samsung / Kconfig
1 # SPDX-License-Identifier: GPL-2.0-only
2 #
3 # Phy drivers for Samsung platforms
4 #
5 config 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
14 config 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
24 config 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
32 config 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
41 config 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
54 config PHY_EXYNOS4210_USB2
55         bool
56         depends on PHY_SAMSUNG_USB2
57         default CPU_EXYNOS4210
58
59 config PHY_EXYNOS4X12_USB2
60         bool
61         depends on PHY_SAMSUNG_USB2
62         default SOC_EXYNOS3250 || SOC_EXYNOS4412
63
64 config PHY_EXYNOS5250_USB2
65         bool
66         depends on PHY_SAMSUNG_USB2
67         default SOC_EXYNOS5250
68
69 config PHY_EXYNOS5420_USB2
70         bool
71         depends on PHY_SAMSUNG_USB2
72         default SOC_EXYNOS5420
73
74 config PHY_S5PV210_USB2
75         bool "Support for S5PV210"
76         depends on PHY_SAMSUNG_USB2
77         depends on ARCH_S5PV210 || COMPILE_TEST
78         help
79           Enable USB PHY support for S5PV210. This option requires that Samsung
80           USB 2.0 PHY driver is enabled and means that support for this
81           particular SoC is compiled in the driver. In case of S5PV210 two phys
82           are available - device and host.
83
84 config PHY_EXYNOS5_USBDRD
85         tristate "Exynos5 SoC series USB DRD PHY driver"
86         depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
87         depends on HAS_IOMEM
88         depends on USB_DWC3_EXYNOS
89         select GENERIC_PHY
90         select MFD_SYSCON
91         default y
92         help
93           Enable USB DRD PHY support for Exynos 5 SoC series.
94           This driver provides PHY interface for USB 3.0 DRD controller
95           present on Exynos5 SoC series.
96
97 config PHY_EXYNOS5250_SATA
98         tristate "Exynos5250 Sata SerDes/PHY driver"
99         depends on SOC_EXYNOS5250
100         depends on HAS_IOMEM
101         depends on OF
102         select GENERIC_PHY
103         select I2C
104         select I2C_S3C2410
105         select MFD_SYSCON
106         help
107           Enable this to support SATA SerDes/Phy found on Samsung's
108           Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
109           SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
110           port to accept one SATA device.