[PATCH v2 3/3] clocksource: sh_tmu: Document r8a7779 binding
From: horms@verge.net.au (Simon Horman)
Date: 2014-09-06 01:21:38
Also in:
linux-devicetree, linux-sh
On Thu, Sep 04, 2014 at 10:00:03AM +0300, Laurent Pinchart wrote:
Hi Simon, Thank you for the patch. On Thursday 04 September 2014 09:55:21 Simon Horman wrote:quoted
In general Renesas hardware is not documented to the extent where the relationship between IP blocks on different SoCs can be assumed although they may appear to operate the same way. Furthermore the documentation typically does not specify a version for individual IP blocks. For these reasons a convention of using the SoC name in place of a version and providing SoC-specific compat strings has been adopted. Although not universally liked this convention is used in the bindings for a number of drivers for Renesas hardware. The purpose of this patch is to update the Renesas R-Car Timer Unit (TMU) driver to follow this convention. Signed-off-by: Simon Horman <redacted> Acked-by: Geert Uytterhoeven <geert+renesas@glider.be> --- * I plan to follow up with a patch patch to use the new binding in the dtsi files for the r8a7779 SoC. commit 471269b790aec03385dc4fb127ed7094ff83c16d v2 * Suggestions by Mark Rutland and Sergei Shtylyov - Compatible strings should be "one or more" not "one" of those listed - Describe the generic binding as covering any MTU2 device - Re-order compat strings from most to least specific --- Documentation/devicetree/bindings/timer/renesas,tmu.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)diff --git a/Documentation/devicetree/bindings/timer/renesas,tmu.txtb/Documentation/devicetree/bindings/timer/renesas,tmu.txt index 425d0c5..f9a9545 100644--- a/Documentation/devicetree/bindings/timer/renesas,tmu.txt +++ b/Documentation/devicetree/bindings/timer/renesas,tmu.txt@@ -8,7 +8,9 @@ are independent. The TMU hardware supports up to threechannels. Required Properties: - - compatible: must contain "renesas,tmu" + - compatible: must contain one or more of the following: + - "renesas,tmu-r8a7779" R8A7779 TMU + - "renesas,tmu" any TMUHow about matching the wording of patch 1/3 with - "renesas,tmu-r8a7779" for the R8A7779 TMU - "renesas,tmu" for any TMU. This is a fallback for the above renesas,tmu-* entries Same comment for patch 2/3. With this change, Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Thanks, will do.