Skip to contentSkip to conversation

phy: phy-brcm-usb: select SOC_BRCMSTB on brcmstb only

PATCH Applied Rafał Miłecki 3 participants 4 messages Mar 5, 2021 – Mar 15, 2021 Generic PHY framework

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 phy: phy-brcm-usb: select SOC_BRCMSTB on brcmstb only

From: Rafał Miłecki <[email protected]>

phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.

For ARCH_BCM4908 brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.

Depends-on: 149ae80b1d50 ("soc: bcm: brcmstb: add stubs for getting platform IDs")

---
 drivers/phy/broadcom/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/broadcom/Kconfig +1 -1
index 09256339bd04..fd92b73b7109 100644
@@ -94,7 +94,7 @@ config PHY_BRCM_USB
 	depends on ARCH_BCM4908 || ARCH_BRCMSTB || COMPILE_TEST
 	depends on OF
 	select GENERIC_PHY
-	select SOC_BRCMSTB
+	select SOC_BRCMSTB if ARCH_BRCMSTB
 	default ARCH_BCM4908
 	default ARCH_BRCMSTB
 	help
Signature · 7 lines
2.26.2


-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
Acked-by on v1 1/1
#1 lore raw
Quoted 11 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.

For ARCH_BCM4908 brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.

Depends-on: 149ae80b1d50 ("soc: bcm: brcmstb: add stubs for getting platform IDs")

Signature · 6 lines
Florian

-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
#2 lore raw
In reply to Rafał Miłecki

Sending reply-to-all after subscribing to the linux-phy@ ML.

Quoted 29 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.

For ARCH_BCM4908 brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.

Depends-on: 149ae80b1d50 ("soc: bcm: brcmstb: add stubs for getting platform IDs")

---
  drivers/phy/broadcom/Kconfig | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/phy/broadcom/Kconfig +1 -1
index 09256339bd04..fd92b73b7109 100644
@@ -94,7 +94,7 @@ config PHY_BRCM_USB
  	depends on ARCH_BCM4908 || ARCH_BRCMSTB || COMPILE_TEST
  	depends on OF
  	select GENERIC_PHY
-	select SOC_BRCMSTB
+	select SOC_BRCMSTB if ARCH_BRCMSTB
  	default ARCH_BCM4908
  	default ARCH_BRCMSTB
  	help
Signature · 3 lines
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy
maintainer Applied
#3 lore raw
In reply to Rafał Miłecki
Quoted 8 lines · Rafał Miłecki

From: Rafał Miłecki <[email protected]>

phy-brcm-usb has some conditional init code required on selected brcmstb devices. Execution of that code depends on family / product detected by brcmstb soc code.

For ARCH_BCM4908 brcmstb soc code always return 0 values as ids. Don't bother selecting & compiling that redundant driver.

Applied, thanks

Signature · 6 lines
~Vinod

-- 
linux-phy mailing list
[email protected]
https://lists.infradead.org/mailman/listinfo/linux-phy