]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
Documentation: devicetree: bindings: drm: xilinx: Of graph binding
authorHyun Kwon <hyun.kwon@xilinx.com>
Thu, 2 Feb 2017 19:00:58 +0000 (00:30 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Fri, 3 Feb 2017 09:41:24 +0000 (10:41 +0100)
OF graph binding is supported to define connectivity between
Xilinx DRM and encoder devices.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Reviewed-by: Hyun Kwon <hyunk@xilinx.com
Documentation/devicetree/bindings/drm/xilinx/xilinx_drm.txt

index f32a3f14ac0c2af57d84fa5119b88da31a67fad4..de4109977a96e944430b56730d95a4722dd24e84 100644 (file)
@@ -24,6 +24,8 @@ Required properties:
 
 Optional properties:
  - xlnx,dp-sub: the phandle to DisplayPort subsystem node for ZynqMP.
+ - ports: device graph binding can be used to define connectivity. The DT
+   bindings are defined in Documentation/devicetree/bindings/graph.txt.
 
 Required planes properties:
  - xlnx,pixel-format: the format of plane manager. The value should be one of
@@ -133,3 +135,26 @@ dpdma - ZynqMP DP subsystem - DP
                        };
                };
        };
+
+- Example 4:
+vdma - Xilinx MIPI DSI
+       xilinx_drm: xilinx_drm {
+               compatible = "xlnx,drm";
+               ports {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       port@0 {
+                               reg = <0>;
+                               drm_port: endpoint {
+                                       remote-endpoint = <&mipi_port>;
+                               };
+                       };
+               };
+               planes {
+                       xlnx,pixel-format = "rgb888";
+                       plane0 {
+                               dmas = <&axi_vdma_0 0>;
+                               dma-names = "dma0";
+                       };
+               };
+       };