Re: [PATCH next v2] phy: google: fix build dependency for Google Tensor USB PHY
From: Vinod Koul <vkoul@kernel.org>
Date: 2026-02-04 15:18:29
Also in:
linux-phy, linux-samsung-soc, lkml
From: Vinod Koul <vkoul@kernel.org>
Date: 2026-02-04 15:18:29
Also in:
linux-phy, linux-samsung-soc, lkml
On 28-01-26, 21:22, Roy Luo wrote:
The Google Tensor USB PHY driver uses the Type-C switch framework to handle orientation changes. However, the Kconfig did not specify a dependency on the TYPEC framework, leading to undefined reference errors when building for architectures or configurations where CONFIG_TYPEC is configured as a module while CONFIG_PHY_GOOGLE_USB is configured as built-in. Add 'depends on TYPEC' to the PHY_GOOGLE_USB entry to ensure all required symbols are available during linking, and 'COMPILE_TEST' to expand test coverage.
Thanks for the fix, looking at three patches for this, I like Arnd's fix better and have applied that now -- ~Vinod