]> git.baikalelectronics.ru Git - kernel.git/commit
clk: sifive: Add a driver for the SiFive FU740 PRCI IP block
authorZong Li <zong.li@sifive.com>
Wed, 9 Dec 2020 09:49:14 +0000 (17:49 +0800)
committerStephen Boyd <sboyd@kernel.org>
Wed, 16 Dec 2020 20:22:59 +0000 (12:22 -0800)
commit8b13c9b63c1ee6250f15df5e3acea5cffadc5264
treef21e5b2022b7d8f522140fd4a27fa719507dc070
parentb39d57f3be8e37a9b68ac6edc380b32a2dc297e8
clk: sifive: Add a driver for the SiFive FU740 PRCI IP block

Add driver code for the SiFive FU740 PRCI IP block. This IP block
handles reset and clock control for the SiFive FU740 device and
implements SoC-level clock tree controls and dividers.

The link of unmatched as follow, and the U740-C000 manual would
be present in the same page as soon.
https://www.sifive.com/boards/hifive-unmatched

This driver contains bug fixes and contributions from
Henry Styles <hes@sifive.com>
Erik Danie <erik.danie@sifive.com>
Pragnesh Patel <pragnesh.patel@sifive.com>

Signed-off-by: Zong Li <zong.li@sifive.com>
Reviewed-by: Pragnesh Patel <Pragnesh.patel@sifive.com>
Acked-by: Palmer Dabbelt <palmerdabbelt@google.com>
Cc: Henry Styles <hes@sifive.com>
Cc: Erik Danie <erik.danie@sifive.com>
Cc: Pragnesh Patel <pragnesh.patel@sifive.com>
Link: https://lore.kernel.org/r/20201209094916.17383-4-zong.li@sifive.com
[sboyd@kernel.org: Include header to silence sparse]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/sifive/Kconfig
drivers/clk/sifive/Makefile
drivers/clk/sifive/fu740-prci.c [new file with mode: 0644]
drivers/clk/sifive/fu740-prci.h [new file with mode: 0644]
drivers/clk/sifive/sifive-prci.c
drivers/clk/sifive/sifive-prci.h
include/dt-bindings/clock/sifive-fu740-prci.h [new file with mode: 0644]