Received: by 2002:a05:6358:701b:b0:131:369:b2a3 with SMTP id 27csp4662399rwo; Tue, 25 Jul 2023 09:08:17 -0700 (PDT) X-Google-Smtp-Source: APBJJlF9wmtWepXixSqgOyEWQaYL92Amvx1DhZ0JDa/9JI6q4edyTX9Rp4CIsWouptdq3be7B/1B X-Received: by 2002:a17:90a:17a4:b0:268:266a:1ab with SMTP id q33-20020a17090a17a400b00268266a01abmr3837198pja.5.1690301296111; Tue, 25 Jul 2023 09:08:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690301296; cv=none; d=google.com; s=arc-20160816; b=WG3qOW3IChrEQ7rH+KaCJzsEnPH2tmpwv5dZHznS/KlpGBMfbi/fP6SDOvFnoVeNdt 5pxiQdEdsKWrDaBx+1bqdegvxioR8U8y6Ts2bn9uGeEsSc6FgmQDxUhNwYRqsmBOVn4x pZDMSd4o/6XB/9ei3bSCVgID4KhtNQcBdyoEgWou/l1qLOVur/8GEquBUs50PWPpB/V9 aNwYQ3sYftW3lwnuRgZzyBhHY1lsjf/bLKAL7KODE6ByAVUeSiN3Tkoc6hkaxpFxAm5K 0tDfgXgqycshyFQDAgCrffaOPEENhgNd8GEuUPuZSOqkHq+8wL7o5m2PTAnmX7G3YyLH U5BQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=QKDtb9o06aS1a6++RDNsqcl3WrxeJHLBcMAvqCTRSTs=; fh=qnJ8V++3GtLeaphPWrhE7I6yDXgPXgUJ1n8pLuI7Yck=; b=n8rwV4wFlNyHX5l1+a2MKdQsszlgiaBnqCYSYIi+Ud5zMgp8PPdl1W9Rc9dd+srcbM 0jm8RDzyeShXl+9VKqWzfo1nYsNVqrWxb4gc3p9EJVKxTl9INJG8BQJCyrXD2+7HtOVy 5kA0jx59gq8alZb98/N6DwQanULXVHAOYhEMy6KsDMf0QePsc0b6iu58U2PTLgc39l75 hIi9wvxeno8PBx0KOq8YAFvxU5ZoYljnUn79Kbggn9dc3lSF4TlxaOOYV5aT+ZDnr13J gOprUDSAPf48oyJnF7S7SxEAqDsysALT8J+fbk0e8/pjdJOHiAvhe7KS2QzxzKQ6bXPm Tblg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id in8-20020a17090b438800b0024e4ace1a41si11454183pjb.183.2023.07.25.09.08.00; Tue, 25 Jul 2023 09:08:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231919AbjGYPtj (ORCPT + 99 others); Tue, 25 Jul 2023 11:49:39 -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: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 # +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 -- 2.34.1