mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-03-03 18:28:01 +01:00
Kconfig option CONFIG_PHY_COMMON_PROPS, which builds
drivers/phy/phy-common-props.c, was intended to be selectable
independently of CONFIG_GENERIC_PHY. Yet it lives in drivers/phy/, which
is entered by the Makefile only if CONFIG_GENERIC_PHY is set.
Allow the Makefile to enter one level deeper, but stop at drivers/phy/
if CONFIG_GENERIC_PHY is unselected (i.e. do not enter vendor folders).
The other stuff from drivers/phy/Makefile except for CONFIG_PHY_COMMON_PROPS,
like CONFIG_PHY_NXP_PTN3222, all depends on CONFIG_GENERIC_PHY.
Fixes: e7556b59ba ("phy: add phy_get_rx_polarity() and phy_get_tx_polarity()")
Closes: https://lore.kernel.org/lkml/43ea0202-891d-4582-980b-5cb557b41114@linux.ibm.com/
Reported-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Debugged-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Christophe Leroy (CS GROUP) <chleroy@kernel.org>
Tested-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com>
Link: https://patch.msgid.link/20260123110600.3118561-1-vladimir.oltean@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the phy drivers.
|
|
#
|
|
|
|
obj-$(CONFIG_PHY_COMMON_PROPS) += phy-common-props.o
|
|
obj-$(CONFIG_PHY_COMMON_PROPS_TEST) += phy-common-props-test.o
|
|
obj-$(CONFIG_GENERIC_PHY) += phy-core.o
|
|
obj-$(CONFIG_GENERIC_PHY_MIPI_DPHY) += phy-core-mipi-dphy.o
|
|
obj-$(CONFIG_PHY_CAN_TRANSCEIVER) += phy-can-transceiver.o
|
|
obj-$(CONFIG_PHY_GOOGLE_USB) += phy-google-usb.o
|
|
obj-$(CONFIG_PHY_LPC18XX_USB_OTG) += phy-lpc18xx-usb-otg.o
|
|
obj-$(CONFIG_PHY_XGENE) += phy-xgene.o
|
|
obj-$(CONFIG_PHY_PISTACHIO_USB) += phy-pistachio-usb.o
|
|
obj-$(CONFIG_PHY_SNPS_EUSB2) += phy-snps-eusb2.o
|
|
obj-$(CONFIG_USB_LGM_PHY) += phy-lgm-usb.o
|
|
obj-$(CONFIG_PHY_AIROHA_PCIE) += phy-airoha-pcie.o
|
|
obj-$(CONFIG_PHY_NXP_PTN3222) += phy-nxp-ptn3222.o
|
|
obj-$(CONFIG_PHY_SPACEMIT_K1_PCIE) += phy-spacemit-k1-pcie.o
|
|
obj-$(CONFIG_GENERIC_PHY) += allwinner/ \
|
|
amlogic/ \
|
|
apple/ \
|
|
broadcom/ \
|
|
cadence/ \
|
|
freescale/ \
|
|
hisilicon/ \
|
|
ingenic/ \
|
|
intel/ \
|
|
lantiq/ \
|
|
marvell/ \
|
|
mediatek/ \
|
|
microchip/ \
|
|
motorola/ \
|
|
mscc/ \
|
|
nuvoton/ \
|
|
qualcomm/ \
|
|
ralink/ \
|
|
realtek/ \
|
|
renesas/ \
|
|
rockchip/ \
|
|
samsung/ \
|
|
socionext/ \
|
|
sophgo/ \
|
|
spacemit/ \
|
|
st/ \
|
|
starfive/ \
|
|
sunplus/ \
|
|
tegra/ \
|
|
ti/ \
|
|
xilinx/
|