From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-10.3 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 0678AC433DB for ; Thu, 11 Mar 2021 07:30:48 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A01C964FB3 for ; Thu, 11 Mar 2021 07:30:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231657AbhCKHaP (ORCPT ); Thu, 11 Mar 2021 02:30:15 -0500 Received: from youngberry.canonical.com ([91.189.89.112]:48713 "EHLO youngberry.canonical.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231520AbhCKH3o (ORCPT ); Thu, 11 Mar 2021 02:29:44 -0500 Received: from mail-wr1-f70.google.com ([209.85.221.70]) by youngberry.canonical.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.86_2) (envelope-from ) id 1lKFlP-00030K-L5 for linux-fpga@vger.kernel.org; Thu, 11 Mar 2021 07:29:43 +0000 Received: by mail-wr1-f70.google.com with SMTP id p12so6534057wrn.18 for ; Wed, 10 Mar 2021 23:29:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=UM3RKX0XCDpJCuubU4GyjNFkIs45HL7bg2XqkxuxPoo=; b=h30sJQiEuyKiEIW7gbyoanR4qCJ7sOpMHTvWJ4LtR62O51n6s/Z3spCSnvoRQBGbUu Q3a4W2c0H6V8VwYAu8lu4Y8qzvL2PFxRzdQ4ADMFcJiO2m7PWZy7JSXpTgaEP76Py0Py 6uaD3cLLBVyCCa9dLQCSi2GUzGl7Xns3XcaXueguZO2LzaCiJBiP2kS6yO0ojbAYJMGl eCaM1v9awQ9X8jTXKL77xIREYv7QzgeE4fn6Go0jtKhvcbKpUyE3rK8v9Jr0GRyRVMBK bKkHimgPZO24A2CcxAK3F5CneVkhHN6ruuhufZNBEuygzOvCHBr6+b2bfbOM6hn9wPVk zRxw== X-Gm-Message-State: AOAM531wWAf/CsoJpYiR9eB5XRP8mCr8i3EKEMzSMgjSzgKHEgg2wKUC NO/ZVrNLDZpOZdgsOdSjA93vaZcI/7kKErqwK/UP+qndC6AaecoEDuSuMvPPEQjrcfBgYjFY+bi 5J0UQJ5wsVk0HTQbJxQ+rktQ6YjrbBj1D9O9ksms= X-Received: by 2002:a5d:4708:: with SMTP id y8mr7473141wrq.382.1615447783378; Wed, 10 Mar 2021 23:29:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJwntEUdVEQpqMsRTDpIua5kEKJ6BAuZNIC5Far5vVjfExGBGIXOrXsOxt/q5mJ8+gEXtFcFdw== X-Received: by 2002:a5d:4708:: with SMTP id y8mr7473131wrq.382.1615447783295; Wed, 10 Mar 2021 23:29:43 -0800 (PST) Received: from [192.168.1.116] (adsl-84-226-167-205.adslplus.ch. [84.226.167.205]) by smtp.gmail.com with ESMTPSA id z3sm2323807wrw.96.2021.03.10.23.29.42 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 10 Mar 2021 23:29:42 -0800 (PST) Subject: Re: [RFC v2 5/5] clk: socfpga: allow compile testing of Stratix 10 / Agilex clocks To: Arnd Bergmann List-Id: Cc: Catalin Marinas , Will Deacon , Dinh Nguyen , Rob Herring , Michael Turquette , Stephen Boyd , Moritz Fischer , Tom Rix , Lee Jones , Linux ARM , "linux-kernel@vger.kernel.org" , DTML , linux-clk , linux-edac@vger.kernel.org, linux-fpga@vger.kernel.org, Networking , linux-stm32@st-md-mailman.stormreply.com, arm-soc , SoC Team , Olof Johansson References: <20210310083327.480837-1-krzysztof.kozlowski@canonical.com> <20210310083840.481615-1-krzysztof.kozlowski@canonical.com> <20210310083840.481615-3-krzysztof.kozlowski@canonical.com> From: Krzysztof Kozlowski Message-ID: Date: Thu, 11 Mar 2021 08:29:42 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-fpga@vger.kernel.org On 10/03/2021 17:48, Arnd Bergmann wrote: > On Wed, Mar 10, 2021 at 9:38 AM Krzysztof Kozlowski > wrote: >> --- a/drivers/clk/socfpga/Kconfig >> +++ b/drivers/clk/socfpga/Kconfig >> @@ -1,6 +1,17 @@ >> # SPDX-License-Identifier: GPL-2.0 >> +config COMMON_CLK_SOCFPGA >> + bool "Intel SoCFPGA family clock support" if COMPILE_TEST && !ARCH_SOCFPGA && !ARCH_SOCFPGA64 >> + depends on ARCH_SOCFPGA || ARCH_SOCFPGA64 || COMPILE_TEST >> + default y if ARCH_SOCFPGA || ARCH_SOCFPGA64 > > I think the 'depends on' line here is redundant if you also have the > 'if' line and the default. Yes, you're right. Best regards, Krzysztof