From patchwork Sun Apr 5 02:51:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Boyd X-Patchwork-Id: 11474519 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D855B1874 for ; Sun, 5 Apr 2020 02:51:37 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B1D30215A4 for ; Sun, 5 Apr 2020 02:51:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586055097; bh=PfUikIBTXspGc+39UOUujO6Ld9bq2yeVd1JILOFiYkc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-ID:From; b=WaQ0tUiotcmYr1K/0KGcRnVKO9oebJfN0ryGYxKgDhVkoIrpQQotkDjtzDs2DIyeV 7mSt1VhYU4uBfJhEFq4XPdrO0gIMAbvdNYIKudQFgD1Nj0pHKQR1WBwfjmiIlgMgKl kk0jslapWvru5BR2tVTNBk1IhqChpF/5xURV34TA= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726332AbgDECvb (ORCPT ); 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 Sender: linux-clk-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-clk@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