From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f53.google.com (mail-wr1-f53.google.com [209.85.221.53]) (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 596832DECBD for ; Wed, 28 Jan 2026 20:03:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769630611; cv=none; b=OVtonLpJG53Gt79H/iz0Jw/ya++GnTF3G4gTKhnILCYVVdnoJIYRBPxbcgaXV2geDKR2m8RZVPkHVkjb41K755qIlw1CkzZNZkql3+DMRim1qMLC8zQ4vT4mAKFKxyeVYPjDzyTXZ+TSlcz4xEHeq4btNsZWDx2731qooWKncF0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1769630611; c=relaxed/simple; bh=XUkUT6LBku13mYTEfvUUPRvgsUlp0EEMZv51VMbnBdA=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=kHQW7JzgmTX/FwBN/H1beIYwVlE5dC0kGuY+8PaGqFDiLZ1vFVBAM+5p8+IbwRxggF7k6r4o08VDiUzO1LtidwtW6H4JOT4v7qK64ZUf/nrsBpb7DZ0wJ/13GG7udetOe+PfF6YSqSRpcerfLIUaAO9rAOMY2byiH/zk8pxx4l8= 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=pr549iXG; arc=none smtp.client-ip=209.85.221.53 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="pr549iXG" Received: by mail-wr1-f53.google.com with SMTP id ffacd0b85a97d-43596062728so813151f8f.1 for ; Wed, 28 Jan 2026 12:03:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1769630609; x=1770235409; 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=xfDqLnr78jrG2/XLP9Dn27y+jadR+KNn5dnX37UWvRM=; b=pr549iXGj0SqzRa8OWQDJwjHMdttIpeROiSZg3cSeQD1NeroZzStObo/6wy2G1WVMC vmDpw71OKojU1g8It8XVd4O/ow2M/ESkH+NTFhE4YBxImElagxoueMiMibu7RjMXw7Ou 8gftAcwIqK8gYtIDCxjlNFu6C6Jjv/qoLP2NOGDAnsEte7WoJhhin2Za7pzvoSH1l1E0 RackL/jzbpxe5qaCUYI4VFJohM21TkytqOUzlcFFSpxqqEp/fTbw7LHCv5fKycsKFpOw S8Vs8L+x6HW0W/PIqaN0AV1g3fy+2/yYuVIZtG5754Db3KrLFUvP58e/tVmiOzQWyeRJ U9dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1769630609; x=1770235409; 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=xfDqLnr78jrG2/XLP9Dn27y+jadR+KNn5dnX37UWvRM=; b=JhqNMm6MCtozfBdj7oOA4/+m2lkJD3Qu5vduQBl/hgUcRpauRfNq8hLpZKdyqrvo+8 aCoOfzCO+7lyJnS8UCblEaZ/uEeQg3MANX3vB0OZRcos0pBjQLe5FzBQ+hh8J98vd0gQ 6UMMW1MXHNdQdryUNmAFGFdGu6jdtuOSGwlk/0DiaMZnm7wz+HbWUETefdImVynjLPec jNOmvbfRFuQXX7+tK8opnNAcq7CYlTzY+bGskoyrTxKXGtT0v4TNvpLkCOnXoNiQXn+e Bvh1WFKJJZPNZDl13DPS9MvsZzmwUhSd95NpcakmurDm/ki1GIEzykzeYNwNROHwQuBX bFog== X-Forwarded-Encrypted: i=1; AJvYcCU1qyOL2eGRlOvwNgI3NxEBrHQcFtBqWJtn4RtZz7s31FIHkHFEiR3jhYiyBx0fSBQTi3yM2iDOiJ7ak9I=@vger.kernel.org X-Gm-Message-State: AOJu0Yx1gKgPM2c8pLrOWGmtyaM+TvXzKUzUiudBKQoKI3fuixpQnCUQ rQ/UUUz0hwH8qBzbaGWmIpkeyfEViF/SfkVYhdqVFCrsdJlFVXt+DNqfxg7R8CHIP+w= X-Gm-Gg: AZuq6aKqJuXMjJ4YEvOKoE4pA8wupG/qQvTWwp81l89dOQ4c1UBP481jAy9m9exL3Z/ t4iGEhk4r0kX20t+Xn/WkvmxIdbMNdOlJvFqK4DflVP5OMmOywv313fEW1mb1IQ5QtxKyfV++Ex vI0L51LvDHgxHfX6Vl8ylWy0aydYZXdbvAFHUkS1Ac3N6CfI09jjx3T/stmMVO5Y+11OB4zIbV2 UwWeMj5PVZIooZY73GypDMRfZyX19dI7S5mno6dBTL/bz12XVi9Ey4lLx/tyn3MNz3bmLKkHZSk ECS1RZecUD9zuPci1/HV+zBtZxELEZ+T9w8GxCLu59NxFnZ5xbOq5dn6R/7OWh10D9znGoXMhIF /6MU3swHni7pjC5sT9JDTPUKVddcz/HclkNtqususqbXRVXJV1PoVA04ijAc9r2rLyskR+3UZOA nSVidc2P7ZoN7gyJhsK6kQnWQ= X-Received: by 2002:a05:6000:4011:b0:435:db9b:5885 with SMTP id ffacd0b85a97d-435ea0672c8mr948788f8f.10.1769630608753; Wed, 28 Jan 2026 12:03:28 -0800 (PST) Received: from [192.168.235.30] ([80.233.75.117]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-435e1322dc7sm9169904f8f.37.2026.01.28.12.03.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jan 2026 12:03:28 -0800 (PST) Message-ID: Subject: Re: [PATCH] phy: PHY_GOOGLE_USB should depend on ARCH_GOOGLE From: =?ISO-8859-1?Q?Andr=E9?= Draszik To: Geert Uytterhoeven , Vinod Koul , Neil Armstrong , Peter Griffin , Tudor Ambarus , Naveen Kumar , Roy Luo , Joy Chakraborty , Arnd Bergmann Cc: linux-phy@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 28 Jan 2026 20:03:25 +0000 In-Reply-To: <0caa3c449b0c3d64944da3f1003d9389bdc13f98.1769541083.git.geert+renesas@glider.be> References: <0caa3c449b0c3d64944da3f1003d9389bdc13f98.1769541083.git.geert+renesas@glider.be> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2-8 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Hi Geert, On Tue, 2026-01-27 at 20:12 +0100, Geert Uytterhoeven wrote: > The Google Tensor SoC USB PHY is only present on Google Tensor G5 > (Laguna) SoCs.=C2=A0 Hence add a dependency on ARCH_GOOGLE, to prevent as= king > the user about this driver when configuring a kernel without Google > Tensor SoC support. >=20 > Fixes: cbce66669c82ee9a ("phy: Add Google Tensor SoC USB PHY driver") > Signed-off-by: Geert Uytterhoeven > --- > ARCH_GOOGLE is not yet upstream, but that doesn't hurt. I can see your point, and have no objection, but for context, Greg had asked to not add dependencies on a config option that might or might not get added in the future - ARCH_GOOGLE: https://lore.kernel.org/all/2025121728-reliably-crabgrass-2601@gregkh/ Maybe an alternative would be to make it default=3Dn, and change that default once ARCH_GOOGLE gets added? Cheers, Andre' > --- > =C2=A0drivers/phy/Kconfig | 1 + > =C2=A01 file changed, 1 insertion(+) >=20 > diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig > index 142e7b0ef2efb920..3ceda9a20d571038 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 ARCH_GOOGLE || COMPILE_TEST > =C2=A0 select GENERIC_PHY > =C2=A0 help > =C2=A0 =C2=A0 Enable support for the USB PHY on Google Tensor SoCs, start= ing with