xref: /openbmc/u-boot/drivers/phy/Kconfig (revision ae485b54)
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_STM32_USBPHYC
114	tristate "STMicroelectronics STM32 SoC USB HS PHY driver"
115	depends on PHY && ARCH_STM32MP
116	help
117	  Enable this to support the High-Speed USB transceiver that is part of
118	  STMicroelectronics STM32 SoCs.
119
120	  This driver controls the entire USB PHY block: the USB PHY controller
121	  (USBPHYC) and the two 8-bit wide UTMI+ interface. First interface is
122	  used by an HS USB Host controller, and the second one is shared
123	  between an HS USB OTG controller and an HS USB Host controller,
124	  selected by an USB switch.
125
126config MESON_GXL_USB_PHY
127	bool "Amlogic Meson GXL USB PHYs"
128	depends on PHY && ARCH_MESON && MESON_GXL
129	imply REGMAP
130	help
131	  This is the generic phy driver for the Amlogic Meson GXL
132	  USB2 and USB3 PHYS.
133
134endmenu
135