SUPERH platform development
 help / color / mirror / Atom feed
* [PATCH v2 02/03] ARM: shmobile: r8a7794: Add DU node to device tree
@ 2015-11-16  8:57 Magnus Damm
  0 siblings, 0 replies; only message in thread
From: Magnus Damm @ 2015-11-16  8:57 UTC (permalink / raw)
  To: linux-sh

From: Laurent Pinchart <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>
Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

Previously part of the following series:
 [PATCH 0/5] R-Car DU: Add support for R8A7793 and R8A7794

 Changes since V1:
 - None

arch/arm/boot/dts/r8a7794.dtsi | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/arch/arm/boot/dts/r8a7794.dtsi b/arch/arm/boot/dts/r8a7794.dtsi
index 2a0d375e45b3..409f6c4b1044 100644
--- a/arch/arm/boot/dts/r8a7794.dtsi
+++ b/arch/arm/boot/dts/r8a7794.dtsi
@@ -401,6 +401,34 @@
 		status = "disabled";
 	};
 
+	du: display@feb00000 {
+		compatible = "renesas,du-r8a7794";
+		reg = <0 0xfeb00000 0 0x40000>;
+		reg-names = "du";
+		interrupts = <0 256 IRQ_TYPE_LEVEL_HIGH>,
+			     <0 268 IRQ_TYPE_LEVEL_HIGH>;
+		clocks = <&mstp7_clks R8A7794_CLK_DU0>,
+			 <&mstp7_clks R8A7794_CLK_DU0>;
+		clock-names = "du.0", "du.1";
+		status = "disabled";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				du_out_rgb0: endpoint {
+				};
+			};
+			port@1 {
+				reg = <1>;
+				du_out_rgb1: endpoint {
+				};
+			};
+		};
+	};
+
 	clocks {
 		#address-cells = <2>;
 		#size-cells = <2>;


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-11-16  8:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-16  8:57 [PATCH v2 02/03] ARM: shmobile: r8a7794: Add DU node to device tree Magnus Damm

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox