Merge tag 'xilinx-for-v2021.01' of https://gitlab.denx.de/u-boot/custodians/u-boot...
[platform/kernel/u-boot.git] / drivers / phy / Kconfig
1
2 menu "PHY Subsystem"
3
4 config PHY
5         bool "PHY Core"
6         depends on DM
7         help
8           PHY support.
9
10           This framework is designed to provide a generic interface for PHY
11           devices. PHY devices are dedicated hardware that handle the physical
12           layer of the protocols in the OSI model.
13           PHYs are commonly used for high speed interfaces such as Serial-ATA
14           or PCI express.
15           The API provides functions to initialize/deinitialize the
16           PHY, power on/off the PHY, and reset the PHY. It's meant to be as
17           compatible as possible with the equivalent framework found in the
18           linux kernel.
19
20 config SPL_PHY
21         bool "PHY Core in SPL"
22         depends on DM && SPL
23         help
24           PHY support in SPL.
25
26           This framework is designed to provide a generic interface for PHY
27           devices. PHY devices are dedicated hardware that handle the physical
28           layer of the protocols (https://en.wikipedia.org/wiki/OSI_model).
29           PHYs are commonly used for high speed interfaces such as Serial-ATA
30           or PCI express.
31           The API provides functions to initialize/deinitialize the
32           PHY, power on/off the PHY, and reset the PHY. It's meant to be as
33           compatible as possible with the equivalent framework found in the
34           linux kernel.
35
36 config PHY_SANDBOX
37         bool "Sandbox PHY support"
38         depends on SANDBOX
39         depends on PHY
40         help
41           This select a dummy sandbox PHY driver. It used only to implement
42           the unit tests for the phy framework
43
44 config NOP_PHY
45         bool "NOP PHY driver"
46         depends on PHY
47         help
48           Support for a no-op PHY driver (stubbed PHY driver).
49
50           This is useful when a driver uses the PHY framework but no real PHY
51           hardware exists.
52
53 config SPL_NOP_PHY
54         bool "NOP PHY driver in SPL"
55         depends on SPL_PHY
56         help
57           Support for a no-op PHY driver (stubbed PHY driver) in the SPL.
58
59           This is useful when a driver uses the PHY framework but no real PHY
60           hardware exists.
61
62 config BCM6318_USBH_PHY
63         bool "BCM6318 USBH PHY support"
64         depends on PHY && ARCH_BMIPS
65         select POWER_DOMAIN
66         help
67           Support for the Broadcom MIPS BCM6318 USBH PHY.
68
69 config BCM6348_USBH_PHY
70         bool "BCM6348 USBH PHY support"
71         depends on PHY && ARCH_BMIPS
72         help
73           Support for the Broadcom MIPS BCM6348 USBH PHY.
74
75 config BCM6358_USBH_PHY
76         bool "BCM6358 USBH PHY support"
77         depends on PHY && ARCH_BMIPS
78         help
79           Support for the Broadcom MIPS BCM6358 USBH PHY.
80
81 config BCM6368_USBH_PHY
82         bool "BCM6368 USBH PHY support"
83         depends on PHY && ARCH_BMIPS
84         help
85           Support for the Broadcom MIPS BCM6368 USBH PHY.
86
87 config PHY_DA8XX_USB
88         tristate "TI DA8xx USB PHY Driver"
89         depends on PHY && ARCH_DAVINCI
90         help
91           Enable this to support the USB PHY on DA8xx SoCs.
92
93 config PIPE3_PHY
94         bool "Support omap's PIPE3 PHY"
95         depends on PHY && ARCH_OMAP2PLUS
96         help
97           Support for the omap PIPE3 phy for sata
98
99           This PHY is found on omap devices supporting SATA such as dra7, am57x
100           and omap5
101
102 config SPL_PIPE3_PHY
103         bool "Support omap's PIPE3 PHY in SPL"
104         depends on SPL_PHY && ARCH_OMAP2PLUS
105         help
106           Support for the omap PIPE3 phy for sata in SPL
107
108           This PHY is found on omap devices supporting SATA such as dra7, am57x
109           and omap5
110
111 config AM654_PHY
112         tristate "TI AM654 SERDES support"
113         depends on PHY && ARCH_K3
114         select REGMAP
115         select SYSCON
116         help
117           This option enables support for TI AM654 SerDes PHY used for
118           PCIe.
119
120 config STI_USB_PHY
121         bool "STMicroelectronics USB2 picoPHY driver for STiH407 family"
122         depends on PHY && ARCH_STI
123         help
124           This is the generic phy driver for the picoPHY ports
125           used by USB2 and USB3 Host controllers available on
126           STiH407 SoC families.
127
128 config PHY_QCOM_IPQ4019_USB
129         tristate "Qualcomm IPQ4019 USB PHY driver"
130         depends on PHY && ARCH_IPQ40XX
131         help
132           Support for the USB PHY-s on Qualcomm IPQ40xx SoC-s.
133
134 config PHY_RCAR_GEN2
135         tristate "Renesas R-Car Gen2 USB PHY"
136         depends on PHY && RCAR_GEN2
137         help
138           Support for the Renesas R-Car Gen2 USB PHY. This driver operates the
139           PHY connected to USBHS module, PCI EHCI module and USB3.0 module and
140           allows configuring the module multiplexing.
141
142 config PHY_RCAR_GEN3
143         tristate "Renesas R-Car Gen3 USB PHY"
144         depends on PHY && RCAR_GEN3 && CLK && DM_REGULATOR
145         default y if RCAR_GEN3
146         help
147           Support for the Renesas R-Car Gen3 USB PHY. This driver operates the
148           PHY connected to EHCI USB module and controls USB OTG operation.
149
150 config PHY_STM32_USBPHYC
151         tristate "STMicroelectronics STM32 SoC USB HS PHY driver"
152         depends on PHY && ARCH_STM32MP
153         help
154           Enable this to support the High-Speed USB transceiver that is part of
155           STMicroelectronics STM32 SoCs.
156
157           This driver controls the entire USB PHY block: the USB PHY controller
158           (USBPHYC) and the two 8-bit wide UTMI+ interface. First interface is
159           used by an HS USB Host controller, and the second one is shared
160           between an HS USB OTG controller and an HS USB Host controller,
161           selected by an USB switch.
162
163 config MESON_GXBB_USB_PHY
164         bool "Amlogic Meson GXBB USB PHY"
165         depends on PHY && ARCH_MESON && MESON_GXBB
166         imply REGMAP
167         help
168           This is the generic phy driver for the Amlogic Meson GXBB
169           USB2 PHY.
170
171 config MESON_GXL_USB_PHY
172         bool "Amlogic Meson GXL USB PHYs"
173         depends on PHY && ARCH_MESON && (MESON_GXL || MESON_GXM)
174         imply REGMAP
175         help
176           This is the generic phy driver for the Amlogic Meson GXL
177           USB2 and USB3 PHYS.
178
179 config MESON_G12A_USB_PHY
180         bool "Amlogic Meson G12A USB PHYs"
181         depends on PHY && ARCH_MESON && MESON_G12A
182         imply REGMAP
183         help
184           This is the generic phy driver for the Amlogic Meson G12A
185           USB2 and USB3 PHYS.
186
187 config MSM8916_USB_PHY
188         bool "Qualcomm MSM8916 USB PHY support"
189         depends on PHY
190         help
191           Support the USB PHY in msm8916
192
193           This PHY is found on qualcomm dragonboard410c development board.
194
195 config OMAP_USB2_PHY
196         bool "Support OMAP's USB2 PHY"
197         depends on PHY
198         depends on SYSCON
199         help
200           Support for the OMAP's USB2 PHY.
201
202           This PHY is found on OMAP devices supporting USB2.
203
204
205 config KEYSTONE_USB_PHY
206         bool "Support TI Keystone USB PHY"
207         depends on PHY
208         depends on ARCH_KEYSTONE
209         help
210           Support for the USB PHY found on some Keystone (k2) processors
211
212           This PHY is found on some Keystone (K2) devices supporting USB.
213
214 config MT76X8_USB_PHY
215         bool "MediaTek MT76x8 (7628/88) USB PHY support"
216         depends on PHY
217         depends on SOC_MT7628
218         help
219           Support the USB PHY in MT76x8 SoCs
220
221           This PHY is found on MT76x8 devices supporting USB.
222
223 config PHY_MTK_TPHY
224         bool "MediaTek T-PHY Driver"
225         depends on PHY
226         depends on ARCH_MEDIATEK
227         help
228           MediaTek T-PHY driver supports usb2.0, usb3.0 ports, PCIe and
229           SATA, and meanwhile supports two version T-PHY which have
230           different banks layout, the T-PHY with shared banks between
231           multi-ports is first version, otherwise is second veriosn,
232           so you can easily distinguish them by banks layout.
233
234 source "drivers/phy/rockchip/Kconfig"
235 endmenu