Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp231479pxb; Wed, 11 Nov 2020 02:08:49 -0800 (PST) X-Google-Smtp-Source: ABdhPJwCJfDdtcWrd7vk1YDPccTdmxRBtGr/qvS5m/231HWEiZWG1uxUKlvv+FaZZmJblIkX+UHY X-Received: by 2002:a05:6402:1c0c:: with SMTP id ck12mr4159296edb.327.1605089329206; Wed, 11 Nov 2020 02:08:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605089329; cv=none; d=google.com; s=arc-20160816; b=LNI+JZvx52v9evu+pmLJrj5eCMLO8ATF3ujWBOqhH/FjrOYS0yKHG1UkyOwoZzZYac Rzpy5axnaNlFI9H5ZL2n3L4LFT0ga2rMT+ZtVaEnz+fHVKaOjDP1sZ7eXIQeWpw0gU7r WXtyU3GhCmT2c9+6qZVy7zqiK42iDIpTVrVF0tktioBXLWcb6Xo34ELLQvH9jFfOdH0L cEC4zJVf4LEwQ1iT9uB4IbpTw0zUYP/vyP7NVeb5zOkFbhubwb7qgvZveS0NW7hA1xe5 H7Wbd/IDpR+9O4Khf8/btB+6iyab6noAms2JspepoUdy/iEEpc/SByvI50lLAuxbqVxo 6tIg== 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=jUzLpOLCCQxDI0oXwDQj4vn2ea5xlcrxx/Uo+2NUKPY=; b=Vt0sUQ7n7w4hoypPWthqBGVE11iG7YtsN76QT1KZ+Yb9NEzOYPDBFDxvnsGFNRSiLB Ecj/xChoqeozP00jyz65CQYa7hLRjrpfZ90ZFaKBSAiHYEaaEH4Rw0Qs3uOJpSYrFRYe hS7B9XyUhm0T4xVH036ENnXzol9ExdA8AJ7joueSYMpXM7J1czNLMe4uzFaUugeZhT8X 1F8QL6oZte3nE4rKI/c+xzYWg4yiAHeHrHklhtyYSUEaZ+XCngX3OhOCThND6LLrx2Ou X6mIuJj59VC7CEIUgDkY1mqQnHboLm6iyjL8KV/3Wq9O+0da+muvowBKNbN7RCwNWhTh udaQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=GC+wCOZX; 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 a23si1191685edn.292.2020.11.11.02.08.25; Wed, 11 Nov 2020 02:08:49 -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=GC+wCOZX; 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 S1727337AbgKKKGY (ORCPT + 99 others); Wed, 11 Nov 2020 05:06:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48894 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727340AbgKKKGT (ORCPT ); Wed, 11 Nov 2020 05:06:19 -0500 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0ADBC0617A6 for ; Wed, 11 Nov 2020 02:06:19 -0800 (PST) Received: by mail-pf1-x443.google.com with SMTP id z3so1295404pfb.10 for ; Wed, 11 Nov 2020 02:06:19 -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=jUzLpOLCCQxDI0oXwDQj4vn2ea5xlcrxx/Uo+2NUKPY=; b=GC+wCOZXigNUTzVyZoZ5sQt0B+qGYQ1rxmobkqe9PjmIvCc/rsn/BC8H3SYZc1hh7I ccETM+g3YzkfkhlvzwnMVXtFwOcS9ucDcp9DLB0k6R0WOAdnNzMABEvcf5WqS0Im3vSN Q8DKnOqwENJeRcYAZBFf2Cm/JpxjIZlkTedy2/RlgQ0hj60kJk9yTI6lvt4enmm9Rhhq 00HHbUlbR28KDigrln9y4ub2QAB8IT1RoQdrVL8NlXWcUK/g1VPzGDK9B1xJ0dx8NrNO 0WrqDqiHfe0ve9o60xGs5YrUO4zAbx/BYypBao5sHykIa0P47nR/r9/I5PDEpjN94jxC sPuw== 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=jUzLpOLCCQxDI0oXwDQj4vn2ea5xlcrxx/Uo+2NUKPY=; b=HfqH4xQZVKdkv3gn5ejOtBsNh4+r08AegC/TnrpO9fgBmulVwhCO0Ntp67NmZNN1CW OXkTnnTrCeJ7kHIVMiE96o8rrPUsST6IfGGpXa26QYmxN90S3imQ47NyIsXpBLO82h2T rgTa6tWzZgU4K6q7U+uHSfqdmI86yONaIy9R5C2SiVdY2gEDgiwUDrZDWPSkBrsRMzoU EmYktRCb8XMNCyhPliDHvH8FiZvX3WZs2tw6ehm4jb13FU+kS2748RKRvMYEf0J6x5YC tpdRmO1uoGTp+gKG3xOLJtHDL3X3myBHMcQ1WKDNMJbM/H0bsLzmdc7XsBL72tSX8Bxb MN6g== X-Gm-Message-State: AOAM531O1ncVqdoep1J8WkMeA40LqNs+HAodoLod4cXgkvtosJamVQxp TZDozGTnZyMeo2FJwjGbxF/YiQ== X-Received: by 2002:a63:e650:: with SMTP id p16mr20477838pgj.295.1605089179165; Wed, 11 Nov 2020 02:06:19 -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 u22sm1872801pgf.24.2020.11.11.02.06.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 Nov 2020 02:06:18 -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 v4 2/4] clk: sifive: Use common name for prci configuration Date: Wed, 11 Nov 2020 18:06:06 +0800 Message-Id: <20201111100608.108842-3-zong.li@sifive.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20201111100608.108842-1-zong.li@sifive.com> References: <20201111100608.108842-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 627effe2ece1..fe3e2cb4c4d8 100644 --- a/drivers/clk/sifive/Makefile +++ b/drivers/clk/sifive/Makefile @@ -1,4 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only obj-y += sifive-prci.o -obj-$(CONFIG_CLK_SIFIVE_FU540_PRCI) += fu540-prci.o +obj-$(CONFIG_CLK_SIFIVE_PRCI) += fu540-prci.o -- 2.29.2