]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
dt-bindings: Document the VC4 DSI module nodes.
authorEric Anholt <eric@anholt.net>
Wed, 14 Dec 2016 19:46:16 +0000 (11:46 -0800)
committerEric Anholt <eric@anholt.net>
Wed, 1 Feb 2017 20:51:22 +0000 (12:51 -0800)
These are part of the vc4 display pipeline.

Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Rob Herring <robh@kernel.org>
Link: http://patchwork.freedesktop.org/patch/msgid/20161214194621.16499-7-eric@anholt.net
Documentation/devicetree/bindings/display/brcm,bcm-vc4.txt

index e2768703ac2b9fa730b41fe23b4ec0ed21ff31e2..34c7fddcea394f70c0d06191a267382dff6be090 100644 (file)
@@ -56,6 +56,18 @@ Required properties for V3D:
 - interrupts:  The interrupt number
                  See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
 
+Required properties for DSI:
+- compatible:  Should be "brcm,bcm2835-dsi0" or "brcm,bcm2835-dsi1"
+- reg:         Physical base address and length of the DSI block's registers
+- interrupts:  The interrupt number
+                 See bindings/interrupt-controller/brcm,bcm2835-armctrl-ic.txt
+- clocks:      a) phy: The DSI PLL clock feeding the DSI analog PHY
+               b) escape: The DSI ESC clock from CPRMAN
+               c) pixel: The DSI pixel clock from CPRMAN
+- clock-output-names:
+               The 3 clocks output from the DSI analog PHY: dsi[01]_byte,
+               dsi[01]_ddr2, and dsi[01]_ddr
+
 [1] Documentation/devicetree/bindings/media/video-interfaces.txt
 
 Example:
@@ -99,6 +111,29 @@ dpi: dpi@7e208000 {
        };
 };
 
+dsi1: dsi@7e700000 {
+       compatible = "brcm,bcm2835-dsi1";
+       reg = <0x7e700000 0x8c>;
+       interrupts = <2 12>;
+       #address-cells = <1>;
+       #size-cells = <0>;
+       #clock-cells = <1>;
+
+       clocks = <&clocks BCM2835_PLLD_DSI1>,
+                <&clocks BCM2835_CLOCK_DSI1E>,
+                <&clocks BCM2835_CLOCK_DSI1P>;
+       clock-names = "phy", "escape", "pixel";
+
+       clock-output-names = "dsi1_byte", "dsi1_ddr2", "dsi1_ddr";
+
+       pitouchscreen: panel@0 {
+               compatible = "raspberrypi,touchscreen";
+               reg = <0>;
+
+               <...>
+       };
+};
+
 vec: vec@7e806000 {
        compatible = "brcm,bcm2835-vec";
        reg = <0x7e806000 0x1000>;