Skip to contentSkip to conversation

phy; qcom: Rework Kconfig logic around MSM8916_USB_PHY

PATCH Applied Tom Rini 3 participants 5 messages Oct 3, 2025 – Oct 30, 2025

Subsystems (2)
lore
Share & tools
lore

Tom Rini

author
#0 lore raw

PATCH 1/1 phy; qcom: Rework Kconfig logic around MSM8916_USB_PHY

This PHY driver is required by USB_EHCI_MSM and not useful on its own. Rather than have it be a prompted option, it should (and currently is) select'd by USB_EHCI_MSM. Remove the prompt for this option and then correct the dependency chain (it must select PHY).

---
Cc: Casey Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: [email protected]

---
 drivers/phy/qcom/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/phy/qcom/Kconfig +3 -3
index 61e5e2fca413..0dd69f7ffd0c 100644
@@ -1,8 +1,8 @@
 config MSM8916_USB_PHY
-	bool "Qualcomm MSM8916 USB PHY support"
-	depends on PHY
+	bool
+	select PHY
 	help
-          Support the USB PHY in msm8916
+          Support the Qualcomm MSM8916 USB PHY
 
 	  This PHY is found on qualcomm dragonboard410c development board.
 
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw
Quoted 6 lines · Tom Rini

This PHY driver is required by USB_EHCI_MSM and not useful on its own. Rather than have it be a prompted option, it should (and currently is) select'd by USB_EHCI_MSM. Remove the prompt for this option and then correct the dependency chain (it must select PHY).

Quoted 25 lines

---
Cc: Casey Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: [email protected]

---
  drivers/phy/qcom/Kconfig | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
drivers/phy/qcom/Kconfig +3 -3
index 61e5e2fca413..0dd69f7ffd0c 100644
@@ -1,8 +1,8 @@
  config MSM8916_USB_PHY
-	bool "Qualcomm MSM8916 USB PHY support"
-	depends on PHY
+	bool
+	select PHY
  	help
-          Support the USB PHY in msm8916
+          Support the Qualcomm MSM8916 USB PHY
 
  	  This PHY is found on qualcomm dragonboard410c development board.
 
#2 lore raw
In reply to Tom Rini
Quoted 4 lines · Tom Rini

This PHY driver is required by USB_EHCI_MSM and not useful on its own. Rather than have it be a prompted option, it should (and currently is) select'd by USB_EHCI_MSM. Remove the prompt for this option and then correct the dependency chain (it must select PHY).

Subject has ";" instead of ":".

Neil

Quoted 27 lines

---
Cc: Casey Connolly <[email protected]>
Cc: Neil Armstrong <[email protected]>
Cc: Sumit Garg <[email protected]>
Cc: [email protected]

---
  drivers/phy/qcom/Kconfig | 6 +++---
  1 file changed, 3 insertions(+), 3 deletions(-)
drivers/phy/qcom/Kconfig +3 -3
index 61e5e2fca413..0dd69f7ffd0c 100644
@@ -1,8 +1,8 @@
  config MSM8916_USB_PHY
-	bool "Qualcomm MSM8916 USB PHY support"
-	depends on PHY
+	bool
+	select PHY
  	help
-          Support the USB PHY in msm8916
+          Support the Qualcomm MSM8916 USB PHY
 
  	  This PHY is found on qualcomm dragonboard410c development board.
 
author
#3 lore raw
Quoted 7 lines · Neil Armstrong
Quoted 4 lines · Tom Rini

This PHY driver is required by USB_EHCI_MSM and not useful on its own. Rather than have it be a prompted option, it should (and currently is) select'd by USB_EHCI_MSM. Remove the prompt for this option and then correct the dependency chain (it must select PHY).

Subject has ";" instead of ":".

Fix that when applying please? Thanks.

Signature · 1 line
Tom
#4 lore raw
In reply to Tom Rini
Quoted 6 lines · Tom Rini

This PHY driver is required by USB_EHCI_MSM and not useful on its own. Rather than have it be a prompted option, it should (and currently is) select'd by USB_EHCI_MSM. Remove the prompt for this option and then correct the dependency chain (it must select PHY).

Applied, thanks!

[1/1] phy; qcom: Rework Kconfig logic around MSM8916_USB_PHY

      https://source.denx.de/u-boot/custodians/u-boot-snapdragon/-/commit/603b45b0f118

Best regards,

Signature · 1 line
// Caleb (they/them)