forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-05-10 cde9070d9970eef1f7ec2360586c802a16230ad8
kernel/drivers/phy/marvell/Kconfig
....@@ -1,3 +1,4 @@
1
+# SPDX-License-Identifier: GPL-2.0-only
12 #
23 # Phy drivers for Marvell platforms
34 #
....@@ -9,22 +10,56 @@
910
1011 config PHY_BERLIN_SATA
1112 tristate "Marvell Berlin SATA PHY driver"
12
- depends on ARCH_BERLIN && HAS_IOMEM && OF
13
+ depends on ARCH_BERLIN || COMPILE_TEST
14
+ depends on OF && HAS_IOMEM
1315 select GENERIC_PHY
1416 help
1517 Enable this to support the SATA PHY on Marvell Berlin SoCs.
1618
1719 config PHY_BERLIN_USB
1820 tristate "Marvell Berlin USB PHY Driver"
19
- depends on ARCH_BERLIN && RESET_CONTROLLER && HAS_IOMEM && OF
21
+ depends on ARCH_BERLIN || COMPILE_TEST
22
+ depends on OF && HAS_IOMEM && RESET_CONTROLLER
2023 select GENERIC_PHY
2124 help
2225 Enable this to support the USB PHY on Marvell Berlin SoCs.
26
+
27
+config PHY_MVEBU_A3700_COMPHY
28
+ tristate "Marvell A3700 comphy driver"
29
+ depends on ARCH_MVEBU || COMPILE_TEST
30
+ depends on OF
31
+ depends on HAVE_ARM_SMCCC
32
+ default y
33
+ select GENERIC_PHY
34
+ help
35
+ This driver allows to control the comphy, a hardware block providing
36
+ shared serdes PHYs on Marvell Armada 3700. Its serdes lanes can be
37
+ used by various controllers: Ethernet, SATA, USB3, PCIe.
38
+
39
+config PHY_MVEBU_A3700_UTMI
40
+ tristate "Marvell A3700 UTMI driver"
41
+ depends on ARCH_MVEBU || COMPILE_TEST
42
+ depends on OF
43
+ default y
44
+ select GENERIC_PHY
45
+ help
46
+ Enable this to support Marvell A3700 UTMI PHY driver.
47
+
48
+config PHY_MVEBU_A38X_COMPHY
49
+ tristate "Marvell Armada 38x comphy driver"
50
+ depends on ARCH_MVEBU || COMPILE_TEST
51
+ depends on OF
52
+ select GENERIC_PHY
53
+ help
54
+ This driver allows to control the comphy, an hardware block providing
55
+ shared serdes PHYs on Marvell Armada 38x. Its serdes lanes can be
56
+ used by various controllers (Ethernet, sata, usb, PCIe...).
2357
2458 config PHY_MVEBU_CP110_COMPHY
2559 tristate "Marvell CP110 comphy driver"
2660 depends on ARCH_MVEBU || COMPILE_TEST
2761 depends on OF
62
+ depends on HAVE_ARM_SMCCC
2863 select GENERIC_PHY
2964 help
3065 This driver allows to control the comphy, an hardware block providing
....@@ -59,3 +94,25 @@
5994 The PHY driver will be used by Marvell udc/ehci/otg driver.
6095
6196 To compile this driver as a module, choose M here.
97
+
98
+config PHY_PXA_USB
99
+ tristate "Marvell PXA USB PHY Driver"
100
+ depends on ARCH_PXA || ARCH_MMP || COMPILE_TEST
101
+ select GENERIC_PHY
102
+ help
103
+ Enable this to support Marvell PXA USB PHY driver for Marvell
104
+ SoC. This driver will do the PHY initialization and shutdown.
105
+ The PHY driver will be used by Marvell udc/ehci/otg driver.
106
+
107
+ To compile this driver as a module, choose M here.
108
+
109
+config PHY_MMP3_USB
110
+ tristate "Marvell MMP3 USB PHY Driver"
111
+ depends on MACH_MMP3_DT || COMPILE_TEST
112
+ select GENERIC_PHY
113
+ help
114
+ Enable this to support Marvell MMP3 USB PHY driver for Marvell
115
+ SoC. This driver will do the PHY initialization and shutdown.
116
+ The PHY driver will be used by Marvell udc/ehci/otg driver.
117
+
118
+ To compile this driver as a module, choose M here.