xref: /openbmc/u-boot/drivers/phy/Kconfig (revision 3b63db37)
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
44*3b63db37SJean-Jacques Hiblotconfig NOP_PHY
45*3b63db37SJean-Jacques Hiblot	bool "NOP PHY driver"
46*3b63db37SJean-Jacques Hiblot	depends on PHY
47*3b63db37SJean-Jacques Hiblot	help
48*3b63db37SJean-Jacques Hiblot	  Support for a no-op PHY driver (stubbed PHY driver).
49*3b63db37SJean-Jacques Hiblot
50*3b63db37SJean-Jacques Hiblot	  This is useful when a driver uses the PHY framework but no real PHY
51*3b63db37SJean-Jacques Hiblot	  hardware exists.
52*3b63db37SJean-Jacques Hiblot
53*3b63db37SJean-Jacques Hiblotconfig SPL_NOP_PHY
54*3b63db37SJean-Jacques Hiblot	bool "NOP PHY driver in SPL"
55*3b63db37SJean-Jacques Hiblot	depends on SPL_PHY
56*3b63db37SJean-Jacques Hiblot	help
57*3b63db37SJean-Jacques Hiblot	  Support for a no-op PHY driver (stubbed PHY driver) in the SPL.
58*3b63db37SJean-Jacques Hiblot
59*3b63db37SJean-Jacques Hiblot	  This is useful when a driver uses the PHY framework but no real PHY
60*3b63db37SJean-Jacques Hiblot	  hardware exists.
61*3b63db37SJean-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
8072e5016fSJean-Jacques Hiblotendmenu
81