Re: [PATCH/RFC v2 4/4] clk: shmobile: rcar-gen2: Switch from old MSTP to new MSSR driver
From: Magnus Damm <magnus.damm@gmail.com>
Date: 2015-09-29 13:30:30
Also in:
linux-clk, linux-pm, linux-sh
From: Magnus Damm <magnus.damm@gmail.com>
Date: 2015-09-29 13:30:30
Also in:
linux-clk, linux-pm, linux-sh
Hi Geert, On Tue, Sep 29, 2015 at 9:48 PM, Geert Uytterhoeven [off-list ref] wrote:
On Tue, Sep 22, 2015 at 5:44 PM, Geert Uytterhoeven [off-list ref] wrote:quoted
--- a/drivers/clk/shmobile/clk-rcar-gen2.c +++ b/drivers/clk/shmobile/clk-rcar-gen2.c@@ -431,7 +431,7 @@ static void __init rcar_gen2_cpg_clocks_init(struct device_node *np) of_clk_add_provider(np, of_clk_src_onecell_get, &cpg->data); - cpg_mstp_add_clk_domain(np); + cpg_mssr_add_clk_domain(np);Of course this should become conditional on the presence of the new "renesas,r8a7791-cpg-mssr" compatible value, to preserve backwards-compatibility with old DTSes.
Yeah, and we should probably link in both clk-mstp.o and clk-mssr.o for older SoCs. Cheers, / magnus