[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <9936b5bd5f1e19f65c199d36ce54bb0af0e44b85.camel@linaro.org>
Date: Wed, 28 Jan 2026 22:34:31 +0000
From: André Draszik <andre.draszik@...aro.org>
To: Roy Luo <royluo@...gle.com>, Vinod Koul <vkoul@...nel.org>, Neil
Armstrong <neil.armstrong@...aro.org>, Peter Griffin
<peter.griffin@...aro.org>, Tudor Ambarus <tudor.ambarus@...aro.org>, Joy
Chakraborty <joychakr@...gle.com>, Naveen Kumar <mnkumar@...gle.com>
Cc: linux-phy@...ts.infradead.org, linux-kernel@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org, linux-samsung-soc@...r.kernel.org,
kernel test robot
<lkp@...el.com>
Subject: Re: [PATCH next v2] phy: google: fix build dependency for Google
Tensor USB PHY
On Wed, 2026-01-28 at 21:22 +0000, 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.
>
> Fixes: cbce66669c82 ("phy: Add Google Tensor SoC USB PHY driver")
> Reported-by: kernel test robot <lkp@...el.com>
> Closes: https://lore.kernel.org/oe-kbuild-all/202601210825.ELrpQeED-lkp@intel.com/
> Reviewed-by: Peter Griffin <peter.griffin@...aro.org>
> Signed-off-by: Roy Luo <royluo@...gle.com>
> ---
> Changes in v2:
> - Add '(TYPEC=n && COMPILE_TEST)' to build dependency to expand test
> coverage as suggested by André Draszik <andre.draszik@...aro.org>
> - Keep Peter's Reviewed-by tag because the change suggested by André
> is a trivial improvement.
> - Link to v1: https://lore.kernel.org/r/20260121-next-v1-1-c18068b091b9@google.com
> ---
> drivers/phy/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
Reviewed-by: André Draszik <andre.draszik@...aro.org>
Powered by blists - more mailing lists