Hi Simon, On Wed, Jun 1, 2016 at 2:25 AM, Simon Horman <horms@xxxxxxxxxxxx> wrote: > On Wed, Jun 01, 2016 at 01:20:11AM +0300, Sergei Shtylyov wrote: >> Renesas R8A7792 SoC is a member of the R-Car gen2 family and so has CPG... >> >> Signed-off-by: Sergei Shtylyov <sergei.shtylyov@xxxxxxxxxxxxxxxxxx> > > I think the prefix of this patch should be "clk: shmobile: rcar-gen2: " Almost, "clk: renesas: rcar-gen: " ;-) > I apologise if I have missed a discussion of this topic or if my analysis > is wrong for some reason but I am curious to know what the intended way > is for the rcar-gen2 CPG driver to handle differences in the availability > of clocks across different SoCs. > > My possibly naïve expectation is that the implementation would use compat > strings. But as it stands it appears that all clocks supported by the > driver are available for all SoCs. This does not seem to reflect the > documentation (v2.00). Differentiaton is not done using compat strings, but using clock-output-names. The driver only instantiates the clocks that are listed there. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds