Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp7615411rwb; Wed, 23 Nov 2022 08:36:01 -0800 (PST) X-Google-Smtp-Source: AA0mqf6WgIz7t2f5A+V4rgHAI3jD7bdA+PLmIRe7hMps804uyiX6BCVTLw0VwQGmHc39W5tSesAn X-Received: by 2002:aa7:cd1a:0:b0:459:f897:7940 with SMTP id b26-20020aa7cd1a000000b00459f8977940mr15462680edw.168.1669221361247; Wed, 23 Nov 2022 08:36:01 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669221361; cv=none; d=google.com; s=arc-20160816; b=e+TCWB7wpdR/PJRdjRNbK4w3E+7+7bSYYZrvfdPiqOeOeaSsdoDrpt+ioZS/LjCCgM LtSeIuuRxFvmclmECcf7Bp8Ln6pjpZgBi29BFAtwm2u+B4XmanESoPjAaHN93U3wSxop rJvduw+aWKlo+RCwIK3ZWAh5HMMrjt/3aeCqWH9hx+u4Mb9sJOi+MLN4D2QDjzye/KTB 5UMSEBdoxsXuYGDvYUTKvPHg2kZpf6Ij1B2vVItAkzUJLfWD+lFwuFny0c3z6xEJs6Q+ KTIuxufuYjyay0jhXHJqGfn2C7fSNo3x5eUo6Nc1S0WH4r+uW0Sr47t1slZmz5TzsB4q vqRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=bayH3zQu2xxzrbFC3vYcHAWAqVolVZfx4Og/b9f3rUI=; b=B92n/kpNf/5k5RGOK53i7ZnN4b89SIlRYdSXX+pi4pxfPWMc1on8HvzdB0RQRDaZE6 /y3whwb5KN9hNKVsGWE2bUnnaw3vKGGWKK77+XxFERDvIJffLMwjJLL+0pRU2zKTRcd7 +TzcyINGxdO6m0YW/qVCKzJQ6sHTfo+EZO9i7gnsWMNa1nUIocXMYc9nyKVsOROGlXIE iyjA0Ae1sZ6kj3nUm9CWowIfb8JiYjBRyGDC3ZOzie+vzr9OxzwNNe8l7rJnSbm1YKZc B1YxMbsjElLDJADOvEQwXEl2g9iVFCq9V6HEbdG+bk0zyt8R45krbj+VeGHAKr0r7//s y/Zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XkfGBr+e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ss28-20020a170907c01c00b0078b96068bc0si12622401ejc.79.2022.11.23.08.35.35; Wed, 23 Nov 2022 08:36:01 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XkfGBr+e; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S239024AbiKWQUe (ORCPT + 88 others); Wed, 23 Nov 2022 11:20:34 -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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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 -- 2.38.1