arm64: defconfig: Reconfigure ufs-phy configs for kernel 6.1

Due to introduction of bazel build environment, with current
design we have to add all phy modules in every target bzl file
which are built as a CONFIG_PHY_QCOM_UFS_V4.
Define unique configs for individual platform to avoid
including all ufs-phy drivers in every target bzl file.

Change-Id: I3a9f744678b8d3ab5f85a12b04da8aca702e5379
Signed-off-by: Manish Pandey <quic_mapa@quicinc.com>
This commit is contained in:
Manish Pandey 2023-09-28 16:21:31 +05:30
parent 8e5bdd9685
commit 94b8e4b141
9 changed files with 31 additions and 18 deletions

View File

@ -76,7 +76,7 @@ CONFIG_PHY_QCOM_UFS=m
CONFIG_PHY_QCOM_UFS_QRBTC_SDM845=m
CONFIG_PHY_QCOM_UFS_V3_SM4350=m
CONFIG_PHY_QCOM_UFS_V4=m
CONFIG_PHY_QCOM_UFS_V4_SM6375=m
CONFIG_PHY_QCOM_UFS_V4_BLAIR=m
CONFIG_PINCTRL_BLAIR=m
CONFIG_PINCTRL_HOLI=m
CONFIG_PINCTRL_MSM=m

View File

@ -103,6 +103,7 @@ CONFIG_PDR_INDICATION_NOTIF_TIMEOUT=9000
CONFIG_PHY_QCOM_UFS=m
CONFIG_PHY_QCOM_UFS_QRBTC_SDM845=m
CONFIG_PHY_QCOM_UFS_V4=m
CONFIG_PHY_QCOM_UFS_V4_PINEAPPLE=m
CONFIG_PINCTRL_CLIFFS=m
CONFIG_PINCTRL_MSM=m
CONFIG_PINCTRL_PINEAPPLE=m

View File

@ -42,9 +42,6 @@ def define_autogvm():
"drivers/pci/controller/pci-msm-drv.ko",
"drivers/phy/qualcomm/phy-qcom-ufs.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-kalama.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-pineapple.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-waipio.ko",
"drivers/pinctrl/qcom/pinctrl-direwolf.ko",
"drivers/pinctrl/qcom/pinctrl-lemans.ko",
"drivers/pinctrl/qcom/pinctrl-monaco_auto.ko",

View File

@ -88,9 +88,6 @@ def define_blair():
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v3.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-blair.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-kalama.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-pineapple.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-waipio.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qrbtc-sdm845.ko",
"drivers/pinctrl/qcom/pinctrl-blair.ko",
"drivers/pinctrl/qcom/pinctrl-holi.ko",

View File

@ -103,10 +103,35 @@ config PHY_QCOM_UFS_QRBTC_SDM845
No low power mode support is present.
Doesn't restrict number of lanes.
config PHY_QCOM_UFS_V4_SM6375
config PHY_QCOM_UFS_V4_KALAMA
tristate "Qualcomm Technologies, Inc. UFS Kalama Phy Driver"
help
Support for UFS phy present on QCOM kalama chipsets.
This is required to enable UFS on Kalama chipset.
To compile this driver as a module, choose M here.
config PHY_QCOM_UFS_V4_PINEAPPLE
tristate "Qualcomm Technologies, Inc. UFS Pineapple Phy Driver"
help
Support for UFS phy present on QCOM Pineapple chipsets.
This is required to enable UFS on Pineapple chipset.
To compile this driver as a module, choose M here.
config PHY_QCOM_UFS_V4_WAIPIO
tristate "Qualcomm Technologies, Inc. UFS Waipio Phy Driver"
help
Support for UFS phy present on QCOM Waipio chipsets.
This is required to enable UFS on Waipio chipset.
To compile this driver as a module, choose M here.
config PHY_QCOM_UFS_V4_BLAIR
tristate "Qualcomm Technologies, Inc. UFS Blair Phy Driver"
help
Support for UFS phy present on QCOM Blair chipsets.
This is required to enable UFS on Blair chipset.
To compile this driver as a module, choose M here.
endif

View File

@ -6,10 +6,11 @@ obj-$(CONFIG_PHY_QCOM_IPQ4019_USB) += phy-qcom-ipq4019-usb.o
obj-$(CONFIG_PHY_QCOM_IPQ806X_SATA) += phy-qcom-ipq806x-sata.o
obj-$(CONFIG_PHY_QCOM_PCIE2) += phy-qcom-pcie2.o
obj-$(CONFIG_PHY_QCOM_UFS) += phy-qcom-ufs.o
obj-$(CONFIG_PHY_QCOM_UFS_V4) += phy-qcom-ufs-qmp-v4-kalama.o phy-qcom-ufs-qmp-v4-pineapple.o phy-qcom-ufs-qmp-v4.o phy-qcom-ufs-qmp-v4-waipio.o
obj-$(CONFIG_PHY_QCOM_UFS_V4) += phy-qcom-ufs-qmp-v4.o
obj-$(CONFIG_PHY_QCOM_UFS_V3) += phy-qcom-ufs-qmp-v3-660.o
obj-$(CONFIG_PHY_QCOM_UFS_V4_PINEAPPLE) += phy-qcom-ufs-qmp-v4-pineapple.o
obj-$(CONFIG_PHY_QCOM_UFS_QRBTC_SDM845) += phy-qcom-ufs-qrbtc-sdm845.o
obj-$(CONFIG_PHY_QCOM_UFS_V4_SM6375) += phy-qcom-ufs-qmp-v4-blair.o
obj-$(CONFIG_PHY_QCOM_UFS_V4_BLAIR) += phy-qcom-ufs-qmp-v4-blair.o
obj-$(CONFIG_PHY_QCOM_UFS_V3_SM4350) += phy-qcom-ufs-qmp-v3.o
obj-$(CONFIG_PHY_QCOM_QMP) += \

View File

@ -74,9 +74,6 @@ def define_gen3auto():
"drivers/perf/qcom_llcc_pmu.ko",
"drivers/phy/qualcomm/phy-qcom-ufs.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-kalama.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-pineapple.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-waipio.ko",
"drivers/pinctrl/pinctrl-sx150x.ko",
"drivers/pinctrl/qcom/pinctrl-msm.ko",
"drivers/pinctrl/qcom/pinctrl-sdmshrike.ko",

View File

@ -96,9 +96,7 @@ def define_pineapple():
"drivers/perf/qcom_llcc_pmu.ko",
"drivers/phy/qualcomm/phy-qcom-ufs.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-kalama.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-pineapple.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-waipio.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qrbtc-sdm845.ko",
"drivers/pinctrl/qcom/pinctrl-cliffs.ko",
"drivers/pinctrl/qcom/pinctrl-msm.ko",

View File

@ -61,9 +61,6 @@ def define_sdmsteppeauto():
"drivers/phy/qualcomm/phy-qcom-ufs.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v3-660.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-kalama.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-pineapple.ko",
"drivers/phy/qualcomm/phy-qcom-ufs-qmp-v4-waipio.ko",
"drivers/pinctrl/pinctrl-sx150x.ko",
"drivers/pinctrl/qcom/pinctrl-msm.ko",
"drivers/pinctrl/qcom/pinctrl-slpi.ko",