mirror of
https://github.com/torvalds/linux.git
synced 2026-03-14 02:06:15 +01:00
The driver start registering a regulator, but can still be
enabled even when it is unable to call into the regulator
subsystem:
aarch64-linux-ld: drivers/phy/renesas/phy-rcar-gen3-usb2.o: in function `rcar_gen3_phy_usb2_probe':
phy-rcar-gen3-usb2.c:(.text+0x2884): undefined reference to `devm_regulator_register'
Add a Kconfig dependency to avoid this configuration.
Fixes: b6d7dd1577 ("phy: renesas: rcar-gen3-usb2: Add regulator for OTG VBUS control")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Tested-by: Tommaso Merciai <tommaso.merciai.xr@bp.renesas.com>
Link: https://patch.msgid.link/20260202095118.1233046-1-arnd@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
51 lines
1.5 KiB
Text
51 lines
1.5 KiB
Text
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Phy drivers for Renesas platforms
|
|
#
|
|
# NOTE: Please sorted config names alphabetically.
|
|
config PHY_R8A779F0_ETHERNET_SERDES
|
|
tristate "Renesas R-Car S4-8 Ethernet SERDES driver"
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
select GENERIC_PHY
|
|
help
|
|
Support for Ethernet SERDES found on Renesas R-Car S4-8 SoCs.
|
|
|
|
config PHY_RCAR_GEN2
|
|
tristate "Renesas R-Car generation 2 USB PHY driver"
|
|
depends on ARCH_RENESAS
|
|
select GENERIC_PHY
|
|
help
|
|
Support for USB PHY found on Renesas R-Car generation 2 SoCs.
|
|
|
|
config PHY_RCAR_GEN3_PCIE
|
|
tristate "Renesas R-Car generation 3 PCIe PHY driver"
|
|
depends on ARCH_RENESAS
|
|
select GENERIC_PHY
|
|
help
|
|
Support for the PCIe PHY found on Renesas R-Car generation 3 SoCs.
|
|
|
|
config PHY_RCAR_GEN3_USB2
|
|
tristate "Renesas R-Car generation 3 USB 2.0 PHY driver"
|
|
depends on ARCH_RENESAS
|
|
depends on EXTCON || !EXTCON # if EXTCON=m, this cannot be built-in
|
|
depends on USB_SUPPORT
|
|
depends on REGULATOR
|
|
select GENERIC_PHY
|
|
select MULTIPLEXER
|
|
select USB_COMMON
|
|
help
|
|
Support for USB 2.0 PHY found on Renesas R-Car generation 3 SoCs.
|
|
|
|
config PHY_RCAR_GEN3_USB3
|
|
tristate "Renesas R-Car generation 3 USB 3.0 PHY driver"
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
select GENERIC_PHY
|
|
help
|
|
Support for USB 3.0 PHY found on Renesas R-Car generation 3 SoCs.
|
|
|
|
config PHY_RZ_G3E_USB3
|
|
tristate "Renesas RZ/G3E USB 3.0 PHY driver"
|
|
depends on ARCH_RENESAS || COMPILE_TEST
|
|
select GENERIC_PHY
|
|
help
|
|
Support for USB 3.0 PHY found on Renesas RZ/G3E SoCs.
|