Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp3346795pxu; Mon, 30 Nov 2020 00:27:51 -0800 (PST) X-Google-Smtp-Source: ABdhPJzvfxePBOlfwkdvwE0LS7F9JHQtP8RKZti7kKyK99oLglPDlZdYI0hQQqr6/6NxGROLXsNQ X-Received: by 2002:a17:906:71d3:: with SMTP id i19mr19619777ejk.187.1606724870941; Mon, 30 Nov 2020 00:27:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606724870; cv=none; d=google.com; s=arc-20160816; b=vbWeUkh1PNeM4TaxzQeGpHhcj6FkaroImA9QaShfPPPv9Sbl1Cq01ksY3kdoPNhT1c zuyborc3hBsTNP0BzkvdsRzVffcF0tU+tEZJM9w9hzfpVhuJ6orD6Y5ED+MW5qfEzj4+ QmpUW3ahiLqmiCs608zjrvw8qnTduKcpHd4ql85iQsD97U4uhFB3OY74mplo0qnvRJn0 1x8mMAFf5TRvIN9guZbg5L9wjT+lHbDH+MwIBbEYoVwvGme8K2o1gUMSHu05YRj/Msr7 Q6a9eG8uGCQKYouJZIRMbx1EDSBdaMyUDSbEwI5+tq8UuvmN/3Ulme28mBQFo525tw9R a5vQ== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=swTJaeBCJSJ85jvGpvCNTGLd9zLi8EeqF0Ic677rVpg=; b=ct+D/P6OwQSOYpmT7/2ew2XikZPl7sjA+8mCHqzoqrKjMUB1OTgqIEQFAT9q9Wiqby gZIx7AQHdCsPMuJ5JSfdKNj8Tty9j2TOV4ICWbxpMKjmIte3I+3FO9ELplal2FYWK2t9 zR8RFRZH7TI04f4PZZXJCMPF65JiIYS6s0vU0pu1X4RNlaGCyyyhArKE/5QU2q8o40KC Ktnca6YGLaJ5G9DJaMofP5ztIYdH0bfMN2VA21ekXoHuoTi0Ic3QG65Pd5Dfs4aktleW 6SKMf0Kvh/etfmyYAWwNHjlnC3ZhhOAVnarhA5rKOOmrxoGOOx+g0AlzgrljmLTSf6mT wIqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="mfwPWEz/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a15si11748467edr.228.2020.11.30.00.27.28; Mon, 30 Nov 2020 00:27:50 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b="mfwPWEz/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727266AbgK3IY5 (ORCPT + 99 others); Mon, 30 Nov 2020 03:24:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727233AbgK3IY5 (ORCPT ); Mon, 30 Nov 2020 03:24:57 -0500 Received: from mail-pl1-x642.google.com (mail-pl1-x642.google.com [IPv6:2607:f8b0:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8EBD6C0617A7 for ; Mon, 30 Nov 2020 00:23:42 -0800 (PST) Received: by mail-pl1-x642.google.com with SMTP id k5so6076619plt.6 for ; Mon, 30 Nov 2020 00:23:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=swTJaeBCJSJ85jvGpvCNTGLd9zLi8EeqF0Ic677rVpg=; b=mfwPWEz/CJRM0/NB94KY/1D3XBd67iXUIfy+EQSaTUf0ytLC0Ukj0TlmUxpSAlxAKG sklU3ZWcikAGPOAQWpFn6bo56QzvuTFRHhRRAHzHzM+riPPuuw6Fqqz1hRE7COjgfYqj wcxBGbCqM8UcXvr2pOLJskDiFZVIkKV0XnijHaUtKYtMKoUTPy5Cj2msZ8pulle8/x0D YlZQZtMbL8iZAPxVty7oDcemvmygD4S6DaQJX5eZ4lhCyT5Uf5NY/dOtOmHtcGgC0Zi1 mt2Ag310MRyHBPPj9H/daPUGP8Sy5pdrfn3KcxnSbxAlicjedSbJvjp9aEQFQe0k/hpd /tgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=swTJaeBCJSJ85jvGpvCNTGLd9zLi8EeqF0Ic677rVpg=; b=BTFtlpXr32MBI5uBLnERs/UxVw45tI3tf2FvuvSwnl5l+5mMXXhzBJPNV+DHIO6JSO 4lJGaFf6ytM0IjCZi6RjVWulPzW2SHAWdu4WoUqZPSbuJlEJf3bG9OORh8ncTAj4eJvs u6Sfx9C4wOMgd5Y1omnzAIZSM7EOJLx1gVPsXMWQuAxwyzBatIL0oNTbc+jESZ/s1geY Pnz7dI6wJWNW3aRO6Rl1nAFCzzIjH0mdnSauIgiLVXjNmIWmpkDsIHVbJLRdLUwgh7Rd VyyO1E9TmYiHbHZin+mK6C8lAoajdG2ECWVAC/REnYhEd5n9bGY2P1BTm8xsyXMys141 fS1w== X-Gm-Message-State: AOAM5323KereDoXvVtn6GWbS0h8pbIgwQ3t5oxAQYhTXWSWdDumjdrf4 zCksWh1Gie3DDOX3I19GLu/soA== X-Received: by 2002:a17:902:144:b029:d7:dbfc:beee with SMTP id 62-20020a1709020144b02900d7dbfcbeeemr18091271plb.32.1606724622124; Mon, 30 Nov 2020 00:23:42 -0800 (PST) Received: from hsinchu02.internal.sifive.com (114-34-229-221.HINET-IP.hinet.net. [114.34.229.221]) by smtp.gmail.com with ESMTPSA id u1sm21265338pjn.40.2020.11.30.00.23.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Nov 2020 00:23:41 -0800 (PST) From: Zong Li To: paul.walmsley@sifive.com, palmer@dabbelt.com, sboyd@kernel.org, schwab@linux-m68k.org, pragnesh.patel@openfive.com, aou@eecs.berkeley.edu, mturquette@baylibre.com, yash.shah@sifive.com, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-riscv@lists.infradead.org Cc: Zong Li , Palmer Dabbelt , Pragnesh Patel Subject: [PATCH v5 2/5] clk: sifive: Use common name for prci configuration Date: Mon, 30 Nov 2020 16:23:27 +0800 Message-Id: <20201130082330.77268-3-zong.li@sifive.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201130082330.77268-1-zong.li@sifive.com> References: <20201130082330.77268-1-zong.li@sifive.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Use generic name CLK_SIFIVE_PRCI instead of CLK_SIFIVE_FU540_PRCI. This patch is prepared for fu740 support. Signed-off-by: Zong Li Reviewed-by: Palmer Dabbelt Acked-by: Palmer Dabbelt Reviewed-by: Pragnesh Patel --- arch/riscv/Kconfig.socs | 2 +- drivers/clk/sifive/Kconfig | 6 +++--- drivers/clk/sifive/Makefile | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/riscv/Kconfig.socs b/arch/riscv/Kconfig.socs index 8a55f6156661..3284d5c291be 100644 --- a/arch/riscv/Kconfig.socs +++ b/arch/riscv/Kconfig.socs @@ -5,7 +5,7 @@ config SOC_SIFIVE select SERIAL_SIFIVE if TTY select SERIAL_SIFIVE_CONSOLE if TTY select CLK_SIFIVE - select CLK_SIFIVE_FU540_PRCI + select CLK_SIFIVE_PRCI select SIFIVE_PLIC help This enables support for SiFive SoC platform hardware. diff --git a/drivers/clk/sifive/Kconfig b/drivers/clk/sifive/Kconfig index f3b4eb9cb0f5..ab48cf7e0105 100644 --- a/drivers/clk/sifive/Kconfig +++ b/drivers/clk/sifive/Kconfig @@ -8,12 +8,12 @@ menuconfig CLK_SIFIVE if CLK_SIFIVE -config CLK_SIFIVE_FU540_PRCI - bool "PRCI driver for SiFive FU540 SoCs" +config CLK_SIFIVE_PRCI + bool "PRCI driver for SiFive SoCs" select CLK_ANALOGBITS_WRPLL_CLN28HPC help Supports the Power Reset Clock interface (PRCI) IP block found in - FU540 SoCs. If this kernel is meant to run on a SiFive FU540 SoC, + FU540 SoCs. If this kernel is meant to run on a SiFive FU540 SoC, enable this driver. endif diff --git a/drivers/clk/sifive/Makefile b/drivers/clk/sifive/Makefile index 51b6ebc359e4..3074cdbc6009 100644 --- a/drivers/clk/sifive/Makefile +++ b/drivers/clk/sifive/Makefile @@ -1,2 +1,2 @@ # SPDX-License-Identifier: GPL-2.0-only -obj-$(CONFIG_CLK_SIFIVE_FU540_PRCI) += sifive-prci.o fu540-prci.o +obj-$(CONFIG_CLK_SIFIVE_PRCI) += sifive-prci.o fu540-prci.o -- 2.29.2