mbox series

[0/4] clk: add driver for the SiFive FU740

Message ID cover.1602838910.git.zong.li@sifive.com (mailing list archive)
Headers show
Series clk: add driver for the SiFive FU740 | expand

Message

Zong Li Oct. 16, 2020, 9:18 a.m. UTC
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
  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

Comments

Sean Anderson Oct. 16, 2020, 2:17 p.m. UTC | #1
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

>   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
>
Zong Li Oct. 16, 2020, 2:56 p.m. UTC | #2
On Fri, Oct 16, 2020 at 10:17 PM Sean Anderson <seanga2@gmail.com> 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
> >
>
Zong Li Nov. 4, 2020, 6:37 a.m. UTC | #3
On Fri, Oct 16, 2020 at 10:56 PM Zong Li <zong.li@sifive.com> wrote:
>
> On Fri, Oct 16, 2020 at 10:17 PM Sean Anderson <seanga2@gmail.com> 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