From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 90DCA3ECBC8 for ; Thu, 22 Jan 2026 10:39:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769078346; cv=none; b=pzxxYHuohFSjtMUiA6v3Bt1M9BhBrmPG1Nnzvg0UNMrir5u2cGceNv2/PDmGB9k2bWZD5SgTGhhhzInwwl/f14OVavbF8ZRwj3unzTarnWCXbmHpPGgyoxQF9EMvdOvS4fMSGtmmMCmiB996cwClkvZvDN2PQUMV79YXsHb6fLw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769078346; c=relaxed/simple; bh=knv3eV/uPl+lWimlwaG5qjUbDF4tZn6R2q3+oaVVNBg=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=RQdDUCSlLt7VLRF/CoA0/QwHBGYkxU0sgDmFzNVvwZ3l9tDUagV4t5CQQKS6QPnfaQXBjeMDISaLTrTrvPcehX6ksZIfvDjruSH4ymthXZChfAWL/K0okNdpq8VmzhaJmACjlmoge/c58Wb9JprB6i3U1A9wN0DN14Gfu2vM6gw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=sfdK09cM; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="sfdK09cM" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-42fb0fc5aa9so523211f8f.1 for ; Thu, 22 Jan 2026 02:39:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769078342; x=1769683142; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=knv3eV/uPl+lWimlwaG5qjUbDF4tZn6R2q3+oaVVNBg=; b=sfdK09cMA2aGNzP4RDKOZtaMkShYkVW2uduv/39f2Wcnh5/stkNdN0dtUTm1dtMnZE kzOGTEfuVOzhUka8b/zQJ+hM5KQRaNl2jVEayOLTzrm3MdqwOhcsu7hx1c7+fKqUhIs5 izyJSDk1DYZOIcOmC0p73g2XIayEHBrwOHG3vUP7ZnqMEx9w6v2veToLsOjHRMZxQcZ7 eeEMuPjw9wmBd76fzM/2ug0g6q9+SB5YfYbpqBHxLm+0PI70GVpAaV1yhPkQSpMEXDX1 f+nO6VAO5MhzKZtit0nzQfWjo/0EQC3keHl2DOqtv3683Wy9kqYnukxo/wARYMutxUr6 71og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769078342; x=1769683142; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=knv3eV/uPl+lWimlwaG5qjUbDF4tZn6R2q3+oaVVNBg=; b=lMzdYf36+zSptdka12uWJ07CVAtvr4IZqCVy/RgC7axWD1mqgMtczUrZ+UbUAQy9zZ 7seWejZ3A8rGkmpwKxwt3zaEBdu6XgJgIOXUveOmezAH1PVFcoXrwN+slNegSGFejqvz +H/7K3j/f6NPZqiCybnlH1hEy/pfumr3k8LiAF+Og4WClyS07vfIpMwxjXSuasRySRXQ Q2sHS07Nv6sKDIgDXm4S/EFX1jY7zb6F1AOBbVd1FEJAHB+vxTgVv+iXvEqh8cx76xIp KHZsDUYsNk1WRvqnwwGPIc25R87Idg9D2gQYYv8RD12c/yb5c+2nEkTn3jJ6M3RM+AZp Jt1w== X-Forwarded-Encrypted: i=1; AJvYcCVYrmB3P2+cvp9DvpvT+EyLisQDOSRIElhMCbo2ewpM4tjcu5BEJEFKMm/zBs/LKY8Mxqzj03CsgiLLhsw=@vger.kernel.org X-Gm-Message-State: AOJu0YxaFkHUw40rrxjkSHRt2dFz+vdKsy9Eq+DfCg8BDxICXuoTFb9c 3fjW6KBk5pT2lcPJd547Zkbjfm7MXs3RcUzQ7Upg9BP8vzmcJYukkp1NG5lR9dADH4s= X-Gm-Gg: AZuq6aLY+0KqVZZTA8mGQJp/E6R5pzDKPbWrPDI+lSaxX/Qq/ttXe1MX4sAisUtfEBP PRK8ma8d0U/xExJPtXokbQFFVeJCHkMnvyHtKTfQfwlZ4Kk4+jZDTZFVd6K5Kdh2OY3WiM5JsLg deBISCuYWP7qU1YQy+mbXRTm6Y1BSRsNq1ujMcZBdxY4G66pcbR1DgaNWehVJJHf6OeJQJh4G9z 5F8M66Vqrtvmz6LZj67OKCTuJ4YQoRVRR2iwUQe8XK3egV5NdvbTdvvwmrLujf19yXLjK46yKi5 As9zTlSgtKfa4J0o3fU29i/TsR7PpqP6JDCKZb2+qy8/MtsEjmu7V7XiycVsJu+mK8VbWxv+hOK YL+ZypWyV+yvzavALGHYTHB8qeTFZXJf6KtnqywIdTUyOHBI92hahWzdh2uyw7IBKa1536Ki99/ vEpIaX6WV/0tZwmJH7Zw== X-Received: by 2002:a05:6000:ece:b0:435:a7fa:24ae with SMTP id ffacd0b85a97d-435a7fa2607mr2707643f8f.18.1769078342064; Thu, 22 Jan 2026 02:39:02 -0800 (PST) Received: from draszik.lan ([212.129.87.109]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-4356997e6cdsm45475978f8f.31.2026.01.22.02.39.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jan 2026 02:39:01 -0800 (PST) Message-ID: <7c78f9da40022e7bbf850ae8989c617bdc30cc95.camel@linaro.org> Subject: Re: [PATCH next] phy: google: fix build dependency for Google Tensor USB PHY From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Roy Luo , Vinod Koul , Neil Armstrong , Peter Griffin , Tudor Ambarus , Joy Chakraborty , Naveen Kumar Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, kernel test robot Date: Thu, 22 Jan 2026 10:39:01 +0000 In-Reply-To: <20260121-next-v1-1-c18068b091b9@google.com> References: <20260121-next-v1-1-c18068b091b9@google.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-2+build3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Roy, On Wed, 2026-01-21 at 22:21 +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 disabled or configured as a module. >=20 > Add 'depends on TYPEC' to the PHY_GOOGLE_USB entry to ensure all > required symbols are available during linking. >=20 > Fixes: cbce66669c82 ("phy: Add Google Tensor SoC USB PHY driver") > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202601210825.ELrpQeED-lkp@i= ntel.com/ > Signed-off-by: Roy Luo > --- > =C2=A0drivers/phy/Kconfig | 1 + > =C2=A01 file changed, 1 insertion(+) >=20 > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index 142e7b0ef2efb9209781800ee47b820a91b115ae..5531ff31d8156cb164c32e3e5= 2d4a57b26a62d8d 100644 > --- a/drivers/phy/Kconfig > +++ b/drivers/phy/Kconfig > @@ -49,6 +49,7 @@ config GENERIC_PHY_MIPI_DPHY > =C2=A0 > =C2=A0config PHY_GOOGLE_USB > =C2=A0 tristate "Google Tensor SoC USB PHY driver" > + depends on TYPEC Can you make this depends on TYPEC || COMPILE_TEST to allow some better test coverage? Cheers, Andre