devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrea Merello <andrea.merello@gmail.com>
To: dri-devel@lists.freedesktop.org, airlied@linux.ie
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Andrea Merello <andrea.merello@gmail.com>,
	Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>,
	Tomi Valkeinen <tomi.valkeinen@ti.com>,
	Francesco Diotalevi <francesco.diotalevi@iit.it>,
	Claudio Lorini <claudio.lorini@iit.it>
Subject: [PATCH 2/2] drm: Add DT bindings documentation for OpenCores VGA/LCD controller
Date: Thu,  9 Jun 2016 15:33:19 +0200	[thread overview]
Message-ID: <1465479199-9810-1-git-send-email-andrea.merello@gmail.com> (raw)

Signed-off-by: Andrea Merello <andrea.merello@gmail.com>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Francesco Diotalevi <francesco.diotalevi@iit.it>
Cc: Claudio Lorini <claudio.lorini@iit.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@43c10000 {
+	compatible = "opencores,ocfb-drm";
+	reg = <0x43c10000 0x10000>;
+	clocks = <&pix_clock>;
+	ports {
+		port@0 {
+			rgb_out: endpoint {
+				remote-endpoint = <&bridge_in>;
+			};
+		};
+	};
+};
-- 
1.9.1

             reply	other threads:[~2016-06-09 13:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-09 13:33 Andrea Merello [this message]
2016-06-10 17:36 ` [PATCH 2/2] drm: Add DT bindings documentation for OpenCores VGA/LCD controller Rob Herring
2016-06-27 11:21   ` Andrea Merello
2016-06-27 15:24     ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1465479199-9810-1-git-send-email-andrea.merello@gmail.com \
    --to=andrea.merello@gmail.com \
    --cc=airlied@linux.ie \
    --cc=claudio.lorini@iit.it \
    --cc=devicetree@vger.kernel.org \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=francesco.diotalevi@iit.it \
    --cc=linux-kernel@vger.kernel.org \
    --cc=stefan.kristiansson@saunalahti.fi \
    --cc=tomi.valkeinen@ti.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).