]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - drivers/phy/Kconfig
phy: qcom-apq8064: fix possible timeout without check
[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
14da699b
KVA
41config OMAP_CONTROL_PHY
42 tristate "OMAP CONTROL PHY Driver"
907aa3aa 43 depends on ARCH_OMAP2PLUS || COMPILE_TEST
14da699b
KVA
44 help
45 Enable this to add support for the PHY part present in the control
46 module. This driver has API to power on the USB2 PHY and to write to
47 the mailbox. The mailbox is present only in omap4 and the register to
48 power on the USB2 PHY is present in OMAP4 and OMAP5. OMAP5 has an
49 additional register to power on USB3 PHY/SATA PHY/PCIE PHY
50 (PIPE3 PHY).
51
5d93d1e7
KVA
52config OMAP_USB2
53 tristate "OMAP USB2 PHY Driver"
54 depends on ARCH_OMAP2PLUS
88207842 55 depends on USB_PHY
5d93d1e7 56 select GENERIC_PHY
14da699b 57 select OMAP_CONTROL_PHY
02133b9e 58 depends on OMAP_OCP2SCP
5d93d1e7
KVA
59 help
60 Enable this to support the transceiver that is part of SOC. This
61 driver takes care of all the PHY functionality apart from comparator.
62 The USB OTG controller communicates with the comparator using this
63 driver.
64
a70143bb
KVA
65config TI_PIPE3
66 tristate "TI PIPE3 PHY Driver"
67 depends on ARCH_OMAP2PLUS || COMPILE_TEST
68 select GENERIC_PHY
14da699b 69 select OMAP_CONTROL_PHY
02133b9e 70 depends on OMAP_OCP2SCP
a70143bb
KVA
71 help
72 Enable this to support the PIPE3 PHY that is part of TI SOCs. This
73 driver takes care of all the PHY functionality apart from comparator.
74 This driver interacts with the "OMAP Control PHY Driver" to power
75 on/off the PHY.
76
6747caa7
KVA
77config TWL4030_USB
78 tristate "TWL4030 USB Transceiver Driver"
79 depends on TWL4030_CORE && REGULATOR_TWL4030 && USB_MUSB_OMAP2PLUS
88207842 80 depends on USB_PHY
6747caa7 81 select GENERIC_PHY
6747caa7
KVA
82 help
83 Enable this to support the USB OTG transceiver on TWL4030
84 family chips (including the TWL5030 and TPS659x0 devices).
85 This transceiver supports high and full speed devices plus,
86 in host mode, low speed.
87
74988e8b
JH
88config PHY_EXYNOS_DP_VIDEO
89 tristate "EXYNOS SoC series Display Port PHY driver"
90 depends on OF
a50ce20e
SN
91 depends on ARCH_EXYNOS || COMPILE_TEST
92 default ARCH_EXYNOS
74988e8b
JH
93 select GENERIC_PHY
94 help
95 Support for Display Port PHY found on Samsung EXYNOS SoCs.
96
7597fdfc
MP
97config BCM_KONA_USB2_PHY
98 tristate "Broadcom Kona USB2 PHY Driver"
06c304e8 99 depends on HAS_IOMEM
3fc03f3d 100 select GENERIC_PHY
7597fdfc
MP
101 help
102 Enable this to support the Broadcom Kona USB 2.0 PHY.
103
bcff4cba
YK
104config PHY_EXYNOS5250_SATA
105 tristate "Exynos5250 Sata SerDes/PHY driver"
106 depends on SOC_EXYNOS5250
107 depends on HAS_IOMEM
108 depends on OF
109 select GENERIC_PHY
110 select I2C
111 select I2C_S3C2410
112 select MFD_SYSCON
113 help
114 Enable this to support SATA SerDes/Phy found on Samsung's
115 Exynos5250 based SoCs.This SerDes/Phy supports SATA 1.5 Gb/s,
116 SATA 3.0 Gb/s, SATA 6.0 Gb/s speeds. It supports one SATA host
117 port to accept one SATA device.
118
e379413a
JX
119config PHY_HIX5HD2_SATA
120 tristate "HIX5HD2 SATA PHY Driver"
121 depends on ARCH_HIX5HD2 && OF && HAS_IOMEM
122 select GENERIC_PHY
123 select MFD_SYSCON
124 help
125 Support for SATA PHY on Hisilicon hix5hd2 Soc.
126
ba4bdc9e
HG
127config PHY_SUN4I_USB
128 tristate "Allwinner sunxi SoC USB PHY driver"
129 depends on ARCH_SUNXI && HAS_IOMEM && OF
9820ccba 130 depends on RESET_CONTROLLER
ba4bdc9e
HG
131 select GENERIC_PHY
132 help
133 Enable this to support the transceiver that is part of Allwinner
134 sunxi SoCs.
135
136 This driver controls the entire USB PHY block, both the USB OTG
137 parts, as well as the 2 regular USB 2 host PHYs.
138
06fb0137
KD
139config PHY_SAMSUNG_USB2
140 tristate "Samsung USB 2.0 PHY driver"
4732aee9 141 depends on HAS_IOMEM
d6125af9 142 depends on USB_EHCI_EXYNOS || USB_OHCI_EXYNOS || USB_DWC2
06fb0137
KD
143 select GENERIC_PHY
144 select MFD_SYSCON
d6125af9 145 default ARCH_EXYNOS
06fb0137
KD
146 help
147 Enable this to support the Samsung USB 2.0 PHY driver for Samsung
d6125af9
SK
148 SoCs. This driver provides the interface for USB 2.0 PHY. Support
149 for particular PHYs will be enabled based on the SoC type in addition
150 to this driver.
06fb0137
KD
151
152config PHY_EXYNOS4210_USB2
d6125af9 153 bool
06fb0137 154 depends on PHY_SAMSUNG_USB2
d6125af9 155 default CPU_EXYNOS4210
06fb0137
KD
156
157config PHY_EXYNOS4X12_USB2
d6125af9 158 bool
06fb0137 159 depends on PHY_SAMSUNG_USB2
d6125af9 160 default SOC_EXYNOS3250 || SOC_EXYNOS4212 || SOC_EXYNOS4412
64bf2b23
KD
161
162config PHY_EXYNOS5250_USB2
d6125af9 163 bool
64bf2b23 164 depends on PHY_SAMSUNG_USB2
d6125af9 165 default SOC_EXYNOS5250 || SOC_EXYNOS5420
64bf2b23 166
59025887
VG
167config PHY_EXYNOS5_USBDRD
168 tristate "Exynos5 SoC series USB DRD PHY driver"
169 depends on ARCH_EXYNOS5 && OF
170 depends on HAS_IOMEM
c233f529 171 depends on USB_DWC3_EXYNOS
59025887
VG
172 select GENERIC_PHY
173 select MFD_SYSCON
c233f529 174 default y
59025887
VG
175 help
176 Enable USB DRD PHY support for Exynos 5 SoC series.
177 This driver provides PHY interface for USB 3.0 DRD controller
178 present on Exynos5 SoC series.
179
88e670fe
LH
180config PHY_XGENE
181 tristate "APM X-Gene 15Gbps PHY support"
182 depends on HAS_IOMEM && OF && (ARM64 || COMPILE_TEST)
183 select GENERIC_PHY
184 help
185 This option enables support for APM X-Gene SoC multi-purpose PHY.
186
1de990d8
SK
187config PHY_QCOM_APQ8064_SATA
188 tristate "Qualcomm APQ8064 SATA SerDes/PHY driver"
189 depends on ARCH_QCOM
190 depends on HAS_IOMEM
191 depends on OF
192 select GENERIC_PHY
193
ff764963 194endmenu