1# SPDX-License-Identifier: GPL-2.0-only
2#
3# Phy drivers for Cadence PHYs
4#
5
6config PHY_CADENCE_TORRENT
7	tristate "Cadence Torrent PHY driver"
8	depends on OF
9	depends on HAS_IOMEM
10	depends on COMMON_CLK
11	select GENERIC_PHY
12	help
13	  Support for Cadence Torrent PHY.
14
15config PHY_CADENCE_DPHY
16	tristate "Cadence D-PHY Support"
17	depends on HAS_IOMEM && OF
18	select GENERIC_PHY
19	select GENERIC_PHY_MIPI_DPHY
20	help
21	  Choose this option if you have a Cadence D-PHY in your
22	  system. If M is selected, the module will be called
23	  cdns-dphy.
24
25config PHY_CADENCE_DPHY_RX
26	tristate "Cadence D-PHY Rx Support"
27	depends on HAS_IOMEM && OF
28	select GENERIC_PHY
29	select GENERIC_PHY_MIPI_DPHY
30	help
31	  Support for Cadence D-PHY in Rx configuration.
32
33config PHY_CADENCE_SIERRA
34	tristate "Cadence Sierra PHY Driver"
35	depends on OF && HAS_IOMEM && RESET_CONTROLLER
36	depends on COMMON_CLK
37	select GENERIC_PHY
38	help
39	  Enable this to support the Cadence Sierra PHY driver
40
41config PHY_CADENCE_SALVO
42	tristate "Cadence Salvo PHY Driver"
43	depends on OF && HAS_IOMEM
44	select GENERIC_PHY
45	help
46	  Enable this to support the Cadence SALVO PHY driver,
47	  this PHY is a legacy PHY, and only are used for USB3
48	  and USB2.
49