Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp466482rwb; Tue, 25 Jul 2023 19:51:21 -0700 (PDT) X-Google-Smtp-Source: APBJJlGDVR/p+NAxhIicwOm7nzSYpoF+kZkYGjH2K/kaeJioxXXsChCY8lrFUkrDbMsNXNazNCcs X-Received: by 2002:a05:6808:1a28:b0:3a4:35bb:edae with SMTP id bk40-20020a0568081a2800b003a435bbedaemr860880oib.29.1690339881114; Tue, 25 Jul 2023 19:51:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690339881; cv=none; d=google.com; s=arc-20160816; b=GNV6yJVSxI+EmpPyV211vP9MGnvuB7ssPJN4fNI25cO7ZFVKEAu8pIOnGLA8vchVmE Zov2XgqxBtZtoZ15qA3rKRhRxwjWSBhNeo1DFUIdUtuU1P4bbbwQv4nnK5pdCAZw/cQO TYHfy18ILiQuIiQx7BMLnl5H+Mx5T7VDriqx076Gd9dRl90J8dymujIOMrQbAoo27PeC HFOT/xUdJX3sAig4y89UyFlOHc9pSsvfmbcqO/tjQ7HqcEFaqJqJqS5tprNZt+Xr2gtC z9c0HsUyl5I+G6gFDhJZaI9OgKDykviTDA/Vvdm5ff/PA2GzCT3vMv3s0LuNS3wJBCJV SouA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id; bh=SC8k52P9MzZrjvrLP9a3TPE9Yfs3kTEI4Xw0ANS0BVk=; fh=EumK/C57aZA9eVAi3uYYa2TEVpIWLb1vGh/5ve7+W9A=; b=HJ12Enj/PKPJrCPKN19MkrNbl2XwkN0eVBre92hnRLUiaGph3U+jxPTZDCTnouauP4 Hv1C6kanTFT6SVkntEWEBEzFjdIKL/H1hk0dmMQjFHaNDZIaWfOPyn6FjtQIvSeKWeOD /6l3qXSX02W/GEEZyU265irTxN/zHrg6hDvXE91LLaEU5KYGjh42K0k//jc2wVUlMxuN CE0/UXCh5kQr4gqZWoY/G7jJ6dyTO8JIAwdOI0qMlVBRQm7nvm8THQuH7OljRD01gBoK BoGt1PV0dgIKyfGZiohRT+GSOq2lwXAJ2sSwXUhHGRJTt+mDc18PH4cyFIq1zSQbKK2K DiLQ== 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 y191-20020a638ac8000000b00563e25c07c0si394591pgd.270.2023.07.25.19.51.09; Tue, 25 Jul 2023 19:51:21 -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 S229995AbjGZBbT (ORCPT + 99 others); Tue, 25 Jul 2023 21:31:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41038 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229472AbjGZBbS (ORCPT ); Tue, 25 Jul 2023 21:31:18 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3DF102699 for ; Tue, 25 Jul 2023 18:31:09 -0700 (PDT) Received: from EXMBX166.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX166", Issuer "EXMBX166" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 8D27124E207; Wed, 26 Jul 2023 09:31:01 +0800 (CST) Received: from EXMBX062.cuchost.com (172.16.6.62) by EXMBX166.cuchost.com (172.16.6.76) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 26 Jul 2023 09:31:01 +0800 Received: from [192.168.125.107] (183.27.99.135) by EXMBX062.cuchost.com (172.16.6.62) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Wed, 26 Jul 2023 09:31:00 +0800 Message-ID: Date: Wed, 26 Jul 2023 09:30:59 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH] phy: starfive: StarFive PHYs should depend on ARCH_STARFIVE To: Geert Uytterhoeven , Vinod Koul , Kishon Vijay Abraham I , Minda Chen , Roger Quadros CC: , References: <12097f6107a18e2f7cfb80f47ac7b27808e062c4.1690300076.git.geert+renesas@glider.be> Content-Language: en-US From: Changhuang Liang In-Reply-To: <12097f6107a18e2f7cfb80f47ac7b27808e062c4.1690300076.git.geert+renesas@glider.be> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [183.27.99.135] X-ClientProxiedBy: EXCAS066.cuchost.com (172.16.6.26) To EXMBX062.cuchost.com (172.16.6.62) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 On 2023/7/25 23:49, Geert Uytterhoeven wrote: > 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 For dphy rx parts: Acked-by: Changhuang Liang Thanks, Changhuang