All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kieran Bingham <kbingham@kernel.org>
To: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Kieran Bingham <kieran.bingham@ideasonboard.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Simon Horman <horms@verge.net.au>,
	geert@glider.be,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	linux-kernel@vger.kernel.org (open list)
Subject: [PATCH 6/8] arm64: dts: renesas: r8a77995-draak: Enable DU
Date: Thu, 15 Feb 2018 08:38:21 +0000	[thread overview]
Message-ID: <1518683903-10681-7-git-send-email-kbingham@kernel.org> (raw)
In-Reply-To: <1518683903-10681-1-git-send-email-kbingham@kernel.org>

From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

Enable the DU, providing only the VGA output for now.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 51 ++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index af07da240be0..668e246dfc5d 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
@@ -27,6 +27,38 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	vga {
+		compatible = "vga-connector";
+
+		port {
+			vga_in: endpoint {
+				remote-endpoint = <&adv7123_out>;
+			};
+		};
+	};
+
+	vga-encoder {
+		compatible = "adi,adv7123";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				adv7123_in: endpoint {
+					remote-endpoint = <&du_out_rgb>;
+				};
+			};
+			port@1 {
+				reg = <1>;
+				adv7123_out: endpoint {
+					remote-endpoint = <&vga_in>;
+				};
+			};
+		};
+	};
+
 	memory@48000000 {
 		device_type = "memory";
 		/* first 128MB is reserved for secure area. */
@@ -46,6 +78,11 @@
 		};
 	};
 
+	du_pins: du {
+		groups = "du_rgb888", "du_sync", "du_disp", "du_dotclkout0";
+		function = "du";
+	};
+
 	i2c0_pins: i2c0 {
 		groups = "i2c0";
 		function = "i2c0";
@@ -95,6 +132,20 @@
 	status = "okay";
 };
 
+&du {
+	pinctrl-0 = <&du_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	ports {
+		port@0 {
+			endpoint {
+				remote-endpoint = <&adv7123_in>;
+			};
+		};
+	};
+};
+
 &ehci0 {
 	status = "okay";
 };
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: Kieran Bingham <kbingham@kernel.org>
To: linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org,
	Kieran Bingham <kieran.bingham@ideasonboard.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Simon Horman <horms@verge.net.au>,
	geert@glider.be,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Magnus Damm <magnus.damm@gmail.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Catalin Marinas <catalin.marinas@arm.com>,
	Will Deacon <will.deacon@arm.com>,
	open list <linux-kernel@vger.kernel.org>
Subject: [PATCH 6/8] arm64: dts: renesas: r8a77995-draak: Enable DU
Date: Thu, 15 Feb 2018 08:38:21 +0000	[thread overview]
Message-ID: <1518683903-10681-7-git-send-email-kbingham@kernel.org> (raw)
In-Reply-To: <1518683903-10681-1-git-send-email-kbingham@kernel.org>

From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

Enable the DU, providing only the VGA output for now.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 51 ++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index af07da240be0..668e246dfc5d 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
@@ -27,6 +27,38 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	vga {
+		compatible = "vga-connector";
+
+		port {
+			vga_in: endpoint {
+				remote-endpoint = <&adv7123_out>;
+			};
+		};
+	};
+
+	vga-encoder {
+		compatible = "adi,adv7123";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port@0 {
+				reg = <0>;
+				adv7123_in: endpoint {
+					remote-endpoint = <&du_out_rgb>;
+				};
+			};
+			port@1 {
+				reg = <1>;
+				adv7123_out: endpoint {
+					remote-endpoint = <&vga_in>;
+				};
+			};
+		};
+	};
+
 	memory@48000000 {
 		device_type = "memory";
 		/* first 128MB is reserved for secure area. */
@@ -46,6 +78,11 @@
 		};
 	};
 
+	du_pins: du {
+		groups = "du_rgb888", "du_sync", "du_disp", "du_dotclkout0";
+		function = "du";
+	};
+
 	i2c0_pins: i2c0 {
 		groups = "i2c0";
 		function = "i2c0";
@@ -95,6 +132,20 @@
 	status = "okay";
 };
 
+&du {
+	pinctrl-0 = <&du_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	ports {
+		port@0 {
+			endpoint {
+				remote-endpoint = <&adv7123_in>;
+			};
+		};
+	};
+};
+
 &ehci0 {
 	status = "okay";
 };
-- 
2.7.4

WARNING: multiple messages have this Message-ID (diff)
From: kbingham@kernel.org (Kieran Bingham)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH 6/8] arm64: dts: renesas: r8a77995-draak: Enable DU
Date: Thu, 15 Feb 2018 08:38:21 +0000	[thread overview]
Message-ID: <1518683903-10681-7-git-send-email-kbingham@kernel.org> (raw)
In-Reply-To: <1518683903-10681-1-git-send-email-kbingham@kernel.org>

From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>

Enable the DU, providing only the VGA output for now.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
---
 arch/arm64/boot/dts/renesas/r8a77995-draak.dts | 51 ++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
index af07da240be0..668e246dfc5d 100644
--- a/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77995-draak.dts
@@ -27,6 +27,38 @@
 		stdout-path = "serial0:115200n8";
 	};
 
+	vga {
+		compatible = "vga-connector";
+
+		port {
+			vga_in: endpoint {
+				remote-endpoint = <&adv7123_out>;
+			};
+		};
+	};
+
+	vga-encoder {
+		compatible = "adi,adv7123";
+
+		ports {
+			#address-cells = <1>;
+			#size-cells = <0>;
+
+			port at 0 {
+				reg = <0>;
+				adv7123_in: endpoint {
+					remote-endpoint = <&du_out_rgb>;
+				};
+			};
+			port at 1 {
+				reg = <1>;
+				adv7123_out: endpoint {
+					remote-endpoint = <&vga_in>;
+				};
+			};
+		};
+	};
+
 	memory at 48000000 {
 		device_type = "memory";
 		/* first 128MB is reserved for secure area. */
@@ -46,6 +78,11 @@
 		};
 	};
 
+	du_pins: du {
+		groups = "du_rgb888", "du_sync", "du_disp", "du_dotclkout0";
+		function = "du";
+	};
+
 	i2c0_pins: i2c0 {
 		groups = "i2c0";
 		function = "i2c0";
@@ -95,6 +132,20 @@
 	status = "okay";
 };
 
+&du {
+	pinctrl-0 = <&du_pins>;
+	pinctrl-names = "default";
+	status = "okay";
+
+	ports {
+		port at 0 {
+			endpoint {
+				remote-endpoint = <&adv7123_in>;
+			};
+		};
+	};
+};
+
 &ehci0 {
 	status = "okay";
 };
-- 
2.7.4

  parent reply	other threads:[~2018-02-15  8:38 UTC|newest]

Thread overview: 76+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-15  8:38 [PATCH 0/8] r8a77995 D3 DU and LVDS support Kieran Bingham
2018-02-15  8:38 ` Kieran Bingham
2018-02-15  8:38 ` [PATCH 1/8] pinctrl: sh-pfc: r8a77995: Add DU support Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15 12:32   ` Kieran Bingham
2018-02-15 12:32     ` Kieran Bingham
2018-02-15  8:38 ` [PATCH 2/8] dt-bindings: display: renesas,du: Document r8a77995 bindings Kieran Bingham
2018-02-15  8:38   ` [PATCH 2/8] dt-bindings: display: renesas, du: " Kieran Bingham
2018-02-15  8:38   ` [PATCH 2/8] dt-bindings: display: renesas,du: " Kieran Bingham
2018-02-15 13:59   ` Laurent Pinchart
2018-02-15 13:59     ` [PATCH 2/8] dt-bindings: display: renesas, du: " Laurent Pinchart
2018-02-15 13:59     ` Laurent Pinchart
2018-02-15  8:38 ` [PATCH 3/8] dt-bindings: display: renesas,lvds: Add LVDS binding for D3 Kieran Bingham
2018-02-15  8:38   ` [PATCH 3/8] dt-bindings: display: renesas, lvds: " Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15  8:45   ` [PATCH 3/8] dt-bindings: display: renesas,lvds: " Kieran Bingham
2018-02-15  8:45     ` [PATCH 3/8] dt-bindings: display: renesas, lvds: " Kieran Bingham
2018-02-15 14:04     ` [PATCH 3/8] dt-bindings: display: renesas,lvds: " Laurent Pinchart
2018-02-15 14:04       ` [PATCH 3/8] dt-bindings: display: renesas, lvds: " Laurent Pinchart
2018-02-15 14:04       ` Laurent Pinchart
2018-02-15 14:02   ` [PATCH 3/8] dt-bindings: display: renesas,lvds: " Laurent Pinchart
2018-02-15 14:02     ` [PATCH 3/8] dt-bindings: display: renesas, lvds: " Laurent Pinchart
2018-02-15 14:02     ` [PATCH 3/8] dt-bindings: display: renesas,lvds: " Laurent Pinchart
2018-02-15  8:38 ` [PATCH 4/8] arm64: dts: renesas: r8a77995: add DU support Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15 14:07   ` Laurent Pinchart
2018-02-15 14:07     ` Laurent Pinchart
2018-02-15 16:52     ` Simon Horman
2018-02-15 16:52       ` Simon Horman
2018-02-15  8:38 ` [PATCH 5/8] arm64: dts: renesas: r8a77995: Add LVDS support Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15  9:07   ` Geert Uytterhoeven
2018-02-15  9:07     ` Geert Uytterhoeven
2018-02-15 12:41     ` Kieran Bingham
2018-02-15 12:41       ` Kieran Bingham
2018-02-15 12:46       ` Geert Uytterhoeven
2018-02-15 12:46         ` Geert Uytterhoeven
2018-02-15 14:10   ` Laurent Pinchart
2018-02-15 14:10     ` Laurent Pinchart
2018-02-15 14:24     ` Kieran Bingham
2018-02-15 14:24       ` Kieran Bingham
2018-02-15 16:51   ` Simon Horman
2018-02-15 16:51     ` Simon Horman
2018-02-15 16:51     ` Simon Horman
2018-02-15  8:38 ` Kieran Bingham [this message]
2018-02-15  8:38   ` [PATCH 6/8] arm64: dts: renesas: r8a77995-draak: Enable DU Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15 14:12   ` Laurent Pinchart
2018-02-15 14:12     ` Laurent Pinchart
2018-02-15 14:12     ` Laurent Pinchart
2018-02-15 14:30     ` Kieran Bingham
2018-02-15 14:30       ` Kieran Bingham
2018-02-15 14:30       ` Kieran Bingham
2018-02-15 16:52       ` Simon Horman
2018-02-15 16:52         ` Simon Horman
2018-02-16 12:32   ` [PATCH v2] " Kieran Bingham
2018-02-16 12:32     ` Kieran Bingham
2018-02-16 12:32     ` Kieran Bingham
2018-02-16 13:42     ` Simon Horman
2018-02-16 13:42       ` Simon Horman
2018-02-15  8:38 ` [PATCH 7/8] arm64: dts: renesas: r8a77995-draak: Add HDMI Out through ADV7511 Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15 14:16   ` Laurent Pinchart
2018-02-15 14:16     ` Laurent Pinchart
2018-02-15 16:50     ` Simon Horman
2018-02-15 16:50       ` Simon Horman
2018-02-15 16:50       ` Simon Horman
2018-02-16 11:51     ` Kieran Bingham
2018-02-16 11:51       ` Kieran Bingham
2018-02-15  8:38 ` [PATCH 8/8] [PoC] arm64: dts: renesas: r8a77995-draak: Add ADV7612 Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham
2018-02-15  8:38   ` Kieran Bingham

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=1518683903-10681-7-git-send-email-kbingham@kernel.org \
    --to=kbingham@kernel.org \
    --cc=catalin.marinas@arm.com \
    --cc=devicetree@vger.kernel.org \
    --cc=geert@glider.be \
    --cc=horms@verge.net.au \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=kieran.bingham@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=will.deacon@arm.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 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.