xref: /openbmc/u-boot/drivers/phy/Kconfig (revision fabbeb33)
1
2menu "PHY Subsystem"
3
4config 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
20config SPL_PHY
21	bool "PHY Core in SPL"
22	depends on DM
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
36config 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
44config 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
53config 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
62config 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
69config 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
75config 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
81config 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
87config PIPE3_PHY
88	bool "Support omap's PIPE3 PHY"
89	depends on PHY && ARCH_OMAP2PLUS
90	help
91	  Support for the omap PIPE3 phy for sata
92
93	  This PHY is found on omap devices supporting SATA such as dra7, am57x
94	  and omap5
95
96config SPL_PIPE3_PHY
97	bool "Support omap's PIPE3 PHY in SPL"
98	depends on SPL_PHY && ARCH_OMAP2PLUS
99	help
100	  Support for the omap PIPE3 phy for sata in SPL
101
102	  This PHY is found on omap devices supporting SATA such as dra7, am57x
103	  and omap5
104
105config STI_USB_PHY
106	bool "STMicroelectronics USB2 picoPHY driver for STiH407 family"
107	depends on PHY && ARCH_STI
108	help
109	  This is the generic phy driver for the picoPHY ports
110	  used by USB2 and USB3 Host controllers available on
111	  STiH407 SoC families.
112
113config PHY_RCAR_GEN2
114	tristate "Renesas R-Car Gen2 USB PHY"
115	depends on PHY && RCAR_GEN2
116	help
117	  Support for the Renesas R-Car Gen2 USB PHY. This driver operates the
118	  PHY connected to USBHS module, PCI EHCI module and USB3.0 module and
119	  allows configuring the module multiplexing.
120
121config PHY_RCAR_GEN3
122	tristate "Renesas R-Car Gen3 USB PHY"
123	depends on PHY && RCAR_GEN3 && CLK && DM_REGULATOR
124	default y if RCAR_GEN3
125	help
126	  Support for the Renesas R-Car Gen3 USB PHY. This driver operates the
127	  PHY connected to EHCI USB module and controls USB OTG operation.
128
129config PHY_STM32_USBPHYC
130	tristate "STMicroelectronics STM32 SoC USB HS PHY driver"
131	depends on PHY && ARCH_STM32MP
132	help
133	  Enable this to support the High-Speed USB transceiver that is part of
134	  STMicroelectronics STM32 SoCs.
135
136	  This driver controls the entire USB PHY block: the USB PHY controller
137	  (USBPHYC) and the two 8-bit wide UTMI+ interface. First interface is
138	  used by an HS USB Host controller, and the second one is shared
139	  between an HS USB OTG controller and an HS USB Host controller,
140	  selected by an USB switch.
141
142config MESON_GXL_USB_PHY
143	bool "Amlogic Meson GXL USB PHYs"
144	depends on PHY && ARCH_MESON && (MESON_GXL || MESON_GXM)
145	imply REGMAP
146	help
147	  This is the generic phy driver for the Amlogic Meson GXL
148	  USB2 and USB3 PHYS.
149
150config MSM8916_USB_PHY
151	bool "Qualcomm MSM8916 USB PHY support"
152	depends on PHY
153	help
154          Support the USB PHY in msm8916
155
156	  This PHY is found on qualcomm dragonboard410c development board.
157
158config OMAP_USB2_PHY
159	bool "Support OMAP's USB2 PHY"
160	depends on PHY
161	depends on SYSCON
162	help
163	  Support for the OMAP's USB2 PHY.
164
165	  This PHY is found on OMAP devices supporting USB2.
166
167
168config KEYSTONE_USB_PHY
169	bool "Support TI Keystone USB PHY"
170	depends on PHY
171	depends on ARCH_KEYSTONE
172	help
173	  Support for the USB PHY found on some Keystone (k2) processors
174
175	  This PHY is found on some Keystone (K2) devices supporting USB.
176
177endmenu
178