treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / drivers / phy / broadcom / Kconfig
blobb29f11c191551c4168b9db95f98d34266b715d43
1 # SPDX-License-Identifier: GPL-2.0-only
3 # Phy drivers for Broadcom platforms
5 config PHY_CYGNUS_PCIE
6         tristate "Broadcom Cygnus PCIe PHY driver"
7         depends on OF && (ARCH_BCM_CYGNUS || COMPILE_TEST)
8         select GENERIC_PHY
9         default ARCH_BCM_CYGNUS
10         help
11           Enable this to support the Broadcom Cygnus PCIe PHY.
12           If unsure, say N.
14 config PHY_BCM_SR_USB
15         tristate "Broadcom Stingray USB PHY driver"
16         depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
17         select GENERIC_PHY
18         default ARCH_BCM_IPROC
19         help
20           Enable this to support the Broadcom Stingray USB PHY
21           driver. It supports all versions of Superspeed and
22           Highspeed PHYs.
23           If unsure, say N.
25 config BCM_KONA_USB2_PHY
26         tristate "Broadcom Kona USB2 PHY Driver"
27         depends on HAS_IOMEM
28         select GENERIC_PHY
29         help
30           Enable this to support the Broadcom Kona USB 2.0 PHY.
32 config PHY_BCM_NS_USB2
33         tristate "Broadcom Northstar USB 2.0 PHY Driver"
34         depends on ARCH_BCM_IPROC || COMPILE_TEST
35         depends on HAS_IOMEM && OF
36         select GENERIC_PHY
37         help
38           Enable this to support Broadcom USB 2.0 PHY connected to the USB
39           controller on Northstar family.
41 config PHY_BCM_NS_USB3
42         tristate "Broadcom Northstar USB 3.0 PHY Driver"
43         depends on ARCH_BCM_IPROC || COMPILE_TEST
44         depends on HAS_IOMEM && OF
45         depends on MDIO_BUS
46         select GENERIC_PHY
47         help
48           Enable this to support Broadcom USB 3.0 PHY connected to the USB
49           controller on Northstar family.
51 config PHY_NS2_PCIE
52         tristate "Broadcom Northstar2 PCIe PHY driver"
53         depends on (OF && MDIO_BUS_MUX_BCM_IPROC) || (COMPILE_TEST && MDIO_BUS)
54         select GENERIC_PHY
55         default ARCH_BCM_IPROC
56         help
57           Enable this to support the Broadcom Northstar2 PCIe PHY.
58           If unsure, say N.
60 config PHY_NS2_USB_DRD
61         tristate "Broadcom Northstar2 USB DRD PHY support"
62         depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
63         select GENERIC_PHY
64         select EXTCON
65         default ARCH_BCM_IPROC
66         help
67           Enable this to support the Broadcom Northstar2 USB DRD PHY.
68           This driver initializes the PHY in either HOST or DEVICE mode.
69           The host or device configuration is read from device tree.
71           If unsure, say N.
73 config PHY_BRCM_SATA
74         tristate "Broadcom SATA PHY driver"
75         depends on ARCH_BRCMSTB || ARCH_BCM_IPROC || BMIPS_GENERIC || \
76                    ARCH_BCM_63XX || COMPILE_TEST
77         depends on OF
78         select GENERIC_PHY
79         default ARCH_BCM_IPROC
80         help
81           Enable this to support the Broadcom SATA PHY.
82           If unsure, say N.
84 config PHY_BRCM_USB
85         tristate "Broadcom STB USB PHY driver"
86         depends on ARCH_BRCMSTB || COMPILE_TEST
87         depends on OF
88         select GENERIC_PHY
89         select SOC_BRCMSTB
90         default ARCH_BRCMSTB
91         help
92           Enable this to support the Broadcom STB USB PHY.
93           This driver is required by the USB XHCI, EHCI and OHCI
94           drivers.
95           If unsure, say N.
97 config PHY_BCM_SR_PCIE
98         tristate "Broadcom Stingray PCIe PHY driver"
99         depends on OF && (ARCH_BCM_IPROC || COMPILE_TEST)
100         select GENERIC_PHY
101         select MFD_SYSCON
102         default ARCH_BCM_IPROC
103         help
104           Enable this to support the Broadcom Stingray PCIe PHY
105           If unsure, say N.