xref: /openbmc/u-boot/drivers/phy/Kconfig (revision 668257e0)
172e5016fSJean-Jacques Hiblot
272e5016fSJean-Jacques Hiblotmenu "PHY Subsystem"
372e5016fSJean-Jacques Hiblot
472e5016fSJean-Jacques Hiblotconfig PHY
572e5016fSJean-Jacques Hiblot	bool "PHY Core"
672e5016fSJean-Jacques Hiblot	depends on DM
772e5016fSJean-Jacques Hiblot	help
872e5016fSJean-Jacques Hiblot	  PHY support.
972e5016fSJean-Jacques Hiblot
1072e5016fSJean-Jacques Hiblot	  This framework is designed to provide a generic interface for PHY
1172e5016fSJean-Jacques Hiblot	  devices. PHY devices are dedicated hardware that handle the physical
1272e5016fSJean-Jacques Hiblot	  layer of the protocols in the OSI model.
1372e5016fSJean-Jacques Hiblot	  PHYs are commonly used for high speed interfaces such as Serial-ATA
1472e5016fSJean-Jacques Hiblot	  or PCI express.
1572e5016fSJean-Jacques Hiblot	  The API provides functions to initialize/deinitialize the
1672e5016fSJean-Jacques Hiblot	  PHY, power on/off the PHY, and reset the PHY. It's meant to be as
1772e5016fSJean-Jacques Hiblot	  compatible as possible with the equivalent framework found in the
1872e5016fSJean-Jacques Hiblot	  linux kernel.
1972e5016fSJean-Jacques Hiblot
2072e5016fSJean-Jacques Hiblotconfig SPL_PHY
2172e5016fSJean-Jacques Hiblot	bool "PHY Core in SPL"
2272e5016fSJean-Jacques Hiblot	depends on DM
2372e5016fSJean-Jacques Hiblot	help
2472e5016fSJean-Jacques Hiblot	  PHY support in SPL.
2572e5016fSJean-Jacques Hiblot
2672e5016fSJean-Jacques Hiblot	  This framework is designed to provide a generic interface for PHY
2772e5016fSJean-Jacques Hiblot	  devices. PHY devices are dedicated hardware that handle the physical
2872e5016fSJean-Jacques Hiblot	  layer of the protocols (https://en.wikipedia.org/wiki/OSI_model).
2972e5016fSJean-Jacques Hiblot	  PHYs are commonly used for high speed interfaces such as Serial-ATA
3072e5016fSJean-Jacques Hiblot	  or PCI express.
3172e5016fSJean-Jacques Hiblot	  The API provides functions to initialize/deinitialize the
3272e5016fSJean-Jacques Hiblot	  PHY, power on/off the PHY, and reset the PHY. It's meant to be as
3372e5016fSJean-Jacques Hiblot	  compatible as possible with the equivalent framework found in the
3472e5016fSJean-Jacques Hiblot	  linux kernel.
3572e5016fSJean-Jacques Hiblot
3686322f59SJean-Jacques Hiblotconfig PHY_SANDBOX
3786322f59SJean-Jacques Hiblot	bool "Sandbox PHY support"
3886322f59SJean-Jacques Hiblot	depends on SANDBOX
3986322f59SJean-Jacques Hiblot	depends on PHY
4086322f59SJean-Jacques Hiblot	help
4186322f59SJean-Jacques Hiblot	  This select a dummy sandbox PHY driver. It used only to implement
4286322f59SJean-Jacques Hiblot	  the unit tests for the phy framework
4386322f59SJean-Jacques Hiblot
443b63db37SJean-Jacques Hiblotconfig NOP_PHY
453b63db37SJean-Jacques Hiblot	bool "NOP PHY driver"
463b63db37SJean-Jacques Hiblot	depends on PHY
473b63db37SJean-Jacques Hiblot	help
483b63db37SJean-Jacques Hiblot	  Support for a no-op PHY driver (stubbed PHY driver).
493b63db37SJean-Jacques Hiblot
503b63db37SJean-Jacques Hiblot	  This is useful when a driver uses the PHY framework but no real PHY
513b63db37SJean-Jacques Hiblot	  hardware exists.
523b63db37SJean-Jacques Hiblot
533b63db37SJean-Jacques Hiblotconfig SPL_NOP_PHY
543b63db37SJean-Jacques Hiblot	bool "NOP PHY driver in SPL"
553b63db37SJean-Jacques Hiblot	depends on SPL_PHY
563b63db37SJean-Jacques Hiblot	help
573b63db37SJean-Jacques Hiblot	  Support for a no-op PHY driver (stubbed PHY driver) in the SPL.
583b63db37SJean-Jacques Hiblot
593b63db37SJean-Jacques Hiblot	  This is useful when a driver uses the PHY framework but no real PHY
603b63db37SJean-Jacques Hiblot	  hardware exists.
613b63db37SJean-Jacques Hiblot
628e948c6fSÁlvaro Fernández Rojasconfig BCM6318_USBH_PHY
638e948c6fSÁlvaro Fernández Rojas	bool "BCM6318 USBH PHY support"
648e948c6fSÁlvaro Fernández Rojas	depends on PHY && ARCH_BMIPS
658e948c6fSÁlvaro Fernández Rojas	select POWER_DOMAIN
668e948c6fSÁlvaro Fernández Rojas	help
678e948c6fSÁlvaro Fernández Rojas	  Support for the Broadcom MIPS BCM6318 USBH PHY.
688e948c6fSÁlvaro Fernández Rojas
69bcb9b502SÁlvaro Fernández Rojasconfig BCM6348_USBH_PHY
70bcb9b502SÁlvaro Fernández Rojas	bool "BCM6348 USBH PHY support"
71bcb9b502SÁlvaro Fernández Rojas	depends on PHY && ARCH_BMIPS
72bcb9b502SÁlvaro Fernández Rojas	help
73bcb9b502SÁlvaro Fernández Rojas	  Support for the Broadcom MIPS BCM6348 USBH PHY.
74bcb9b502SÁlvaro Fernández Rojas
75190c36b9SÁlvaro Fernández Rojasconfig BCM6358_USBH_PHY
76190c36b9SÁlvaro Fernández Rojas	bool "BCM6358 USBH PHY support"
77190c36b9SÁlvaro Fernández Rojas	depends on PHY && ARCH_BMIPS
78190c36b9SÁlvaro Fernández Rojas	help
79190c36b9SÁlvaro Fernández Rojas	  Support for the Broadcom MIPS BCM6358 USBH PHY.
80190c36b9SÁlvaro Fernández Rojas
81f55c1538SÁlvaro Fernández Rojasconfig BCM6368_USBH_PHY
82f55c1538SÁlvaro Fernández Rojas	bool "BCM6368 USBH PHY support"
83f55c1538SÁlvaro Fernández Rojas	depends on PHY && ARCH_BMIPS
84f55c1538SÁlvaro Fernández Rojas	help
85f55c1538SÁlvaro Fernández Rojas	  Support for the Broadcom MIPS BCM6368 USBH PHY.
86f55c1538SÁlvaro Fernández Rojas
87982082d9SJean-Jacques Hiblotconfig PIPE3_PHY
88982082d9SJean-Jacques Hiblot	bool "Support omap's PIPE3 PHY"
896b26aaefSJean-Jacques Hiblot	depends on PHY && ARCH_OMAP2PLUS
90982082d9SJean-Jacques Hiblot	help
91982082d9SJean-Jacques Hiblot	  Support for the omap PIPE3 phy for sata
92982082d9SJean-Jacques Hiblot
93982082d9SJean-Jacques Hiblot	  This PHY is found on omap devices supporting SATA such as dra7, am57x
94982082d9SJean-Jacques Hiblot	  and omap5
95982082d9SJean-Jacques Hiblot
96982082d9SJean-Jacques Hiblotconfig SPL_PIPE3_PHY
97982082d9SJean-Jacques Hiblot	bool "Support omap's PIPE3 PHY in SPL"
986b26aaefSJean-Jacques Hiblot	depends on SPL_PHY && ARCH_OMAP2PLUS
99982082d9SJean-Jacques Hiblot	help
100982082d9SJean-Jacques Hiblot	  Support for the omap PIPE3 phy for sata in SPL
101982082d9SJean-Jacques Hiblot
102982082d9SJean-Jacques Hiblot	  This PHY is found on omap devices supporting SATA such as dra7, am57x
103982082d9SJean-Jacques Hiblot	  and omap5
104982082d9SJean-Jacques Hiblot
105b7ca56dcSPatrice Chotardconfig STI_USB_PHY
106b7ca56dcSPatrice Chotard	bool "STMicroelectronics USB2 picoPHY driver for STiH407 family"
107b7ca56dcSPatrice Chotard	depends on PHY && ARCH_STI
108b7ca56dcSPatrice Chotard	help
109b7ca56dcSPatrice Chotard	  This is the generic phy driver for the picoPHY ports
110b7ca56dcSPatrice Chotard	  used by USB2 and USB3 Host controllers available on
111b7ca56dcSPatrice Chotard	  STiH407 SoC families.
112b7ca56dcSPatrice Chotard
11366425888SMarek Vasutconfig PHY_RCAR_GEN2
11466425888SMarek Vasut	tristate "Renesas R-Car Gen2 USB PHY"
11566425888SMarek Vasut	depends on PHY && RCAR_GEN2
11666425888SMarek Vasut	help
11766425888SMarek Vasut	  Support for the Renesas R-Car Gen2 USB PHY. This driver operates the
11866425888SMarek Vasut	  PHY connected to USBHS module, PCI EHCI module and USB3.0 module and
11966425888SMarek Vasut	  allows configuring the module multiplexing.
12066425888SMarek Vasut
1216cfc3d66SMarek Vasutconfig PHY_RCAR_GEN3
1226cfc3d66SMarek Vasut	tristate "Renesas R-Car Gen3 USB PHY"
1236cfc3d66SMarek Vasut	depends on PHY && RCAR_GEN3 && CLK && DM_REGULATOR
1246cfc3d66SMarek Vasut	default y if RCAR_GEN3
1256cfc3d66SMarek Vasut	help
1266cfc3d66SMarek Vasut	  Support for the Renesas R-Car Gen3 USB PHY. This driver operates the
1276cfc3d66SMarek Vasut	  PHY connected to EHCI USB module and controls USB OTG operation.
1286cfc3d66SMarek Vasut
1293b291216SPatrice Chotardconfig PHY_STM32_USBPHYC
1303b291216SPatrice Chotard	tristate "STMicroelectronics STM32 SoC USB HS PHY driver"
1313b291216SPatrice Chotard	depends on PHY && ARCH_STM32MP
1323b291216SPatrice Chotard	help
1333b291216SPatrice Chotard	  Enable this to support the High-Speed USB transceiver that is part of
1343b291216SPatrice Chotard	  STMicroelectronics STM32 SoCs.
1353b291216SPatrice Chotard
1363b291216SPatrice Chotard	  This driver controls the entire USB PHY block: the USB PHY controller
1373b291216SPatrice Chotard	  (USBPHYC) and the two 8-bit wide UTMI+ interface. First interface is
1383b291216SPatrice Chotard	  used by an HS USB Host controller, and the second one is shared
1393b291216SPatrice Chotard	  between an HS USB OTG controller and an HS USB Host controller,
1403b291216SPatrice Chotard	  selected by an USB switch.
1413b291216SPatrice Chotard
1422960e27eSNeil Armstrongconfig MESON_GXL_USB_PHY
1432960e27eSNeil Armstrong	bool "Amlogic Meson GXL USB PHYs"
1442960e27eSNeil Armstrong	depends on PHY && ARCH_MESON && MESON_GXL
1452960e27eSNeil Armstrong	imply REGMAP
1462960e27eSNeil Armstrong	help
1472960e27eSNeil Armstrong	  This is the generic phy driver for the Amlogic Meson GXL
1482960e27eSNeil Armstrong	  USB2 and USB3 PHYS.
1492960e27eSNeil Armstrong
15092454e47SRamon Friedconfig MSM8916_USB_PHY
15192454e47SRamon Fried	bool "Qualcomm MSM8916 USB PHY support"
15292454e47SRamon Fried	depends on PHY
15392454e47SRamon Fried	help
15492454e47SRamon Fried          Support the USB PHY in msm8916
15592454e47SRamon Fried
15692454e47SRamon Fried	  This PHY is found on qualcomm dragonboard410c development board.
15792454e47SRamon Fried
158*668257e0SJean-Jacques Hiblotconfig OMAP_USB2_PHY
159*668257e0SJean-Jacques Hiblot	bool "Support OMAP's USB2 PHY"
160*668257e0SJean-Jacques Hiblot	depends on PHY
161*668257e0SJean-Jacques Hiblot	depends on SYSCON
162*668257e0SJean-Jacques Hiblot	help
163*668257e0SJean-Jacques Hiblot	  Support for the OMAP's USB2 PHY.
164*668257e0SJean-Jacques Hiblot
165*668257e0SJean-Jacques Hiblot	  This PHY is found on OMAP devices supporting USB2.
166*668257e0SJean-Jacques Hiblot
16772e5016fSJean-Jacques Hiblotendmenu
168