]> rtime.felk.cvut.cz Git - zynq/linux.git/commitdiff
Documentation: devicetree: bindings: drm: xilinx: Add the plane manager format
authorHyun Kwon <hyun.kwon@xilinx.com>
Tue, 6 May 2014 02:52:44 +0000 (19:52 -0700)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 8 May 2014 06:48:42 +0000 (08:48 +0200)
Add the property to specify the format of plane manager. This allows to
configure the format instead of using the fixed value.

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

index 8f0c96ba51d7bd53ea5dcfcdee6b12fd766fbb6b..d6e817fe390fec05df1e9988230207334783d91f 100644 (file)
@@ -22,6 +22,16 @@ Required properties:
  - xlnx,connector-type: the type of connector. The value should be one of
    "HDMIA" or "DisplayPort" depending on which connector type to be used.
 
+Required planes properties:
+ - xlnx,pixel-format: the format of plane manager. The value should be one of
+   following format strings.
+
+       yuv422
+       yuv444
+       yuv420
+       rgb888
+       xrgb8888
+
 Required plane properties:
  - dmas: the phandle list of DMA specifiers
  - dma-names: the indentifier strings for DMAs
@@ -40,6 +50,7 @@ vdma - [remap] - rgb2yuv - cresample - [axi2vid] - adv7511
                xlnx,connector-type = "HDMIA";
                clocks = <&si570>;
                planes {
+                       xlnx,pixel-format = "yuv422";
                        plane0 {
                                dma = <&axi_vdma_0>;
                                dma-names = "vdma";
@@ -63,6 +74,7 @@ vdma - [remap] - rgb2yuv -|                               |
                xlnx,connector-type = "DisplayPort";
                clocks = <&si570>;
                planes {
+                       xlnx,pixel-format = "yuv422";
                        plane0 {
                                dma = <&axi_vdma_0>;
                                dma-names = "vdma";