drm/vc4: Document VEC DT binding
authorBoris Brezillon <boris.brezillon@free-electrons.com>
Fri, 2 Dec 2016 13:48:11 +0000 (14:48 +0100)
committerEric Anholt <eric@anholt.net>
Fri, 9 Dec 2016 23:26:31 +0000 (15:26 -0800)
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>
Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt

index a5ea451e67fcfe8cf08b94aab409fe05d5095c24..e2768703ac2b9fa730b41fe23b4ec0ed21ff31e2 100644 (file)
@@ -43,6 +43,13 @@ Required properties for DPI:
 - port:                Port node with a single endpoint connecting to the panel
                  device, as defined in [1]
 
 - port:                Port node with a single endpoint connecting to the panel
                  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:
 - compatible:  Should be "brcm,bcm2835-v3d"
 - reg:         Physical base address and length of the V3D's registers
 Required properties for V3D:
 - compatible:  Should be "brcm,bcm2835-v3d"
 - 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 {
        compatible = "brcm,bcm2835-v3d";
        reg = <0x7ec00000 0x1000>;
 v3d: v3d@7ec00000 {
        compatible = "brcm,bcm2835-v3d";
        reg = <0x7ec00000 0x1000>;