Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1281734

[PATCH v3 1/4] drm: arm: Add DT bindings documentation for HDLCD driver.

From Liviu Dudau <Liviu.Dudau@arm.com>
Newsgroups linux.kernel
Subject [PATCH v3 1/4] drm: arm: Add DT bindings documentation for HDLCD driver.
Date 2015-12-02 13:30 +0100
Message-ID <qBeHO-76w-49@gated-at.bofh.it> (permalink)
References <qBeHM-76w-11@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Cc: Rob Herring <robh+dt@kernel.org>
Cc: Pawel Moll <pawel.moll@arm.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Ian Campbell <ijc+devicetree@hellion.org.uk>
Cc: Kumar Gala <galak@codeaurora.org>

Signed-off-by: Liviu Dudau <Liviu.Dudau@arm.com>
---
 .../devicetree/bindings/display/arm,hdlcd.txt      | 79 ++++++++++++++++++++++
 1 file changed, 79 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/display/arm,hdlcd.txt

diff --git a/Documentation/devicetree/bindings/display/arm,hdlcd.txt b/Documentation/devicetree/bindings/display/arm,hdlcd.txt
new file mode 100644
index 0000000..78bc242
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/arm,hdlcd.txt
@@ -0,0 +1,79 @@
+ARM HDLCD
+
+This is a display controller found on several development platforms produced
+by ARM Ltd and in more modern of its' Fast Models. The HDLCD is an RGB
+streamer that reads the data from a framebuffer and sends it to a single
+digital encoder (DVI or HDMI).
+
+Required properties:
+  - compatible: "arm,hdlcd"
+  - reg: Physical base address and length of the controller's registers.
+  - interrupts: One interrupt used by the display controller to notify the
+    interrupt controller when any of the interrupt sources programmed in
+    the interrupt mask register have activated.
+  - clocks: A list of phandle + clock-specifier pairs, one for each
+    entry in 'clock-names'.
+  - clock-names: A list of clock names. For HDLCD it should contain:
+      - "pxlclk" for the clock feeding the output PLL of the controller.
+
+Required sub-nodes:
+  - port: The HDLCD connection to an encoder chip. The connection is modeled
+    using the OF graph bindings specified in
+    Documentation/devicetree/bindings/graph.txt.
+
+Optional properties:
+  - memory-region: phandle to a node describing memory (see
+    Documentation/devicetree/bindings/reserved-memory/reserved-memory.txt) to be
+    used for the framebuffer; if not present, the framebuffer may be located
+    anywhere in memory.
+
+
+Example:
+
+/ {
+	...
+
+	hdlcd@2b000000 {
+		compatible = "arm,hdlcd";
+		reg = <0 0x2b000000 0 0x1000>;
+		interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&oscclk5>;
+		clock-names = "pxlclk";
+		port {
+			hdlcd_output: endpoint@0 {
+				remote-endpoint = <&hdmi_enc_input>;
+			};
+		};
+	};
+
+	/* HDMI encoder on I2C bus */
+	i2c@7ffa0000 {
+		....
+		hdmi-transmitter@70 {
+			compatible = ".....";
+			reg = <0x70>;
+			port@0 {
+				hdmi_enc_input: endpoint {
+					remote-endpoint = <&hdlcd_output>;
+				};
+
+				hdmi_enc_output: endpoint {
+					remote-endpoint = <&hdmi_1_port>;
+				};
+			};
+		};
+
+	};
+
+	hdmi1: connector@1 {
+		compatible = "hdmi-connector";
+		type = "a";
+		port {
+			hdmi_1_port: endpoint {
+				remote-endpoint = <&hdmi_enc_output>;
+			};
+		};
+	};
+
+	...
+};
-- 
2.6.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] drm: Add support for the ARM HDLCD display controller Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-02 13:30 +0100
  [PATCH v3 2/4] drm: Add support for ARM's HDLCD controller. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-02 13:30 +0100
    Re: [PATCH v3 2/4] drm: Add support for ARM's HDLCD controller. Daniel Stone <daniel@fooishbar.org> - 2015-12-02 18:30 +0100
      Re: [PATCH v3 2/4] drm: Add support for ARM's HDLCD controller. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-03 11:10 +0100
        Re: [PATCH v3 2/4] drm: Add support for ARM's HDLCD controller. Daniel Stone <daniel@fooishbar.org> - 2015-12-03 15:30 +0100
          Re: [PATCH v3 2/4] drm: Add support for ARM's HDLCD controller. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-03 15:50 +0100
  [PATCH v3 3/4] arm64: Juno: Add HDLCD support to the Juno boards. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-02 13:30 +0100
  [PATCH v3 4/4] MAINTAINERS: Add Liviu Dudau as maintainer for ARM HDLCD driver. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-02 13:30 +0100
  [PATCH v3 1/4] drm: arm: Add DT bindings documentation for HDLCD driver. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-02 13:30 +0100
    Re: [PATCH v3 1/4] drm: arm: Add DT bindings documentation for HDLCD  driver. Rob Herring <robh@kernel.org> - 2015-12-02 15:30 +0100
      Re: [PATCH v3 1/4] drm: arm: Add DT bindings documentation for HDLCD  driver. Liviu Dudau <Liviu.Dudau@arm.com> - 2015-12-02 16:00 +0100

csiph-web