From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fabrizio Castro Subject: [RFC 11/37] soc: renesas: rcar-rst: Document generic compatible strings Date: Thu, 25 Jan 2018 18:02:45 +0000 Message-ID: <1516903391-30467-12-git-send-email-fabrizio.castro@bp.renesas.com> References: <1516903391-30467-1-git-send-email-fabrizio.castro@bp.renesas.com> Return-path: In-Reply-To: <1516903391-30467-1-git-send-email-fabrizio.castro-kTT6dE0pTRh9uiUsa/gSgQ@public.gmane.org> Sender: linux-watchdog-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Philipp Zabel , Rob Herring , Mark Rutland , Wim Van Sebroeck , Russell King , Catalin Marinas , Will Deacon , Michael Turquette , Stephen Boyd , Simon Horman , Magnus Damm , Geert Uytterhoeven Cc: Guenter Roeck , devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-watchdog-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-renesas-soc-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, linux-clk-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Chris Paterson , Biju Das , Fabrizio Castro , Ramesh Shanmugasundaram List-Id: devicetree@vger.kernel.org >>From now on, devices compatible with the generic compatible strings documented by this commit don't need to modify the corresponding driver anymore. Signed-off-by: Fabrizio Castro Signed-off-by: Ramesh Shanmugasundaram --- Documentation/devicetree/bindings/reset/renesas,rst.txt | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Documentation/devicetree/bindings/reset/renesas,rst.txt b/Documentation/devicetree/bindings/reset/renesas,rst.txt index a8014f3..2602a19 100644 --- a/Documentation/devicetree/bindings/reset/renesas,rst.txt +++ b/Documentation/devicetree/bindings/reset/renesas,rst.txt @@ -11,7 +11,10 @@ following functions: Required properties: - - compatible: Should be + - compatible: Should be a SoC specific string, followed by a generic + fallback compatible string when compatible with the generic + version. + The SoC specific compatible string should be: - "renesas,-reset-wdt" for R-Car Gen1, - "renesas,-rst" for R-Car Gen2 and Gen3, and RZ/G Examples with soctypes are: @@ -28,12 +31,16 @@ Required properties: - "renesas,r8a7796-rst" (R-Car M3-W) - "renesas,r8a77970-rst" (R-Car V3M) - "renesas,r8a77995-rst" (R-Car D3) + The generic compatible string should be: + - "renesas,rcar-gen1-rst" for R-Car Gen1 + - "renesas,rcar-gen2-rst" for R-Car Gen2 and RZ/G + - "renesas,rcar-gen3-rst" for R-Car Gen3 - reg: Address start and address range for the device. Example: rst: reset-controller@e6160000 { - compatible = "renesas,r8a7795-rst"; + compatible = "renesas,r8a7795-rst", "renesas,rcar-gen3-rst"; reg = <0 0xe6160000 0 0x0200>; }; -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html