Skip to content

Commit 8a13968

Browse files
arndbvinodkoul
authored andcommitted
phy: GOOGLE_USB: add TYPEC dependency
With CONFIG_TYPEC=m, this driver cannot be built-in: arm-linux-gnueabi/bin/arm-linux-gnueabi-ld: drivers/phy/phy-google-usb.o: in function `google_usb_phy_remove': phy-google-usb.c:(.text+0x24): undefined reference to `typec_switch_unregister' Add CONFIG_TYPEC as a hard dependency here to force a clean build. In theory, compile-testing with CONFIG_TYPEC=n would also work, but that seems pointless. Fixes: cbce666 ("phy: Add Google Tensor SoC USB PHY driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://patch.msgid.link/20260202095655.1289973-1-arnd@kernel.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 3ddcd24 commit 8a13968

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/phy/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ config GENERIC_PHY_MIPI_DPHY
5050
config PHY_GOOGLE_USB
5151
tristate "Google Tensor SoC USB PHY driver"
5252
select GENERIC_PHY
53+
depends on TYPEC
5354
help
5455
Enable support for the USB PHY on Google Tensor SoCs, starting with
5556
the G5 generation (Laguna). This driver provides the PHY interfaces

0 commit comments

Comments
 (0)