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

Sean Anderson seanga2 at gmail.com
Fri Oct 16 10:17:43 EDT 2020


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
> 




More information about the linux-riscv mailing list