From patchwork Wed Nov 23 16:19:22 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Conor Dooley X-Patchwork-Id: 13053952 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 5314DC433FE for ; Wed, 23 Nov 2022 16:20:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237741AbiKWQUd (ORCPT ); Wed, 23 Nov 2022 11:20:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46064 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239025AbiKWQUc (ORCPT ); Wed, 23 Nov 2022 11:20:32 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 566E88F3F6; Wed, 23 Nov 2022 08:20:30 -0800 (PST) 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 ams.source.kernel.org (Postfix) with ESMTPS id 7FC32B821B7; Wed, 23 Nov 2022 16:20:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6A6A3C433B5; Wed, 23 Nov 2022 16:20:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1669220427; bh=mOSyGYRUF4lmG8EN95GXAb+yeeVqCi5QVicqdZ3b/6o=; h=From:To:Cc:Subject:Date:From; b=XkfGBr+eqCNc/F+e54oPBY1i5IgnC8B1DMZRW20YCs5JEo3y4iGgm+iIo0eoGJPxG 9YV07cdR+IwTVo9YlQOpTtcmVLj2+oeL9gvaJSFp63cADY+fIvHIW7RNen1mrbTz66 YzKYhxtyfERSzT/QNtPEHT6z/PQuignwaDA0pmJtC4qVehbA0WRSbWkCy3Aj8Pdeiv Q5QAy7cNxP2INyDgaLF+gjny1KvHEtwYQCbdUiZGGceWTIHITH2ZUg7ZB9FuTWtTZD dT4Qxa/ll19h15DrpNJJojXG51RS5vxyC1wNcDObJCyAVGp8zQHgc63/sPjBOU/64/ CQ1JZsGEvY+Cw== From: Conor Dooley To: Claudiu Beznea Cc: Conor Dooley , Daire McNamara , Michael Turquette , Stephen Boyd , linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] clk: microchip: enable the MPFS clk driver by default if SOC_MICROCHIP_POLARFIRE Date: Wed, 23 Nov 2022 16:19:22 +0000 Message-Id: <20221123161921.81195-1-conor@kernel.org> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-clk@vger.kernel.org From: Conor Dooley With the intent of removing driver selects from Kconfig.socs in arch/riscv, essential drivers that were being selected there could instead by enabled by defaulting them to the value of the SoC's Kconfig symbol. Do so here & drop the depend on RISC-V - the SOC_ symbols are only defined there anyway. Signed-off-by: Conor Dooley --- I thought I sent this with the SiFive stuff a few weeks ago - but obviously not! CC: Claudiu Beznea CC: Conor Dooley CC: Daire McNamara CC: Michael Turquette CC: Stephen Boyd CC: linux-riscv@lists.infradead.org CC: linux-clk@vger.kernel.org CC: linux-kernel@vger.kernel.org --- drivers/clk/microchip/Kconfig | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/clk/microchip/Kconfig b/drivers/clk/microchip/Kconfig index b46e864b3bd8..e33e51978938 100644 --- a/drivers/clk/microchip/Kconfig +++ b/drivers/clk/microchip/Kconfig @@ -5,7 +5,8 @@ config COMMON_CLK_PIC32 config MCHP_CLK_MPFS bool "Clk driver for PolarFire SoC" - depends on (RISCV && SOC_MICROCHIP_POLARFIRE) || COMPILE_TEST + depends on SOC_MICROCHIP_POLARFIRE || COMPILE_TEST + default SOC_MICROCHIP_POLARFIRE select AUXILIARY_BUS help Supports Clock Configuration for PolarFire SoC