From nobody Sun Feb 8 13:09:03 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 72F832BDC32 for ; Mon, 2 Feb 2026 09:57:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770026223; cv=none; b=btUlAEGAbZ8WvT5BvzgGMJSYqw4z6QDDtBKUESsthmqS6iR/7E6/Lx2w/x2oFbePcGPu7+n2ESrqBHKIz66eeAOaRrzjEsgtZ+UWOk3czf7qTz1sf5I+hMPvb2HyuprRZK2of1Ffda71E0FAZgIxzyiw/1SjtnjIOdDZbcGVj3w= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770026223; c=relaxed/simple; bh=iaqpfmFhxPBy/t38w5Ak5dyqH6QmlIhruLJShQ1bUhg=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=NTMG4ee/cecghm7FygWoO3my/iZU1Q7Ug13OgAL0erU/riR06pPlBO08pj70hjeBNEEMkUISVMr9SU0yQl3enJjtL8DLq3VmfOGOB88p4hlRynt3JOuFDdXnWarGS38ZzceJSJG1iuYPP0bjHWZjQwv1/bOB8n2gCgjZWBY/koo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=qTcBQFDK; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="qTcBQFDK" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3498AC116C6; Mon, 2 Feb 2026 09:57:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770026223; bh=iaqpfmFhxPBy/t38w5Ak5dyqH6QmlIhruLJShQ1bUhg=; h=From:To:Cc:Subject:Date:From; b=qTcBQFDKkLOtg9pqwexcQvqDxLatkpVjuHUSMqLFpubSoFFDCUIpis+YllIl/NSxi +qEVdqFeplGLfx+tiuO0/vKV/YAVLM+G5mzMBhgGWqYzd9dsN94+eYy6oZzUAenhBI 1KCDNzZ5p9WOzFCVqSHBW3ZbDGQDD3FMf2CxklczX0gSqlXH67CtkCND7O/OKmMHTP coSVNS8stizqIkAAM8UzQue+17h5unGmp9zq0olYVHouYnmgkRTbz+18BsswYm0KKJ p0BLm/pVgf12qCTeiDKc3S3oSvpeOxUspIer4UInPWJENvBsnN1sViguI41Qqq9l2T W2fmxT8XgMRYQ== From: Arnd Bergmann To: Vinod Koul , Joy Chakraborty , Naveen Kumar , Roy Luo Cc: Arnd Bergmann , Neil Armstrong , Alex Elder , Ivaylo Ivanov , Dmitry Baryshkov , Inochi Amaoto , Sven Peter , Vladimir Oltean , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] phy: GOOGLE_USB: add TYPEC dependency Date: Mon, 2 Feb 2026 10:56:52 +0100 Message-Id: <20260202095655.1289973-1-arnd@kernel.org> X-Mailer: git-send-email 2.39.5 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Arnd Bergmann With CONFIG_TYPEC=3Dm, this driver cannot be built-in: arm-linux-gnueabi/bin/arm-linux-gnueabi-ld: drivers/phy/phy-google-usb.o: i= n function `google_usb_phy_remove': phy-google-usb.c:(.text+0x24): undefined reference to `typec_switch_unregis= ter' Add CONFIG_TYPEC as a hard dependency here to force a clean build. In theory, compile-testing with CONFIG_TYPEC=3Dn would also work, but that seems pointless. Fixes: cbce66669c82 ("phy: Add Google Tensor SoC USB PHY driver") Signed-off-by: Arnd Bergmann Reviewed-by: Neil Armstrong --- drivers/phy/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/Kconfig b/drivers/phy/Kconfig index 142e7b0ef2ef..02467dfd4fb0 100644 --- a/drivers/phy/Kconfig +++ b/drivers/phy/Kconfig @@ -50,6 +50,7 @@ config GENERIC_PHY_MIPI_DPHY config PHY_GOOGLE_USB tristate "Google Tensor SoC USB PHY driver" select GENERIC_PHY + depends on TYPEC help Enable support for the USB PHY on Google Tensor SoCs, starting with the G5 generation (Laguna). This driver provides the PHY interfaces --=20 2.39.5