xref: /openbmc/u-boot/drivers/phy/Kconfig (revision b7ca56dc)
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
62982082d9SJean-Jacques Hiblotconfig PIPE3_PHY
63982082d9SJean-Jacques Hiblot	bool "Support omap's PIPE3 PHY"
646b26aaefSJean-Jacques Hiblot	depends on PHY && ARCH_OMAP2PLUS
65982082d9SJean-Jacques Hiblot	help
66982082d9SJean-Jacques Hiblot	  Support for the omap PIPE3 phy for sata
67982082d9SJean-Jacques Hiblot
68982082d9SJean-Jacques Hiblot	  This PHY is found on omap devices supporting SATA such as dra7, am57x
69982082d9SJean-Jacques Hiblot	  and omap5
70982082d9SJean-Jacques Hiblot
71982082d9SJean-Jacques Hiblotconfig SPL_PIPE3_PHY
72982082d9SJean-Jacques Hiblot	bool "Support omap's PIPE3 PHY in SPL"
736b26aaefSJean-Jacques Hiblot	depends on SPL_PHY && ARCH_OMAP2PLUS
74982082d9SJean-Jacques Hiblot	help
75982082d9SJean-Jacques Hiblot	  Support for the omap PIPE3 phy for sata in SPL
76982082d9SJean-Jacques Hiblot
77982082d9SJean-Jacques Hiblot	  This PHY is found on omap devices supporting SATA such as dra7, am57x
78982082d9SJean-Jacques Hiblot	  and omap5
79982082d9SJean-Jacques Hiblot
80*b7ca56dcSPatrice Chotardconfig STI_USB_PHY
81*b7ca56dcSPatrice Chotard	bool "STMicroelectronics USB2 picoPHY driver for STiH407 family"
82*b7ca56dcSPatrice Chotard	depends on PHY && ARCH_STI
83*b7ca56dcSPatrice Chotard	help
84*b7ca56dcSPatrice Chotard	  This is the generic phy driver for the picoPHY ports
85*b7ca56dcSPatrice Chotard	  used by USB2 and USB3 Host controllers available on
86*b7ca56dcSPatrice Chotard	  STiH407 SoC families.
87*b7ca56dcSPatrice Chotard
8872e5016fSJean-Jacques Hiblotendmenu
89