[PATCH v11 2/8] drivers: clk: add fu740 support

Leo Liang ycliang at andestech.com
Mon May 24 12:31:58 CEST 2021


On Thu, May 20, 2021 at 03:40:27PM +0800, Green Wan wrote:
> Add fu740 support. One abstract layer is added for supporting
> multiple chips such as fu540 and fu740.
> 
> Signed-off-by: Green Wan <green.wan at sifive.com>
> ---
>  arch/riscv/cpu/fu540/Kconfig     |   2 +-
>  drivers/clk/sifive/Kconfig       |   8 +-
>  drivers/clk/sifive/Makefile      |   4 +-
>  drivers/clk/sifive/fu540-prci.c  | 769 +------------------------------
>  drivers/clk/sifive/fu540-prci.h  |  22 +
>  drivers/clk/sifive/fu740-prci.c  | 158 +++++++
>  drivers/clk/sifive/fu740-prci.h  |  22 +
>  drivers/clk/sifive/sifive-prci.c | 733 +++++++++++++++++++++++++++++
>  drivers/clk/sifive/sifive-prci.h | 323 +++++++++++++
>  drivers/reset/Kconfig            |   2 +-
>  10 files changed, 1288 insertions(+), 755 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
> 

Reviewed-by: Leo Yu-Chi Liang <ycliang at andestech.com>


More information about the U-Boot mailing list