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