From nobody Mon Feb 9 05:37:15 2026 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id CEE8AC001DE for ; Tue, 25 Jul 2023 15:49:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232183AbjGYPtk (ORCPT ); Tue, 25 Jul 2023 11:49:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231602AbjGYPti (ORCPT ); Tue, 25 Jul 2023 11:49:38 -0400 Received: from michel.telenet-ops.be (michel.telenet-ops.be [IPv6:2a02:1800:110:4::f00:18]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E82A1FE6 for ; Tue, 25 Jul 2023 08:49:37 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:2d50:2ea4:d4e1:2af3]) by michel.telenet-ops.be with bizsmtp id RTpZ2A00V2TBYXr06TpZAJ; Tue, 25 Jul 2023 17:49:35 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qOKHo-002ViA-Ho; Tue, 25 Jul 2023 17:49:33 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qOKI1-009cZD-Mo; Tue, 25 Jul 2023 17:49:33 +0200 From: Geert Uytterhoeven To: Vinod Koul , Kishon Vijay Abraham I , Minda Chen , Roger Quadros , Changhuang Liang Cc: linux-phy@lists.infradead.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH] phy: starfive: StarFive PHYs should depend on ARCH_STARFIVE Date: Tue, 25 Jul 2023 17:49:27 +0200 Message-Id: <12097f6107a18e2f7cfb80f47ac7b27808e062c4.1690300076.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Type: text/plain; charset="utf-8" The various StarFive PHYs are only present on StarFive SoCs. Hence add a dependency on ARCH_STARFIVE, to prevent asking the user about these drivers when configuring a kernel without StarFive SoC support. Signed-off-by: Geert Uytterhoeven Acked-by: Changhuang Liang --- drivers/phy/starfive/Kconfig | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/drivers/phy/starfive/Kconfig b/drivers/phy/starfive/Kconfig index a560533a674ee0a5..4457b3872aa146a4 100644 --- a/drivers/phy/starfive/Kconfig +++ b/drivers/phy/starfive/Kconfig @@ -3,6 +3,8 @@ # Phy drivers for StarFive platforms # =20 +if ARCH_STARFIVE || COMPILE_TEST + config PHY_STARFIVE_JH7110_DPHY_RX tristate "StarFive JH7110 D-PHY RX support" select GENERIC_PHY @@ -31,3 +33,5 @@ config PHY_STARFIVE_JH7110_USB used with the Cadence USB controller. If M is selected, the module will be called phy-jh7110-usb.ko. + +endif # ARCH_STARFIVE || COMPILE_TEST --=20 2.34.1