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 11/16] ARM: shmobile: r8a7791: Add DU node to device tree
Date: Wed, 27 Aug 2014 16:41:08 +0000	[thread overview]
Message-ID: <1409157673-4154-12-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <1409157673-4154-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Add the DU device with a disabled state. Boards that want to enable the
DU need to specify the output topology

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm/boot/dts/r8a7791.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 8a07505..d5f9ae06 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -637,6 +637,36 @@
 		status = "disabled";
 	};
 
+	du: du@feb00000 {
+		compatible = "renesas,du-r8a7791";
+		reg = <0 0xfeb00000 0 0x40000>,
+		      <0 0xfeb90000 0 0x1c>;
+		reg-names = "du", "lvds.0";
+		interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 268 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R8A7791_CLK_DU0>,
+		         <&mstp7_clks R8A7791_CLK_DU1>,
+		         <&mstp7_clks R8A7791_CLK_LVDS0>;
+		clock-names = "du.0", "du.1", "lvds.0";
+		status = "disabled";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				du_out_rgb: endpoint {
+				};
+			};
+			port@1 {
+				reg = <1>;
+				du_out_lvds0: endpoint {
+				};
+			};
+		};
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;
-- 
1.8.5.5


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 11/16] ARM: shmobile: r8a7791: Add DU node to device tree
Date: Wed, 27 Aug 2014 18:41:08 +0200	[thread overview]
Message-ID: <1409157673-4154-12-git-send-email-laurent.pinchart+renesas@ideasonboard.com> (raw)
In-Reply-To: <1409157673-4154-1-git-send-email-laurent.pinchart+renesas@ideasonboard.com>

Add the DU device with a disabled state. Boards that want to enable the
DU need to specify the output topology

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
---
 arch/arm/boot/dts/r8a7791.dtsi | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7791.dtsi b/arch/arm/boot/dts/r8a7791.dtsi
index 8a07505..d5f9ae06 100644
--- a/arch/arm/boot/dts/r8a7791.dtsi
+++ b/arch/arm/boot/dts/r8a7791.dtsi
@@ -637,6 +637,36 @@
 		status = "disabled";
 	};
 
+	du: du@feb00000 {
+		compatible = "renesas,du-r8a7791";
+		reg = <0 0xfeb00000 0 0x40000>,
+		      <0 0xfeb90000 0 0x1c>;
+		reg-names = "du", "lvds.0";
+		interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 268 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R8A7791_CLK_DU0>,
+		         <&mstp7_clks R8A7791_CLK_DU1>,
+		         <&mstp7_clks R8A7791_CLK_LVDS0>;
+		clock-names = "du.0", "du.1", "lvds.0";
+		status = "disabled";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				du_out_rgb: endpoint {
+				};
+			};
+			port@1 {
+				reg = <1>;
+				du_out_lvds0: endpoint {
+				};
+			};
+		};
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;
-- 
1.8.5.5


  parent reply	other threads:[~2014-08-27 16:41 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-27 16:40 [PATCH 00/16] R-Car Display Unit DT bindings Laurent Pinchart
2014-08-27 16:40 ` Laurent Pinchart
2014-08-27 16:40 ` [PATCH 01/16] devicetree: Add vendor prefix "mitsubishi" to vendor-prefixes.txt Laurent Pinchart
2014-08-27 16:40   ` Laurent Pinchart
2014-08-27 17:08   ` Rob Herring
2014-08-27 17:08     ` Rob Herring
2014-08-27 16:40 ` [PATCH 02/16] devicetree: Add vendor prefix "thine" " Laurent Pinchart
2014-08-27 16:40   ` Laurent Pinchart
2014-08-27 17:07   ` Rob Herring
2014-08-27 17:07     ` Rob Herring
2014-08-27 16:41 ` [PATCH 03/16] video: Add DT binding documentation for VGA connector Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 17:12   ` Rob Herring
2014-08-27 17:12     ` Rob Herring
2014-08-27 17:22     ` Laurent Pinchart
2014-08-27 17:22       ` Laurent Pinchart
2014-09-15  8:52   ` Tomi Valkeinen
2014-09-15  8:52     ` Tomi Valkeinen
2014-08-27 16:41 ` [PATCH 04/16] video: Add ADV7123 DT bindings documentation Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 05/16] video: Add THC63LVDM83D " Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 06/16] video: Add DT bindings for the R-Car Display Unit Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 07/16] drm/rcar-du: Use struct videomode in platform data Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 08/16] drm/rcar-du: Add OF support Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 09/16] ARM: shmobile: r8a7779: Add DU node to device tree Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 10/16] ARM: shmobile: r8a7790: " Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` Laurent Pinchart [this message]
2014-08-27 16:41   ` [PATCH 11/16] ARM: shmobile: r8a7791: " Laurent Pinchart
2014-08-27 16:41 ` [PATCH 12/16] ARM: shmobile: lager-reference: Remove DU platform device Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 13/16] ARM: shmobile: koelsch-reference: " Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 14/16] ARM: shmobile: marzen: Enable DU device in DT Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 15/16] ARM: shmobile: lager: " Laurent Pinchart
2014-08-27 16:41   ` Laurent Pinchart
2014-08-27 16:41 ` [PATCH 16/16] ARM: shmobile: koelsch: " Laurent Pinchart
2014-08-27 16:41   ` 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=1409157673-4154-12-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.