All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: dri-devel@lists.freedesktop.org
Cc: linux-sh@vger.kernel.org
Subject: [PATCH 12/15] ARM: shmobile: koelsch: Add DU HDMI output support
Date: Wed, 10 Dec 2014 23:42:12 +0000	[thread overview]
Message-ID: <1418254935-13536-13-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <1418254935-13536-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Add DT nodes for the ADV7511 HDMI encoder and its HDMI output connector
and configure the DISP pin group that drives the HDMI transmitter DE
pin.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791-koelsch.dts | 50 ++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 495056e317e3..926a2ded55bc 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -258,6 +258,17 @@
 			system-clock-frequency = <11289600>;
 		};
 	};
+
+	hdmi-out {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_con: endpoint {
+				remote-endpoint = <&adv7511_out>;
+			};
+		};
+	};
 };
 
 &du {
@@ -266,6 +277,11 @@
 	status = "okay";
 
 	ports {
+		port@0 {
+			endpoint {
+				remote-endpoint = <&adv7511_in>;
+			};
+		};
 		port@1 {
 			lvds_connector: endpoint {
 			};
@@ -284,7 +300,7 @@
 	};
 
 	du_pins: du {
-		renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0";
+		renesas,groups = "du_rgb666", "du_sync", "du_disp", "du_clk_out_0";
 		renesas,function = "du";
 	};
 
@@ -506,6 +522,38 @@
 		};
 	};
 
+	hdmi@39 {
+		compatible = "adi,adv7511w";
+		reg = <0x39>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
+
+		adi,input-depth = <8>;
+		adi,input-colorspace = "rgb";
+		adi,input-clock = "1x";
+		adi,input-style = <1>;
+		adi,input-justification = "evenly";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				adv7511_in: endpoint {
+					remote-endpoint = <&du_out_rgb>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+				adv7511_out: endpoint {
+					remote-endpoint = <&hdmi_con>;
+				};
+			};
+		};
+	};
+
 	eeprom@50 {
 		compatible = "renesas,24c02";
 		reg = <0x50>;
-- 
2.0.4


WARNING: multiple messages have this Message-ID (diff)
From: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
To: dri-devel@lists.freedesktop.org
Cc: linux-sh@vger.kernel.org
Subject: [PATCH 12/15] ARM: shmobile: koelsch: Add DU HDMI output support
Date: Thu, 11 Dec 2014 01:42:12 +0200	[thread overview]
Message-ID: <1418254935-13536-13-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <1418254935-13536-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Add DT nodes for the ADV7511 HDMI encoder and its HDMI output connector
and configure the DISP pin group that drives the HDMI transmitter DE
pin.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm/boot/dts/r8a7791-koelsch.dts | 50 ++++++++++++++++++++++++++++++++++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/arch/arm/boot/dts/r8a7791-koelsch.dts b/arch/arm/boot/dts/r8a7791-koelsch.dts
index 495056e317e3..926a2ded55bc 100644
--- a/arch/arm/boot/dts/r8a7791-koelsch.dts
+++ b/arch/arm/boot/dts/r8a7791-koelsch.dts
@@ -258,6 +258,17 @@
 			system-clock-frequency = <11289600>;
 		};
 	};
+
+	hdmi-out {
+		compatible = "hdmi-connector";
+		type = "a";
+
+		port {
+			hdmi_con: endpoint {
+				remote-endpoint = <&adv7511_out>;
+			};
+		};
+	};
 };
 
 &du {
@@ -266,6 +277,11 @@
 	status = "okay";
 
 	ports {
+		port@0 {
+			endpoint {
+				remote-endpoint = <&adv7511_in>;
+			};
+		};
 		port@1 {
 			lvds_connector: endpoint {
 			};
@@ -284,7 +300,7 @@
 	};
 
 	du_pins: du {
-		renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0";
+		renesas,groups = "du_rgb666", "du_sync", "du_disp", "du_clk_out_0";
 		renesas,function = "du";
 	};
 
@@ -506,6 +522,38 @@
 		};
 	};
 
+	hdmi@39 {
+		compatible = "adi,adv7511w";
+		reg = <0x39>;
+		interrupt-parent = <&gpio3>;
+		interrupts = <29 IRQ_TYPE_EDGE_FALLING>;
+
+		adi,input-depth = <8>;
+		adi,input-colorspace = "rgb";
+		adi,input-clock = "1x";
+		adi,input-style = <1>;
+		adi,input-justification = "evenly";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				adv7511_in: endpoint {
+					remote-endpoint = <&du_out_rgb>;
+				};
+			};
+
+			port@1 {
+				reg = <1>;
+				adv7511_out: endpoint {
+					remote-endpoint = <&hdmi_con>;
+				};
+			};
+		};
+	};
+
 	eeprom@50 {
 		compatible = "renesas,24c02";
 		reg = <0x50>;
-- 
2.0.4


  parent reply	other threads:[~2014-12-10 23:42 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-10 23:42 [PATCH 00/15] R-Car DU fixes and enhancements (including interlaced support) Laurent Pinchart
2014-12-10 23:42 ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 01/15] drm: adv7511: Remove interlaced mode check Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 02/15] drm: rcar-du: Don't fail probe in case of partial encoder init error Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 03/15] drm: rcar-du: Configure pitch for chroma plane of multiplanar formats Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 04/15] drm: rcar-du: Remove LVDS and HDMI encoders chaining restriction Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 05/15] drm: rcar-du: Refactor DEFR8 feature Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 06/15] drm: rcar-du: Add support for external pixel clock Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 07/15] drm: rcar-du: Output HSYNC instead of CSYNC Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 08/15] drm: rcar-du: Enable hotplug detection on HDMI connector Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 09/15] drm: rcar-du: Clamp DPMS states to on and off Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 10/15] drm: rcar-du: Implement support for interlaced modes Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 11/15] ARM: shmobile: lager: Add DU HDMI output support Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2015-02-26  1:29   ` Simon Horman
2015-02-26  1:29     ` Simon Horman
2014-12-10 23:42 ` Laurent Pinchart [this message]
2014-12-10 23:42   ` [PATCH 12/15] ARM: shmobile: koelsch: " Laurent Pinchart
2014-12-10 23:42 ` [PATCH 13/15] ARM: shmobile: marzen: Add DU external pixel clock to DT Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 14/15] ARM: shmobile: lager: Add DU external pixel clocks " Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart
2014-12-10 23:42 ` [PATCH 15/15] ARM: shmobile: koelsch: " Laurent Pinchart
2014-12-10 23:42   ` Laurent Pinchart

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=1418254935-13536-13-git-send-email-laurent.pinchart+renesas@ideasonboard.com \
    --to=laurent.pinchart+renesas@ideasonboard.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=linux-sh@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.