arm64: defconfig: remove some Qualcomm USB options
cover arm64: defconfig: remove some Qualcomm USB options
This series deletes three config options related to USB on Qualcomm SoCs from the arm64 "defconfig". The code enabled by the options is no longer needed by any Qualcomm hardware.
-Alex
Alex Elder (3):
arm64: defconfig: remove CONFIG_USB_EHCI_MSM
arm64: defconfig: remove CONFIG_USB_MSM_OTG
arm64: defconfig: remove CONFIG_USB_QCOM_8X16_PHY
arch/arm64/configs/defconfig | 3 --- 1 file changed, 3 deletions(-)
Signature · 1 line
2.11.0
PATCH 1/3 arm64: defconfig: remove CONFIG_USB_EHCI_MSM
No Qualcomm SoC requires the "ehci-msm.c" code any more. So remove the code, and remove the config option from the arm64 defconfig.
--- arch/arm64/configs/defconfig | 1 - 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
@@ -410,7 +410,6 @@ CONFIG_USB_OTG=y CONFIG_USB_XHCI_HCD=y CONFIG_USB_XHCI_TEGRA=y CONFIG_USB_EHCI_HCD=y -CONFIG_USB_EHCI_MSM=y CONFIG_USB_EHCI_EXYNOS=y CONFIG_USB_EHCI_HCD_PLATFORM=y CONFIG_USB_OHCI_HCD=y
Signature · 1 line
2.11.0
PATCH 2/3 arm64: defconfig: remove CONFIG_USB_MSM_OTG
In reply to Alex ElderNo Qualcomm SoC requires the "phy-msm-usb.c" USB phy driver support any more. Remove the code, and remove the config option from the arm64 defconfig.
--- arch/arm64/configs/defconfig | 1 - 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
@@ -425,7 +425,6 @@ CONFIG_USB_CHIPIDEA_HOST=y CONFIG_USB_ISP1760=y CONFIG_USB_HSIC_USB3503=y CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_MSM_OTG=y CONFIG_USB_QCOM_8X16_PHY=y CONFIG_USB_ULPI=y CONFIG_USB_GADGET=y
Signature · 1 line
2.11.0
PATCH 3/3 arm64: defconfig: remove CONFIG_USB_QCOM_8X16_PHY
In reply to Alex ElderNo Qualcomm SoC requires the "phy-qcom-8x16-usb.c" USB phy driver support any more. Remove the code, and remove the config option from the arm64 defconfig.
--- arch/arm64/configs/defconfig | 1 - 1 file changed, 1 deletion(-)
arch/arm64/configs/defconfig +0 -1
@@ -425,7 +425,6 @@ CONFIG_USB_CHIPIDEA_HOST=y CONFIG_USB_ISP1760=y CONFIG_USB_HSIC_USB3503=y CONFIG_NOP_USB_XCEIV=y -CONFIG_USB_QCOM_8X16_PHY=y CONFIG_USB_ULPI=y CONFIG_USB_GADGET=y CONFIG_USB_RENESAS_USBHS_UDC=m
Signature · 1 line
2.11.0
Quoted 5 lines · Alex Elder
This series deletes three config options related to USB on Qualcomm SoCs from the arm64 "defconfig". The code enabled by the options is no longer needed by any Qualcomm hardware.
-Alex
Shouldn't we remove the driver code too in the case that no HW actually uses it?
Quoted 7 lines
Alex Elder (3):
arm64: defconfig: removeCONFIG_USB_EHCI_MSM
arm64: defconfig: removeCONFIG_USB_MSM_OTG
arm64: defconfig: removeCONFIG_USB_QCOM_8X16_PHYarch/arm64/configs/defconfig | 3 --- 1 file changed, 3 deletions(-)
Quoted 9 lines · Amit Kucheria
Quoted 5 lines · Alex Elder
This series deletes three config options related to USB on Qualcomm SoCs from the arm64 "defconfig". The code enabled by the options is no longer needed by any Qualcomm hardware.
-Alex
Shouldn't we remove the driver code too in the case that no HW actually uses it?
Nevermind, I just found the other thread that removes the actual driver code.
FWIW, for the entire series, feel free to add my Reviewed-by.