[PATCH v2] phy: PHY_GOOGLE_USB should depend on ARCH_GOOGLE
Geert Uytterhoeven
geert+renesas at glider.be
Tue Oct 20 05:27:51 PDT 2026
The Google Tensor SoC USB PHY is only present on Google Tensor G5
(Laguna) SoCs. Hence add a dependency on ARCH_GOOGLE, to prevent asking
the user about this driver when configuring a kernel without Google
Tensor SoC support.
Fixes: cbce66669c82ee9a ("phy: Add Google Tensor SoC USB PHY driver")
Signed-off-by: Geert Uytterhoeven <geert+renesas at glider.be>
---
v2:
- ARCH_GOOGLE exists as of commit cf3df78629f24b40 ("arm64: dts:
google: Add dts directory for Google-designed silicon") in
soc/for-next.
---
drivers/phy/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig
index 105fbe408aa25b35..d151c05297d7e57a 100644
--- a/drivers/phy/Kconfig
+++ b/drivers/phy/Kconfig
@@ -93,6 +93,7 @@ config PHY_ECONET_PCIE
config PHY_GOOGLE_USB
tristate "Google Tensor SoC USB PHY driver"
+ depends on ARCH_GOOGLE || COMPILE_TEST
select GENERIC_PHY
depends on TYPEC
help
--
2.43.0
More information about the linux-phy
mailing list