Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1082351pxb; Tue, 3 Nov 2020 22:41:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJzZ8drzznfgSKELzFqYRwMBSbdViUEGdYarr1/kGehvotTJirgXtV2yYLM/yzSe5uYofvjm X-Received: by 2002:a17:906:7cc:: with SMTP id m12mr4797347ejc.365.1604472084877; Tue, 03 Nov 2020 22:41:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604472084; cv=none; d=google.com; s=arc-20160816; b=H15rmaa5QsFGDL35WvYKbNl4bb3aDNO8LNQvLfn3ZUecL56j81Pz3SeVtI1nPFvtuf csACSOXA8psJNEOUCwI5gC6f1TvBSYm/ADOL2Y2DLkzGDcGOWJkyNzIRWTUx4PyDeZqe 2tq+hkX9uMiK6Fz5I/d1RvDCZPwSurNHJWfUzPmfqVEHYfV7ZZuxg8YXQZdcsNZS2vY7 AhNtXdUvM49i8FbM5He6h4RNhXUSJgUFcboPlUybWqSPuPFM/dZOSsW2W7svJY24YkIh bB7D6U0K/coga1FH3YPGIEftWF64torWXBqPx941X+wJIYL+tIpJ3qnwGwVSD1Paqrid DiYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=NdyAupHoBSpX8M4LNhpuR15yjy0bTroUkv3Rh3Q8LnI=; b=Xb4kEFxih2WuHm40diviZZQssxXP+ZDQ+qBtQpUxO64xlre1UJbAaxKJCA44r/zRnt xy7JnHADAU/Iqba92yTawaOpmAXclFETTq4cHq2MvtaIr/C6ocNkyxKG4e41T+ebkPVw KWfkTEhXY2ffdIpOJnW44IT6g2Xz71MZ7DEEkTC8iwPKNEC7Ciy1ibDikocdgFaYfKWA 2/QZuHrFQjRrYMwwtDvc1EKhl9MeWXecFZV66q1GnRH2o47mxjurRkQGbBAnZZCvp3ih Z9n0WpCCqvnnn6JtHeLPcX2EWrmLmJaNpk5YK35OWZwkZPT5KS4MQvqW6zzNUceKOvE3 EdIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sifive.com header.s=google header.b=EK8UYcc+; 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 oi22si1016156ejb.466.2020.11.03.22.41.01; Tue, 03 Nov 2020 22:41:24 -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=EK8UYcc+; 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 S1725946AbgKDGha (ORCPT + 99 others); Wed, 4 Nov 2020 01:37:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56508 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725775AbgKDGha (ORCPT ); Wed, 4 Nov 2020 01:37:30 -0500 Received: from mail-oi1-x244.google.com (mail-oi1-x244.google.com [IPv6:2607:f8b0:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 947D7C040203 for ; Tue, 3 Nov 2020 22:37:28 -0800 (PST) Received: by mail-oi1-x244.google.com with SMTP id w145so15456579oie.9 for ; Tue, 03 Nov 2020 22:37:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sifive.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=NdyAupHoBSpX8M4LNhpuR15yjy0bTroUkv3Rh3Q8LnI=; b=EK8UYcc+V7mbPA5bIGcRMagowbDawbm+GUFAp0Zae+iwnjhU3XDGEG2pQWoO7dNIiH iROpuEoA50KNMGEgL2wvanozsOfE1uO5ufljm7v1JPHmmN1ma7YuJdt3JB1z02wC5rdN TFyqiALsjwDjp3oFLw72sa0Kj37oaj2wOpx7bQFOkm8Cb1ZQbkTGzlFClXkwCMl86agQ vqLdQr8HHLYy4eBSo0trBzkTVod5SCD4rv5xzwh8q7OADK0yWqvpYt8Z/e2p1zUYjNHC +WyOYPbfXaO1yHXAYgy/RU7VpTdpFmxb493pHA5MqL9mETHw3XAMfowwbvag06WFiGfQ KS9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NdyAupHoBSpX8M4LNhpuR15yjy0bTroUkv3Rh3Q8LnI=; b=BtT9y9iMieuN7z9lTUmsmkJwTsJ2VaWTAFGUhm6C98y+3sq47knad/51NhB+MpxRJR kC5Jk/3Q7GrqIa4fxCL2q30ytES5AofmAcsNE9lF/Yi/Ha06zUo9AuraVobO++TOvUMg iMl2gZkTfu2cTYtT7fxqsx6RHylTMzdQbEp1jfdM/UVp8zAuhY00XWYJUi3dFM0lToz+ SA8mMwUPZ8fytN+AqbXZjuvWUxDdlw0M1nJ+IGVtGY5fOpS8+Y7pY3hgRa5d8BNe2i6v V034ZYdLqd9yG7gyjZ3lKnvOs/AQPZTkJ3QKZfNGfQZPZXWf0yelAEOXvBMJfYgDx4Q9 XhtQ== X-Gm-Message-State: AOAM532ZmJIynMUe6wHFe0Vj2yxwVgXbmIDwxOFXV5SQASQgbbzpqAVa TTkzzqaRtnJHZvXbRyzo4qJ9V7MX6gwTXiIsLgZYnXvGyGg= X-Received: by 2002:aca:4b82:: with SMTP id y124mr1676328oia.35.1604471847796; Tue, 03 Nov 2020 22:37:27 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Zong Li Date: Wed, 4 Nov 2020 14:37:16 +0800 Message-ID: Subject: Re: [PATCH 0/4] clk: add driver for the SiFive FU740 To: Sean Anderson Cc: Paul Walmsley , Palmer Dabbelt , Albert Ou , Michael Turquette , sboyd@kernel.org, Yash Shah , "linux-kernel@vger.kernel.org List" , linux-clk@vger.kernel.org, linux-riscv Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Oct 16, 2020 at 10:56 PM Zong Li wrote: > > On Fri, Oct 16, 2020 at 10:17 PM Sean Anderson wrote: > > > > On 10/16/20 5:18 AM, Zong Li wrote: > > > Add a driver for the SiFive FU740 PRCI IP block, which handles more > > > clocks than FU540. These patches also refactor the original > > > implementation by spliting the dependent-code of fu540 and fu740 > > > respectively. > > > > > > Zong Li (4): > > > clk: sifive: Extract prci core to common base > > > > I don't see this patch, and it isn't listed on the web archive. Was it > > not CC'd to this list? > > > > --Sean > > > > There is a problem on linux-riscv mailing list for the first one > patch, the size of it is too big, it needs to be approved and posted > on the list by moderator. > > This patch set is also sent to clk mailing list, and I can see it on that: > https://patchwork.kernel.org/project/linux-clk/patch/b10784643665ad56ca41ea6754c7f28f8be1c7ca.1602838910.git.zong.li@sifive.com/ > > > > > > > clk: sifive: Use common name for prci configuration > > > clk: sifive: Add a driver for the SiFive FU740 PRCI IP block > > > clk: sifive: Refactor __prci_clock array by using macro > > > > > > arch/riscv/Kconfig.socs | 2 +- > > > drivers/clk/sifive/Kconfig | 8 +- > > > drivers/clk/sifive/Makefile | 5 +- > > > drivers/clk/sifive/fu540-prci.c | 618 +----------------- > > > drivers/clk/sifive/fu540-prci.h | 21 + > > > drivers/clk/sifive/fu740-prci.c | 102 +++ > > > drivers/clk/sifive/fu740-prci.h | 21 + > > > drivers/clk/sifive/sifive-prci.c | 529 +++++++++++++++ > > > drivers/clk/sifive/sifive-prci.h | 297 +++++++++ > > > include/dt-bindings/clock/sifive-fu740-prci.h | 23 + > > > 10 files changed, 1032 insertions(+), 594 deletions(-) > > > create mode 100644 drivers/clk/sifive/fu540-prci.h > > > create mode 100644 drivers/clk/sifive/fu740-prci.c > > > create mode 100644 drivers/clk/sifive/fu740-prci.h > > > create mode 100644 drivers/clk/sifive/sifive-prci.c > > > create mode 100644 drivers/clk/sifive/sifive-prci.h > > > create mode 100644 include/dt-bindings/clock/sifive-fu740-prci.h > > > > > ping