drm/panel: Device tree bindings for ARM Versatile panels
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Feb 2018 19:20:12 +0000 (20:20 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 7 Feb 2018 08:06:48 +0000 (09:06 +0100)
This adds a pretty simple set of device tree bindings for
ARM Versatile panels appearing as child nodes of a system
controller.

Cc: devicetree@vger.kernel.org
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20180205192013.5349-1-linus.walleij@linaro.org
Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt [new file with mode: 0644]

diff --git a/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt b/Documentation/devicetree/bindings/display/panel/arm,versatile-tft-panel.txt
new file mode 100644 (file)
index 0000000..248141c
--- /dev/null
@@ -0,0 +1,31 @@
+ARM Versatile TFT Panels
+
+These panels are connected to the daughterboards found on the
+ARM Versatile reference designs.
+
+This device node must appear as a child to a "syscon"-compatible
+node.
+
+Required properties:
+- compatible: should be "arm,versatile-tft-panel"
+
+Required subnodes:
+- port: see display/panel/panel-common.txt, graph.txt
+
+
+Example:
+
+sysreg@0 {
+       compatible = "arm,versatile-sysreg", "syscon", "simple-mfd";
+       reg = <0x00000 0x1000>;
+
+       panel: display@0 {
+               compatible = "arm,versatile-tft-panel";
+
+               port {
+                       panel_in: endpoint {
+                               remote-endpoint = <&foo>;
+                       };
+               };
+       };
+};