Hi Laurent > > Please correct me if my understanding was wrong. > > Does your "of_clk_get_parent_name()" means "case R8A7790_CLK_MAIN"'s one ? > > If Yes, it is needed on "parent" clock side, not here ? > > If No, who need/call of_clk_get_parent_name() for this ? > > does "qspi", "sdh", "sd0", "sd1" can be parent clock for some device ?? > > All those clocks are parents of other clocks (DIV6, MSTP or fixed-factor > clocks). The DIV6, MSTP and fixed-factor clock drivers call > of_clk_get_parent_name() to get the name of their parent clock, which is > required to register the clocks with CCF. See of_fixed_factor_clk_setup() for > instance. Ahh... OK, I understand. Hmm... I guesss We can use [1/3] and [2/3] patches for all Renesas SoC as generic driver, but, all SoC needs clk/shmobile/clk-xxxx.c like [3/3]. Because it has SoC special divider values. Is this correct ? Now, your [1/3] patch (= for MSTP) added renesas special property as "renesas,clock-indices". Is it impossible to add renesas special property like "renesas,clock-custom-divider" which can specify custom divider values in generic cpg driver ? If we can have it, all Renesas SoC can use generic driver ? Best regards --- Kuninori Morimoto -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html