Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

phy: move spacemit pcie driver to its subfolder

Commit fe4bc1a08638 ("phy: spacemit: support K1 USB2.0 PHY controller")
created spacemit subfolder with usb driver while commit 57e920b92724
("phy: spacemit: Introduce PCIe/combo PHY") added pcie driver in phy
folder. Move latter into spacemit subfolder and rename file to
phy-k1-pcie.c

Reviewed-by: Alex Elder <elder@riscstar.com>
Reviewed-by: Yixun Lan <dlan@kernel.org>
Link: https://patch.msgid.link/20260223064240.386617-1-vkoul@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

+13 -13
-12
drivers/phy/Kconfig
··· 134 134 schemes. It supports all three USB 2.0 data rates: Low Speed, Full 135 135 Speed and High Speed. 136 136 137 - config PHY_SPACEMIT_K1_PCIE 138 - tristate "PCIe and combo PHY driver for the SpacemiT K1 SoC" 139 - depends on ARCH_SPACEMIT || COMPILE_TEST 140 - depends on COMMON_CLK 141 - depends on HAS_IOMEM 142 - depends on OF 143 - select GENERIC_PHY 144 - default ARCH_SPACEMIT 145 - help 146 - Enable support for the PCIe and USB 3 combo PHY and two 147 - PCIe-only PHYs used in the SpacemiT K1 SoC. 148 - 149 137 source "drivers/phy/allwinner/Kconfig" 150 138 source "drivers/phy/amlogic/Kconfig" 151 139 source "drivers/phy/apple/Kconfig"
-1
drivers/phy/Makefile
··· 16 16 obj-$(CONFIG_USB_LGM_PHY) += phy-lgm-usb.o 17 17 obj-$(CONFIG_PHY_AIROHA_PCIE) += phy-airoha-pcie.o 18 18 obj-$(CONFIG_PHY_NXP_PTN3222) += phy-nxp-ptn3222.o 19 - obj-$(CONFIG_PHY_SPACEMIT_K1_PCIE) += phy-spacemit-k1-pcie.o 20 19 obj-$(CONFIG_GENERIC_PHY) += allwinner/ \ 21 20 amlogic/ \ 22 21 apple/ \
drivers/phy/phy-spacemit-k1-pcie.c drivers/phy/spacemit/phy-k1-pcie.c
+12
drivers/phy/spacemit/Kconfig
··· 2 2 # 3 3 # Phy drivers for SpacemiT platforms 4 4 # 5 + config PHY_SPACEMIT_K1_PCIE 6 + tristate "PCIe and combo PHY driver for the SpacemiT K1 SoC" 7 + depends on ARCH_SPACEMIT || COMPILE_TEST 8 + depends on COMMON_CLK 9 + depends on HAS_IOMEM 10 + depends on OF 11 + select GENERIC_PHY 12 + default ARCH_SPACEMIT 13 + help 14 + Enable support for the PCIe and USB 3 combo PHY and two 15 + PCIe-only PHYs used in the SpacemiT K1 SoC. 16 + 5 17 config PHY_SPACEMIT_K1_USB2 6 18 tristate "SpacemiT K1 USB 2.0 PHY support" 7 19 depends on (ARCH_SPACEMIT || COMPILE_TEST) && OF
+1
drivers/phy/spacemit/Makefile
··· 1 1 # SPDX-License-Identifier: GPL-2.0-only 2 + obj-$(CONFIG_PHY_SPACEMIT_K1_PCIE) += phy-k1-pcie.o 2 3 obj-$(CONFIG_PHY_SPACEMIT_K1_USB2) += phy-k1-usb2.o