From patchwork Wed Oct 5 17:13:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 12999491 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B7D1C433F5 for ; Wed, 5 Oct 2022 17:14:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230018AbiJERO1 (ORCPT ); Wed, 5 Oct 2022 13:14:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229689AbiJERO0 (ORCPT ); Wed, 5 Oct 2022 13:14:26 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 78A097AC20; Wed, 5 Oct 2022 10:14:25 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 140F36156F; Wed, 5 Oct 2022 17:14:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0CB2EC433B5; Wed, 5 Oct 2022 17:14:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1664990064; bh=FYFZ1JV5IJJ1bzGkzuTk0Eck/dERbIKxB/AHNzA5FWA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CLVOBGmzOcxKlwnKXhY9Nvf3yga8bk/SinMKfLEJCMmulTw0cFOwico/z1cWcpZG3 aT61mCCBGQFwaH4ZYobLLrhfIlKVrD/NTRC5MtlynbHK+u+opQM6xj/K7bduf0YI6k A1OlFu8JXU3wey7Mx4WinAz9/tuKRajAJn3QHmNld9b+MftnhOf1/TNX0kR6le09gP sv7AIlXuQBoQjfclYt7M0j8LbOhpHIezElAd/FADAbcwzh3F3Gc42GFuKA6wPTyJ+N bjRGcXX8BpdWl9KBzM9iWOJMO/tPOv/bWA6rp8LVeIxrjSkfRA1tekQBMtfAA3Dy1c /MSQn5tMiefQQ== From: Conor Dooley To: Paul Walmsley , Palmer Dabbelt , Albert Ou , Michael Turquette , Stephen Boyd , Greg Kroah-Hartman , Jiri Slaby , Conor Dooley Cc: linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH 1/6] clk: sifive: select by default if SOC_SIFIVE Date: Wed, 5 Oct 2022 18:13:44 +0100 Message-Id: <20221005171348.167476-2-conor@kernel.org> X-Mailer: git-send-email 2.37.3 In-Reply-To: <20221005171348.167476-1-conor@kernel.org> References: <20221005171348.167476-1-conor@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Conor Dooley With the aim of dropping direct selects of drivers from Kconfig.socs, default the SiFive clock drivers to the value of SOC_SIFIVE. Signed-off-by: Conor Dooley --- drivers/clk/sifive/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig index 9132c3c4aa86..b7fde0aadfcb 100644 --- a/drivers/clk/sifive/Kconfig +++ b/drivers/clk/sifive/Kconfig @@ -2,7 +2,8 @@ menuconfig CLK_SIFIVE bool "SiFive SoC driver support" - depends on RISCV || COMPILE_TEST + depends on SOC_SIFIVE || COMPILE_TEST + default SOC_SIFIVE help SoC drivers for SiFive Linux-capable SoCs. @@ -10,6 +11,7 @@ if CLK_SIFIVE config CLK_SIFIVE_PRCI bool "PRCI driver for SiFive SoCs" + default SOC_SIFIVE select RESET_CONTROLLER select RESET_SIMPLE select CLK_ANALOGBITS_WRPLL_CLN28HPC