]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
dt-bindings: display: xlnx: zynqmp-dpsub: Make layers as child node
authorHyun Kwon <hyun.kwon@xilinx.com>
Tue, 13 Feb 2018 17:33:43 +0000 (09:33 -0800)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 1 Mar 2018 08:20:18 +0000 (09:20 +0100)
This change is needed for Xilinx bridge support as each bridge
requires a device node, thus revert it back.

The change will have to submitted along with Xilinx bridge
patch set.

Signed-off-by: Hyun Kwon <hyun.kwon@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Documentation/devicetree/bindings/display/xlnx/xlnx,zynqmp-dpsub.txt

index 7524cce299b15e84af7097765f5e09fa8f3a049a..46d0c7671ee53d60809ae5a3d7ec17fad8bfc07a 100644 (file)
@@ -27,6 +27,10 @@ Required properties:
 
 - power-domains: phandle for the corresponding power domain
 
+- vid-layer, gfx-layer: Required to represent available layers
+
+Required layer properties
+
 - dmas: phandles for DMA channels as defined in
   Documentation/devicetree/bindings/dma/dma.txt.
 - dma-names: The identifier strings are required. "gfx0" for graphics layer
@@ -57,6 +61,18 @@ Example:
 
                power-domains = <&pd_dp>;
 
+               vid-layer {
+                       dma-names = "vid0", "vid1", "vid2";
+                       dmas = <&xlnx_dpdma 0>,
+                              <&xlnx_dpdma 1>,
+                              <&xlnx_dpdma 2>;
+               };
+
+               gfx-layer {
+                       dma-names = "gfx0";
+                       dmas = <&xlnx_dpdma 3>;
+               };
+
                dma-names = "vid0", "vid1", "vid2", "gfx0";
                dmas = <&xlnx_dpdma 0>,
                       <&xlnx_dpdma 1>,