[PATCH] arm64: defconfig: Enable Qualcomm UFS and QMP UFS PHY drivers as built-in

From: Shawn Guo

Date: Thu Apr 16 2026 - 23:55:38 EST


UFS is the primary storage for Linux rootfs across the breadth of
Qualcomm development boards - Mobile, Automotive and IoT. With
Qualcomm UFS host controller driver (SCSI_UFS_QCOM) and the UFS PHY
driver (PHY_QCOM_QMP_UFS) as modules, developers need an initramfs
to boot from UFS, which adds friction to daily development workflows.
Promote both to built-in to allow booting directly from UFS without
an initramfs.

PHY_QCOM_QMP is a menuconfig umbrella for all Qualcomm QMP PHY drivers.
Setting it to built-in is required to allow any of its sub-drivers to be
built-in. Since only the UFS PHY (PHY_QCOM_QMP_UFS) needs to be
built-in for the rootfs use case, the PCIe and USB sub-drivers
(PHY_QCOM_QMP_PCIE, PHY_QCOM_QMP_PCIE_8996, PHY_QCOM_QMP_USB) are
explicitly set to module to avoid unnecessarily inflating the kernel
image. The combo PHY sub-driver (PHY_QCOM_QMP_COMBO) is naturally
capped at module by its dependencies on TYPEC=m and DRM=m.

Signed-off-by: Shawn Guo <shengchao.guo@xxxxxxxxxxxxxxxx>
---
arch/arm64/configs/defconfig | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig
index dd1ac01ee29b..f6ac2d29cbdf 100644
--- a/arch/arm64/configs/defconfig
+++ b/arch/arm64/configs/defconfig
@@ -1316,7 +1316,7 @@ CONFIG_SCSI_UFSHCD=y
CONFIG_SCSI_UFS_BSG=y
CONFIG_SCSI_UFSHCD_PLATFORM=y
CONFIG_SCSI_UFS_CDNS_PLATFORM=m
-CONFIG_SCSI_UFS_QCOM=m
+CONFIG_SCSI_UFS_QCOM=y
CONFIG_SCSI_UFS_MEDIATEK=y
CONFIG_SCSI_UFS_HISI=y
CONFIG_SCSI_UFS_RENESAS=m
@@ -1783,7 +1783,10 @@ CONFIG_PHY_MTK_MIPI_DSI=m
CONFIG_PHY_MTK_DP=m
CONFIG_PHY_QCOM_EDP=m
CONFIG_PHY_QCOM_PCIE2=m
-CONFIG_PHY_QCOM_QMP=m
+CONFIG_PHY_QCOM_QMP=y
+CONFIG_PHY_QCOM_QMP_PCIE=m
+CONFIG_PHY_QCOM_QMP_PCIE_8996=m
+CONFIG_PHY_QCOM_QMP_USB=m
CONFIG_PHY_QCOM_QUSB2=m
CONFIG_PHY_QCOM_EUSB2_REPEATER=m
CONFIG_PHY_QCOM_M31_USB=m
--
2.43.0