dt-bindings: display: renesas: du: Document optional reset properties
authorGeert Uytterhoeven <geert+renesas@glider.be>
Fri, 14 Feb 2020 08:26:23 +0000 (09:26 +0100)
committerLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Wed, 13 May 2020 23:10:52 +0000 (02:10 +0300)
Document the optional properties for describing module resets, to
support resetting display channels on R-Car Gen2 and Gen3.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Rob Herring <robh@kernel.org>
Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Documentation/devicetree/bindings/display/renesas,du.txt

index eb4ae41fe41f83c73d0269146e20d55f0349b115..51cd4d1627703a154ce3318f0df9006636c1c564 100644 (file)
@@ -50,6 +50,14 @@ Required Properties:
     VSP instance that serves the DU channel, and the channel index identifies
     the LIF instance in that VSP.
 
+Optional properties:
+  - resets: A list of phandle + reset-specifier pairs, one for each entry in
+    the reset-names property.
+  - reset-names: Names of the resets. This property is model-dependent.
+    - All but R8A7779 use one reset for a group of one or more successive
+      channels. The resets must be named "du.x" with "x" being the numerical
+      index of the lowest channel in the group.
+
 Required nodes:
 
 The connections to the DU output video ports are modeled using the OF graph
@@ -96,6 +104,8 @@ Example: R8A7795 (R-Car H3) ES2.0 DU
                         <&cpg CPG_MOD 722>,
                         <&cpg CPG_MOD 721>;
                clock-names = "du.0", "du.1", "du.2", "du.3";
+               resets = <&cpg 724>, <&cpg 722>;
+               reset-names = "du.0", "du.2";
                renesas,cmms = <&cmm0>, <&cmm1>, <&cmm2>, <&cmm3>;
                renesas,vsps = <&vspd0 0>, <&vspd1 0>, <&vspd2 0>, <&vspd0 1>;