Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp2031319ybb; Sat, 4 Apr 2020 19:53:06 -0700 (PDT) X-Google-Smtp-Source: APiQypLttgkXO6Kbe/eVblUy1uwijjTHWhPypoXftucVcyjTtrCkE1fqpVVcuomVFscS/l7Y9SFf X-Received: by 2002:a9d:4f0:: with SMTP id 103mr12316053otm.336.1586055186177; Sat, 04 Apr 2020 19:53:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586055186; cv=none; d=google.com; s=arc-20160816; b=t3hMG/AQ8v7UT30ry3W7fDSE6X4r2Bi4BPkTyvQNG0g0ZbfgTFx5W8gWm7+Je6q5h4 wAnyDa2DaG34wBWuOWhy8iWe7x9a61ihhAJWNFQKUJ4TeIaAGe55IQu2G2fdkptfoVud ZRP70/9s8nf663yXGToQf8C64O5rVop0/Tas3O4YaMuiCKrRxGPEzjVPrvoTfAjcIVX7 9A/tvh8StigVzq12LfWdeAQ8uY50tmLT0VDYF75ml+wIYyobf3+VENTm0Ww6llL1BO53 32Tg1euo0iOp1oE5j/6wUoW8NrlDqRmgoyN1WwVEWzleNf2VTAbj4bwe4ddaUeqY6Fbv oNWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=i5+O0/MnQnHAaus+JmvPDlaPZE3A74LpFFxo7EcWXJg=; b=kwcUpEocZyRvLx8AXgbouuwcms1/JSkEfMeWEG9zo6JCwrAheYEBRccEN1sl2RjWWg z6PdMdVlqj3KvkQNm4RjWzbeLT7LUwTsGft5DQd9sc0fMCthJsJsEn6NpFg3nBl0rLc9 IAE+5KWe7z3j1//HRotf9krIAJRM3bHnTAJifmXK5zQwFqEXb4p00+tg7VB+LrFbY8Aj U6+vcXlxhAjqItNDo4skrnsiZRNvhJEQhpq5tfAqwPI0Wvvet6LSel8mvbnk3cgGSJt9 RJ8uA1WG6WQ9r0bmJvPgZPfYHfyPiajsWMpW6MBUybuL0xaQrAWcxqj0vduCJyWA4Kn5 CRJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YuSeGmpB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e53si6066988ote.156.2020.04.04.19.52.54; Sat, 04 Apr 2020 19:53:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=YuSeGmpB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726594AbgDECvb (ORCPT + 99 others); Sat, 4 Apr 2020 22:51:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:44788 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726512AbgDECv3 (ORCPT ); Sat, 4 Apr 2020 22:51:29 -0400 Received: from mail.kernel.org (unknown [104.132.0.74]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B019D20842; Sun, 5 Apr 2020 02:51:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586055088; bh=PfUikIBTXspGc+39UOUujO6Ld9bq2yeVd1JILOFiYkc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=YuSeGmpBjp/c1fSbk7Q0TZwNLO1Npa80OmVBwlzh7/aPzvnP44TahOKzRBYQev36Q t90a1l1NBCBnayEkmkOp9w8AVk4rn5vpEJH/+5NEwHpUoeBUgL35dMGhTXZP92xUAY NUPPd/jlIOJG5EmNdPXZA4E8RvwUH2+wU6Q5oUmU= From: Stephen Boyd To: Michael Turquette , Stephen Boyd Cc: linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, Russell King , Arnd Bergmann Subject: [PATCH 9/9] clk: Move HAVE_CLK config out of architecture layer Date: Sat, 4 Apr 2020 19:51:23 -0700 Message-Id: <20200405025123.154688-10-sboyd@kernel.org> X-Mailer: git-send-email 2.26.0.292.g33ef6b2f38-goog In-Reply-To: <20200405025123.154688-1-sboyd@kernel.org> References: <20200405025123.154688-1-sboyd@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The implementation of 'struct clk' is not really an architectual detail anymore now that most architectures have migrated to the common clk framework. To sway new architecture ports away from trying to implement their own 'struct clk', move the config next to the common clk framework config. Cc: Russell King Cc: Arnd Bergmann Signed-off-by: Stephen Boyd --- arch/Kconfig | 6 ------ drivers/clk/Kconfig | 6 ++++++ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/Kconfig b/arch/Kconfig index 17fe351cdde0..903ac5547ee8 100644 --- a/arch/Kconfig +++ b/arch/Kconfig @@ -321,12 +321,6 @@ config HAVE_FUNCTION_ARG_ACCESS_API the API needed to access function arguments from pt_regs, declared in asm/ptrace.h -config HAVE_CLK - bool - help - The calls support software clock gating and - thus are a key power management tool on many systems. - config HAVE_HW_BREAKPOINT bool depends on PERF_EVENTS diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index 890bed62196d..6ea0631e3956 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -1,5 +1,11 @@ # SPDX-License-Identifier: GPL-2.0 +config HAVE_CLK + bool + help + The calls support software clock gating and + thus are a key power management tool on many systems. + config CLKDEV_LOOKUP bool select HAVE_CLK -- Sent by a computer, using git, on the internet