[PATCH v7 1/5] clk: sifive: Extract prci core to common base

Stephen Boyd sboyd at kernel.org
Wed Dec 16 15:21:12 EST 2020


Quoting Zong Li (2020-12-09 01:49:12)
> Extract common core of prci driver to an independent file, it could
> allow other chips to reuse it. Separate SoCs-dependent code 'fu540'
> from prci core, then we can easily add 'fu740' later.
> 
> Almost these changes are code movement. The different is adding the
> private data for each SoC use, so it needs to get match data in probe
> callback function, then use the data for initialization.
> 
> Signed-off-by: Zong Li <zong.li at sifive.com>
> Reviewed-by: Pragnesh Patel <Pragnesh.patel at sifive.com>
> Acked-by: Palmer Dabbelt <palmerdabbelt at google.com>
> ---

Applied to clk-next



More information about the linux-riscv mailing list