Skip to contentSkip to conversation

arm64: defconfig: remove some Qualcomm USB options

PATCH Superseded Alex Elder 2 participants 6 messages Oct 25, 2017 – Oct 30, 2017 Arm Qualcomm mailing list

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Alex Elder

author
#0 lore raw

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
author
#1 lore raw

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
index 34480e9af2e7..4d0b96bb340a 100644
@@ -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
author
#2 lore raw

PATCH 2/3 arm64: defconfig: remove CONFIG_USB_MSM_OTG

In reply to Alex Elder

No 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
index 4d0b96bb340a..85ca53f59c3e 100644
@@ -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
author
#3 lore raw

PATCH 3/3 arm64: defconfig: remove CONFIG_USB_QCOM_8X16_PHY

In reply to Alex Elder

No 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
index 85ca53f59c3e..22ca89e58d9d 100644
@@ -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
#4 lore raw
In reply to Alex Elder
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: 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(-)
#5 lore raw
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.