Browse Source

drm/vc4: Document VEC DT binding

Document the DT binding for the VEC (Video EnCoder) IP.

Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Boris Brezillon 8 years ago
parent
commit
6e89a3ce7c
1 changed files with 14 additions and 0 deletions
  1. 14 0
      Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt

+ 14 - 0
Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt

@@ -43,6 +43,13 @@ Required properties for DPI:
 - port:		Port node with a single endpoint connecting to the panel
 - port:		Port node with a single endpoint connecting to the panel
 		  device, as defined in [1]
 		  device, as defined in [1]
 
 
+Required properties for VEC:
+- compatible:	Should be "brcm,bcm2835-vec"
+- reg:		Physical base address and length of the registers
+- clocks:	The core clock the unit runs on
+- interrupts:	The interrupt number
+		  See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
+
 Required properties for V3D:
 Required properties for V3D:
 - compatible:	Should be "brcm,bcm2835-v3d"
 - compatible:	Should be "brcm,bcm2835-v3d"
 - reg:		Physical base address and length of the V3D's registers
 - reg:		Physical base address and length of the V3D's registers
@@ -92,6 +99,13 @@ dpi: dpi@7e208000 {
 	};
 	};
 };
 };
 
 
+vec: vec@7e806000 {
+	compatible = "brcm,bcm2835-vec";
+	reg = <0x7e806000 0x1000>;
+	clocks = <&clocks BCM2835_CLOCK_VEC>;
+	interrupts = <2 27>;
+};
+
 v3d: v3d@7ec00000 {
 v3d: v3d@7ec00000 {
 	compatible = "brcm,bcm2835-v3d";
 	compatible = "brcm,bcm2835-v3d";
 	reg = <0x7ec00000 0x1000>;
 	reg = <0x7ec00000 0x1000>;