summaryrefslogtreecommitdiffstats
path: root/drivers/phy/broadcom
diff options
context:
space:
mode:
authorRafał Miłecki <rafal@milecki.pl>2021-03-05 16:24:06 +0100
committerVinod Koul <vkoul@kernel.org>2021-03-15 15:58:24 +0530
commit261ab1fd5c5d2d7ff7d5bab3f5db3c69c4bcea58 (patch)
tree05bfd1c99bd96acf02e1ccd0922336ec5cb29044 /drivers/phy/broadcom
parentd0dde32dda5dd63a785f1b0d4a56055110f00e37 (diff)
downloadlinux-261ab1fd5c5d2d7ff7d5bab3f5db3c69c4bcea58.tar.gz
linux-261ab1fd5c5d2d7ff7d5bab3f5db3c69c4bcea58.tar.xz
phy: phy-brcm-usb: select SOC_BRCMSTB on brcmstb only
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") Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20210305152406.2588-1-zajec5@gmail.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/phy/broadcom')
-rw-r--r--drivers/phy/broadcom/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/phy/broadcom/Kconfig b/drivers/phy/broadcom/Kconfig
index 09256339bd04..fd92b73b7109 100644
--- a/drivers/phy/broadcom/Kconfig
+++ b/drivers/phy/broadcom/Kconfig
@@ -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