]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/phy/Kconfig
phy: miphy365x: Fix off-by-one error
[mirror_ubuntu-hirsute-kernel.git] / drivers / phy / Kconfig
CommitLineData
ff764963
KVA
1#
2# PHY
3#
4
5menu "PHY Subsystem"
6
7config GENERIC_PHY
b51fbf9f 8 bool "PHY Core"
ff764963
KVA
9 help
10 Generic PHY support.
11
12 This framework is designed to provide a generic interface for PHY
13 devices present in the kernel. This layer will have the generic
14 API by which phy drivers can create PHY using the phy framework and
15 phy users can obtain reference to the PHY. All the users of this
16 framework should select this config.
17
942a31b5
AT
18config PHY_BERLIN_SATA
19 tristate "Marvell Berlin SATA PHY driver"
20 depends on ARCH_BERLIN && HAS_IOMEM && OF
21 select GENERIC_PHY
22 help
23 Enable this to support the SATA PHY on Marvell Berlin SoCs.
24
069d2e26
SN
25config PHY_EXYNOS_MIPI_VIDEO
26 tristate "S5P/EXYNOS SoC series MIPI CSI-2/DSI PHY driver"
13454e5e
SN
27 depends on HAS_IOMEM
28 depends on ARCH_S5PV210 || ARCH_EXYNOS || COMPILE_TEST
29 select GENERIC_PHY
30 default y if ARCH_S5PV210 || ARCH_EXYNOS
069d2e26
SN
31 help
32 Support for MIPI CSI-2 and MIPI DSI DPHY found on Samsung S5P
33 and EXYNOS SoCs.
34
e3eae857
AL
35config PHY_MVEBU_SATA
36 def_bool y
74d64b59 37 depends on ARCH_DOVE || MACH_DOVE || MACH_KIRKWOOD
e3eae857
AL
38 depends on OF
39 select GENERIC_PHY
40
6e877fed
LJ
41config PHY_MIPHY365X
42 tristate "STMicroelectronics MIPHY365X PHY driver for STiH41x series"
43 depends on ARCH_STI
6e877fed
LJ
44 depends on HAS_IOMEM
45 depends on OF
fbb1a770 46 select GENERIC_PHY
6e877fed
LJ
47 help
48 Enable this to support the miphy transceiver (for SATA/PCIE)
49 that is part of STMicroelectronics STiH41x SoC series.
50
14da699b
KVA
51config OMAP_CONTROL_PHY
52 tristate "OMAP CONTROL PHY Driver"
907aa3aa 53 depends on ARCH_OMAP2PLUS || COMPILE_TEST
14da699b
KVA
54 help
55 Enable this to add support for the PHY part present in the control
56 module. This driver has API to power on the USB2 PHY and to write to
57 the mailbox. The mailbox is present only in omap4 and the register to
58 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
59 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
60 (PIPE3 PHY).
61
5d93d1e7
KVA
62config OMAP_USB2
63 tristate "OMAP USB2 PHY Driver"
64 depends on ARCH_OMAP2PLUS
88207842 65 depends on USB_PHY
5d93d1e7 66 select GENERIC_PHY
14da699b 67 select OMAP_CONTROL_PHY
02133b9e 68 depends on OMAP_OCP2SCP
5d93d1e7
KVA
69 help
70 Enable this to support the transceiver that is part of SOC. This
71 driver takes care of all the PHY functionality apart from comparator.
72 The USB OTG controller communicates with the comparator using this
73 driver.
74
a70143bb
KVA
75config TI_PIPE3
76 tristate "TI PIPE3 PHY Driver"
77 depends on ARCH_OMAP2PLUS || COMPILE_TEST
78 select GENERIC_PHY
14da699b 79 select OMAP_CONTROL_PHY
02133b9e 80 depends on OMAP_OCP2SCP
a70143bb
KVA
81 help
82 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
83 driver takes care of all the PHY functionality apart from comparator.
84 This driver interacts with the "OMAP Control PHY Driver" to power
85 on/off the PHY.
86
6747caa7
KVA
87config TWL4030_USB
88 tristate "TWL4030 USB Transceiver Driver"
89 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
88207842 90 depends on USB_PHY
6747caa7 91 select GENERIC_PHY
6747caa7
KVA
92 help
93 Enable this to support the USB OTG transceiver on TWL4030
94 family chips (including the TWL5030 and TPS659x0 devices).
95 This transceiver supports high and full speed devices plus,
96 in host mode, low speed.
97
74988e8b
JH
98config PHY_EXYNOS_DP_VIDEO
99 tristate "EXYNOS SoC series Display Port PHY driver"
100 depends on OF
a50ce20e
SN
101 depends on ARCH_EXYNOS || COMPILE_TEST
102 default ARCH_EXYNOS
74988e8b
JH
103 select GENERIC_PHY
104 help
105 Support for Display Port PHY found on Samsung EXYNOS SoCs.
106
7597fdfc
MP
107config BCM_KONA_USB2_PHY
108 tristate "Broadcom Kona USB2 PHY Driver"
06c304e8 109 depends on HAS_IOMEM
3fc03f3d 110 select GENERIC_PHY
7597fdfc
MP
111 help
112 Enable this to support the Broadcom Kona USB 2.0 PHY.
113
bcff4cba
YK
114config PHY_EXYNOS5250_SATA
115 tristate "Exynos5250 Sata SerDes/PHY driver"
116 depends on SOC_EXYNOS5250
117 depends on HAS_IOMEM
118 depends on OF
119 select GENERIC_PHY
120 select I2C
121 select I2C_S3C2410
122 select MFD_SYSCON
123 help
124 Enable this to support SATA SerDes/Phy found on Samsung's
125 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
126 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
127 port to accept one SATA device.
128
e379413a
JX
129config PHY_HIX5HD2_SATA
130 tristate "HIX5HD2 SATA PHY Driver"
131 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
132 select GENERIC_PHY
133 select MFD_SYSCON
134 help
135 Support for SATA PHY on Hisilicon hix5hd2 Soc.
136
ba4bdc9e
HG
137config PHY_SUN4I_USB
138 tristate "Allwinner sunxi SoC USB PHY driver"
139 depends on ARCH_SUNXI && HAS_IOMEM && OF
9820ccba 140 depends on RESET_CONTROLLER
ba4bdc9e
HG
141 select GENERIC_PHY
142 help
143 Enable this to support the transceiver that is part of Allwinner
144 sunxi SoCs.
145
146 This driver controls the entire USB PHY block, both the USB OTG
147 parts, as well as the 2 regular USB 2 host PHYs.
148
06fb0137
KD
149config PHY_SAMSUNG_USB2
150 tristate "Samsung USB 2.0 PHY driver"
4732aee9 151 depends on HAS_IOMEM
d6125af9 152 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
06fb0137
KD
153 select GENERIC_PHY
154 select MFD_SYSCON
d6125af9 155 default ARCH_EXYNOS
06fb0137
KD
156 help
157 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
d6125af9
SK
158 SoCs. This driver provides the interface for USB 2.0 PHY. Support
159 for particular PHYs will be enabled based on the SoC type in addition
160 to this driver.
06fb0137 161
949ccc3a
MK
162config PHY_S5PV210_USB2
163 bool "Support for S5PV210"
164 depends on PHY_SAMSUNG_USB2
165 depends on ARCH_S5PV210
166 help
167 Enable USB PHY support for S5PV210. This option requires that Samsung
168 USB 2.0 PHY driver is enabled and means that support for this
169 particular SoC is compiled in the driver. In case of S5PV210 two phys
170 are available - device and host.
171
06fb0137 172config PHY_EXYNOS4210_USB2
d6125af9 173 bool
06fb0137 174 depends on PHY_SAMSUNG_USB2
d6125af9 175 default CPU_EXYNOS4210
06fb0137
KD
176
177config PHY_EXYNOS4X12_USB2
d6125af9 178 bool
06fb0137 179 depends on PHY_SAMSUNG_USB2
d6125af9 180 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
64bf2b23
KD
181
182config PHY_EXYNOS5250_USB2
d6125af9 183 bool
64bf2b23 184 depends on PHY_SAMSUNG_USB2
d6125af9 185 default SOC_EXYNOS5250 || SOC_EXYNOS5420
64bf2b23 186
59025887
VG
187config PHY_EXYNOS5_USBDRD
188 tristate "Exynos5 SoC series USB DRD PHY driver"
189 depends on ARCH_EXYNOS5 && OF
190 depends on HAS_IOMEM
c233f529 191 depends on USB_DWC3_EXYNOS
59025887
VG
192 select GENERIC_PHY
193 select MFD_SYSCON
c233f529 194 default y
59025887
VG
195 help
196 Enable USB DRD PHY support for Exynos 5 SoC series.
197 This driver provides PHY interface for USB 3.0 DRD controller
198 present on Exynos5 SoC series.
199
1de990d8
SK
200config PHY_QCOM_APQ8064_SATA
201 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
202 depends on ARCH_QCOM
203 depends on HAS_IOMEM
204 depends on OF
205 select GENERIC_PHY
206
4f6160d4
KG
207config PHY_QCOM_IPQ806X_SATA
208 tristate "Qualcomm IPQ806x SATA SerDes/PHY driver"
209 depends on ARCH_QCOM
210 depends on HAS_IOMEM
211 depends on OF
212 select GENERIC_PHY
213
64562e99
PA
214config PHY_ST_SPEAR1310_MIPHY
215 tristate "ST SPEAR1310-MIPHY driver"
216 select GENERIC_PHY
217 help
218 Support for ST SPEAr1310 MIPHY which can be used for PCIe and SATA.
219
220config PHY_ST_SPEAR1340_MIPHY
221 tristate "ST SPEAR1340-MIPHY driver"
222 select GENERIC_PHY
223 help
224 Support for ST SPEAr1340 MIPHY which can be used for PCIe and SATA.
225
10c8e056
LT
226config PHY_XGENE
227 tristate "APM X-Gene 15Gbps PHY support"
228 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
229 select GENERIC_PHY
230 help
231 This option enables support for APM X-Gene SoC multi-purpose PHY.
232
ff764963 233endmenu