From mboxrd@z Thu Jan 1 00:00:00 1970 From: Geert Uytterhoeven Subject: Re: [PATCH 05/13] DT: clock: rcar-gen2-cpg-clocks: document R8A7792 support Date: Wed, 1 Jun 2016 09:50:33 +0200 Message-ID: References: <13205049.n7pM8utpHF@wasted.cogentembedded.com> <4688920.9Ektl04hDh@wasted.cogentembedded.com> <20160601002535.GB20527@verge.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: In-Reply-To: <20160601002535.GB20527@verge.net.au> Sender: linux-renesas-soc-owner@vger.kernel.org To: Simon Horman Cc: Sergei Shtylyov , linux-renesas-soc@vger.kernel.org, Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , "devicetree@vger.kernel.org" , Geert Uytterhoeven List-Id: devicetree@vger.kernel.org Hi Simon, On Wed, Jun 1, 2016 at 2:25 AM, Simon Horman 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 > > 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 anal= ysis > is wrong for some reason but I am curious to know what the intended w= ay > is for the rcar-gen2 CPG driver to handle differences in the availabi= lity > of clocks across different SoCs. > > My possibly na=C3=AFve expectation is that the implementation would u= se 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@linux-= m68k.org In personal conversations with technical people, I call myself a hacker= =2E But when I'm talking to journalists I just say "programmer" or something li= ke that. -- Linus Torvalds