Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1712943pxb; Fri, 20 Nov 2020 17:32:15 -0800 (PST) X-Google-Smtp-Source: ABdhPJylL7B7MCNTdeJx3s3U1UrxzMJnqYw8PN6cnmr1UJ5g7dKkIowPPIX9Pd+xdEV5eGl0wffy X-Received: by 2002:a17:906:4059:: with SMTP id y25mr35439761ejj.498.1605922335742; Fri, 20 Nov 2020 17:32:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605922335; cv=none; d=google.com; s=arc-20160816; b=n27bQaYtMlV5jAAaX7aVTngQmcNVoDtIkfNrlS+0LKnodmgRn+yQAkkv6LDtNXsOrp g03yVGSGeX1vkMvrmsEzsnfIPE5vcH80P6QQhJlp+ZPFlxlyEA3qxozJu1/T90PiW1kM HyHGPortax0lQF0f0KAIkBlqCU5Vi/P21Jc+X68OZbCL6E4LaqWoPuy3jdU7GV/hH0Ri NWy9Mgggmy7ZMspgz+KxyJYt7TVjoWRPhf9jZXgEQoqo0qGnreA48kAEzHYlqpZ1A95r 4BRKSY5JlvSMxDlN7jIZyOsd+tafAH1qRIM4v6oCILe0yRjvbdZoCCZ1zyfHKlwRNrXl JZpw== 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:to:from:cc:in-reply-to:subject:date:dkim-signature; bh=NTIUti1OpkmP1EJeSjOGSHTMPVhCrbNNUIn61ZG384k=; b=Epe30mnOVuR6OyQX5neVDt1tZIKxPFPpbIpLVHWW95jlUZG/TdRDznV0tB3IJxlqAL nsTj5RnfMrh0HWlX8D9tHtskPirXg04Nna4Z+IQywo5D2m1E5jL2XkNbKgzTYOcQlRCM 0VeQ95JJ6RAfgmg3X4FLYOZ7N/B4FnRnRR8+pYw9J0XoHrrPcfd00Z225xgKfWvWXxZi CsQ08J5O6iVWxnV5yFyAutO5q3bbBCFkK1RTtDiTPjgPnxHt0/CfbqEqd+1CBfVWes2g Tm5ecp2mQDAQ4NSvwvloq9LFe7m270Zsx3TE7/KkZZ0+v1dF3RfTRHvo77yUMIrJcWBa IJqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=0hdfK3g9; 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 m15si2685974eda.302.2020.11.20.17.31.52; Fri, 20 Nov 2020 17:32:15 -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=@dabbelt-com.20150623.gappssmtp.com header.s=20150623 header.b=0hdfK3g9; 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 S1728262AbgKUB31 (ORCPT + 99 others); Fri, 20 Nov 2020 20:29:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725890AbgKUB31 (ORCPT ); Fri, 20 Nov 2020 20:29:27 -0500 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 52444C061A04 for ; Fri, 20 Nov 2020 17:29:25 -0800 (PST) Received: by mail-pg1-x542.google.com with SMTP id j19so8824130pgg.5 for ; Fri, 20 Nov 2020 17:29:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dabbelt-com.20150623.gappssmtp.com; s=20150623; h=date:subject:in-reply-to:cc:from:to:message-id:mime-version :content-transfer-encoding; bh=NTIUti1OpkmP1EJeSjOGSHTMPVhCrbNNUIn61ZG384k=; b=0hdfK3g94oTXJCO7jmp7feme5W90zhh8KAtY4W/xPC+Ibe6jZH2suPKRs191Ut85UR UjJ5PHVkzHLT0nD6DP3GgEliyuZ48VjcPkCX+QVWsbn6EWhZEqvXnjp/g8Etx/0xEhvl CmRGem/xk/JPkKj6IH5nf6odmNH3Rk5UrS2gXhR1YbNkHGDhsv9ONWrH+IyIFoHeYrLr dvADzjiSbrdp+8p7foWvwPYeloHAUcCdhowFqWObmHNbK4zU8GJcWHq+p1ZgMqgv3XRX edAbKn7A+QN1aJhxaEpOQpVp6JY/wyJoqntRngNj1JG0CT3WIaNLQK+ID5m9LUF9WO6N XMIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:subject:in-reply-to:cc:from:to:message-id :mime-version:content-transfer-encoding; bh=NTIUti1OpkmP1EJeSjOGSHTMPVhCrbNNUIn61ZG384k=; b=GiCzp1JUPRyLmDEgRXv+/sGJi1qc0pNAROrFW9GRq7dCqQOGW9BMpsCEfYvBJA8JMN yZ5vjhuY21XtrS397ZHbXYcEubHSt6leQEH1VmuNgCbJ67NEdwWlhTveVDoz65wMcsp7 knwoTpZCyZAgWdIXdsGplCw9Sf5sucAkIFS5tmbKNp0PKdmsH8tBNDporkBzTRDgpxAW 5K4isPv2z6v7ZzFHzj66SBia8K4i6J0egjPkCCl1j1uO2LZKSDEUZBro99oinHweCc4z KxgsmhqYOSkCW+l0AZBX0LQVfwsvIKpwhu/hanZgPV19E4f1Yd2x/izkWGj68F0e3Wl1 69MQ== X-Gm-Message-State: AOAM532pYOqpn2uwPj2pG7JrFfPa/h8JrrPFEBCkTxZAo6kHfU4KpAZE H0oOZxfm0CZ9Dj1VKbYUD3qFLw== X-Received: by 2002:a63:8149:: with SMTP id t70mr19717409pgd.80.1605922164501; Fri, 20 Nov 2020 17:29:24 -0800 (PST) Received: from localhost (76-210-143-223.lightspeed.sntcca.sbcglobal.net. [76.210.143.223]) by smtp.gmail.com with ESMTPSA id s21sm4339168pgk.52.2020.11.20.17.29.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 17:29:23 -0800 (PST) Date: Fri, 20 Nov 2020 17:29:23 -0800 (PST) X-Google-Original-Date: Fri, 20 Nov 2020 17:13:18 PST (-0800) Subject: Re: [PATCH v4 2/4] clk: sifive: Use common name for prci configuration In-Reply-To: <20201111100608.108842-3-zong.li@sifive.com> CC: Paul Walmsley , 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, zong.li@sifive.com, Pragnesh.patel@sifive.com From: Palmer Dabbelt To: zong.li@sifive.com Message-ID: Mime-Version: 1.0 (MHng) Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 11 Nov 2020 02:06:06 PST (-0800), zong.li@sifive.com wrote: > 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, This just removes the double-space. Presumably in should also remove the "FU540", as this clock driver will now function for multiple SiFive SOCs? > 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 Probably best to rename the source file as well.