From nobody Sat Feb 7 15:09:59 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 5EEC625D208 for ; Mon, 2 Feb 2026 09:51:23 +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=1770025883; cv=none; b=nzKa3reJOEyGipa9X3/uOJF+ohfBKAxiG4v80fhZ8srl4ILS2TlhWZhLaMJlfC+Z6DVWVwvuFw6nf6JBatSPwfqiFl4+Kc9nPyy6vYg9p2H4IFiUofPU3DubGtZeyRfk6zrJw/JFs/TScwFKrSVmORCihiO9fJDJqAr8lDmX5d4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770025883; c=relaxed/simple; bh=YV9HHIwjBjG1fsLQb14txCR6ZgiPOq1JRjTdfpScIhI=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=mjURvnHR6+KfkDxnQCF8y1nuyD3f3R2UfxDaarLFPAeCIU1LbuP1hI9mUlsnSAOoarI00IUoZJ/+Pb11Okt9wvj/rXT//O/PUuX/kzN/6oLtvwjgN9BcSI0uo7jehpBuUcdSEKJGKwwVpGmLZFFRVOxEXYzVvdfvE5TkdRvUTr8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oaAoYLye; 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="oaAoYLye" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7C342C116C6; Mon, 2 Feb 2026 09:51:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1770025883; bh=YV9HHIwjBjG1fsLQb14txCR6ZgiPOq1JRjTdfpScIhI=; h=From:To:Cc:Subject:Date:From; b=oaAoYLye4wh0JhHV/qdBdJKB4b1Guz+axCBJAnI+T8eVRqXetDORZiK8ff415Ac+Z 5C0H3EWuCKps1+eu+tK0vMKHHhtJXpfFEdvwK8gLvX2tzVUf66tecDyhTxZ4Ma6L2K 7X4szEMoqEOjtjudrCXEHvIYoqT5wvTc34o7R4/FkSv4WYDzh57LPW94azcT7SJi2g 5LWqvTBfcc5OBoyiOGPkovpm6E4pfM8USQKSQXqzpRpC34GgjaCqNCTvP7mJnvohWV bkmmKoyEUf8Xev2xnM+7uggSmqpT+M6laEKJpvVeLQfnSziK4TFLGaU2iHO1idsc4c GbMD7uwUWYjoQ== From: Arnd Bergmann To: Vinod Koul , Tommaso Merciai Cc: Arnd Bergmann , Neil Armstrong , Biju Das , linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH] phy: renesas: rcar-gen3-usb2: add regulator dependency Date: Mon, 2 Feb 2026 10:51:14 +0100 Message-Id: <20260202095118.1233046-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 The driver start registering a regulator, but can still be enabled even when it is unable to call into the regulator subsystem: aarch64-linux-ld: drivers/phy/renesas/phy-rcar-gen3-usb2.o: in function `rc= ar_gen3_phy_usb2_probe': phy-rcar-gen3-usb2.c:(.text+0x2884): undefined reference to `devm_regulator= _register' Add a Kconfig dependency to avoid this configuration. Fixes: b6d7dd157763 ("phy: renesas: rcar-gen3-usb2: Add regulator for OTG V= BUS control") Signed-off-by: Arnd Bergmann Tested-by: Tommaso Merciai --- drivers/phy/renesas/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/phy/renesas/Kconfig b/drivers/phy/renesas/Kconfig index d217c630b2fd..90a9ca2db7fc 100644 --- a/drivers/phy/renesas/Kconfig +++ b/drivers/phy/renesas/Kconfig @@ -29,6 +29,7 @@ config PHY_RCAR_GEN3_USB2 depends on ARCH_RENESAS depends on EXTCON || !EXTCON # if EXTCON=3Dm, this cannot be built-in depends on USB_SUPPORT + depends on REGULATOR select GENERIC_PHY select MULTIPLEXER select USB_COMMON --=20 2.39.5