xref: /openbmc/u-boot/drivers/phy/Kconfig (revision 2960e27e)
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
113*2960e27eSNeil Armstrongconfig MESON_GXL_USB_PHY
114*2960e27eSNeil Armstrong	bool "Amlogic Meson GXL USB PHYs"
115*2960e27eSNeil Armstrong	depends on PHY && ARCH_MESON && MESON_GXL
116*2960e27eSNeil Armstrong	imply REGMAP
117*2960e27eSNeil Armstrong	help
118*2960e27eSNeil Armstrong	  This is the generic phy driver for the Amlogic Meson GXL
119*2960e27eSNeil Armstrong	  USB2 and USB3 PHYS.
120*2960e27eSNeil Armstrong
12172e5016fSJean-Jacques Hiblotendmenu
122