hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/drivers/phy/samsung/Kconfig
....@@ -1,24 +1,25 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Phy drivers for Samsung platforms
34 #
45 config PHY_EXYNOS_DP_VIDEO
5
- tristate "EXYNOS SoC series Display Port PHY driver"
6
+ tristate "Exynos SoC series Display Port PHY driver"
67 depends on OF
78 depends on ARCH_EXYNOS || COMPILE_TEST
89 default ARCH_EXYNOS
910 select GENERIC_PHY
1011 help
11
- Support for Display Port PHY found on Samsung EXYNOS SoCs.
12
+ Support for Display Port PHY found on Samsung Exynos SoCs.
1213
1314 config PHY_EXYNOS_MIPI_VIDEO
14
- tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
15
+ tristate "S5P/Exynos SoC series MIPI CSI-2/DSI PHY driver"
1516 depends on HAS_IOMEM
1617 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
1718 select GENERIC_PHY
1819 default y if ARCH_S5PV210 || ARCH_EXYNOS
1920 help
2021 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
21
- and EXYNOS SoCs.
22
+ and Exynos SoCs.
2223
2324 config PHY_EXYNOS_PCIE
2425 bool "Exynos PCIe PHY driver"
....@@ -28,10 +29,19 @@
2829 Enable PCIe PHY support for Exynos SoC series.
2930 This driver provides PHY interface for Exynos PCIe controller.
3031
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
+
3141 config PHY_SAMSUNG_USB2
3242 tristate "Samsung USB 2.0 PHY driver"
3343 depends on HAS_IOMEM
34
- depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
44
+ depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2 || COMPILE_TEST
3545 select GENERIC_PHY
3646 select MFD_SYSCON
3747 default ARCH_EXYNOS
....@@ -59,7 +69,7 @@
5969 config PHY_S5PV210_USB2
6070 bool "Support for S5PV210"
6171 depends on PHY_SAMSUNG_USB2
62
- depends on ARCH_S5PV210
72
+ depends on ARCH_S5PV210 || COMPILE_TEST
6373 help
6474 Enable USB PHY support for S5PV210. This option requires that Samsung
6575 USB 2.0 PHY driver is enabled and means that support for this
....@@ -68,7 +78,7 @@
6878
6979 config PHY_EXYNOS5_USBDRD
7080 tristate "Exynos5 SoC series USB DRD PHY driver"
71
- depends on ARCH_EXYNOS && OF
81
+ depends on (ARCH_EXYNOS && OF) || COMPILE_TEST
7282 depends on HAS_IOMEM
7383 depends on USB_DWC3_EXYNOS
7484 select GENERIC_PHY