[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1465479199-9810-1-git-send-email-andrea.merello@gmail.com>
Date: Thu, 9 Jun 2016 15:33:19 +0200
From: Andrea Merello <andrea.merello@...il.com>
To: dri-devel@...ts.freedesktop.org, airlied@...ux.ie
Cc: linux-kernel@...r.kernel.org, devicetree@...r.kernel.org,
Andrea Merello <andrea.merello@...il.com>,
Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>,
Tomi Valkeinen <tomi.valkeinen@...com>,
Francesco Diotalevi <francesco.diotalevi@....it>,
Claudio Lorini <claudio.lorini@....it>
Subject: [PATCH 2/2] drm: Add DT bindings documentation for OpenCores VGA/LCD controller
Signed-off-by: Andrea Merello <andrea.merello@...il.com>
Cc: Stefan Kristiansson <stefan.kristiansson@...nalahti.fi>
Cc: Tomi Valkeinen <tomi.valkeinen@...com>
Cc: Francesco Diotalevi <francesco.diotalevi@....it>
Cc: Claudio Lorini <claudio.lorini@....it>
---
.../bindings/display/opencores,ocdrm.txt | 27 ++++++++++++++++++++++
1 file changed, 27 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/opencores,ocdrm.txt
diff --git a/Documentation/devicetree/bindings/display/opencores,ocdrm.txt b/Documentation/devicetree/bindings/display/opencores,ocdrm.txt
new file mode 100644
index 0000000..8d36de5
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/opencores,ocdrm.txt
@@ -0,0 +1,27 @@
+OpenCores VGA/LCD controller
+
+Required properties:
+- compatible: "opencores,ocdrm"
+- reg: Physical base address and length of the controller's registers.
+- clocks: Must contain an entry for the pixelclock generator.
+ See ../clocks/clock-bindings.txt for details.
+
+Required sub-nodes:
+- port: the connection to a DRM bridge. The connection is modelled
+ using the OF graph bindings specified in
+ Documentation/devicetree/bindings/graph.txt.
+
+Example:
+
+ocdrm@...10000 {
+ compatible = "opencores,ocfb-drm";
+ reg = <0x43c10000 0x10000>;
+ clocks = <&pix_clock>;
+ ports {
+ port@0 {
+ rgb_out: endpoint {
+ remote-endpoint = <&bridge_in>;
+ };
+ };
+ };
+};
--
1.9.1
Powered by blists - more mailing lists