linux-renesas-soc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Biju Das <biju.das@bp.renesas.com>
To: Rob Herring <robh+dt@kernel.org>, Mark Rutland <mark.rutland@arm.com>
Cc: Biju Das <biju.das@bp.renesas.com>,
	Simon Horman <horms@verge.net.au>,
	Laurent Pinchart <laurent.pinchart@ideasonboard.com>,
	Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>,
	Geert Uytterhoeven <geert+renesas@glider.be>,
	Magnus Damm <magnus.damm@gmail.com>,
	linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org,
	Chris Paterson <Chris.Paterson2@renesas.com>,
	Fabrizio Castro <fabrizio.castro@bp.renesas.com>
Subject: [PATCH v3 8/9] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support
Date: Wed,  2 Oct 2019 16:20:18 +0100	[thread overview]
Message-ID: <1570029619-43238-9-git-send-email-biju.das@bp.renesas.com> (raw)
In-Reply-To: <1570029619-43238-1-git-send-email-biju.das@bp.renesas.com>

This patch adds LVDS support for RZ/G2[MN] boards.

Signed-off-by: Biju Das <biju.das@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 V1-->V2
   * Incorporated Laurent's review comments
 V2-->V3
   * Incorporated Laurent's review comments
---
 arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi | 29 +++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
index 70f9a2a..f9e7cf6 100644
--- a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
+++ b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
@@ -51,6 +51,35 @@
 	status = "okay";
 };
 
+&gpio1 {
+	/*
+	 * When GP1_20 is LOW LVDS0 is connected to the LVDS connector
+	 * When GP1_20 is HIGH LVDS0 is connected to the LT8918L
+	 */
+	lvds-connector-en-gpio {
+		gpio-hog;
+		gpios = <20 GPIO_ACTIVE_HIGH>;
+		output-low;
+		line-name = "lvds-connector-en-gpio";
+	};
+};
+
+&lvds0 {
+	/*
+	 * Please include the LVDS panel .dtsi file and uncomment the below line
+	 * to enable LVDS panel connected to RZ/G2[MN] boards.
+	 */
+
+	/* status = "okay"; */
+
+	ports {
+		port@1 {
+			lvds_connector: endpoint {
+			};
+		};
+	};
+};
+
 &pciec0 {
 	status = "okay";
 };
-- 
2.7.4


  parent reply	other threads:[~2019-10-02 15:21 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-02 15:20 [PATCH v3 0/9] Add Display support Biju Das
2019-10-02 15:20 ` [PATCH v3 1/9] arm64: dts: renesas: hihope-common: Move du clk properties out of common dtsi Biju Das
2019-10-09 14:57   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 2/9] arm64: dts: renesas: r8a774b1: Add DU device to DT Biju Das
2019-10-09 12:37   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 3/9] arm64: dts: renesas: r8a774b1: Add HDMI encoder instance Biju Das
2019-10-09 12:40   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 4/9] arm64: dts: renesas: r8a774b1-hihope-rzg2n: Add display clock properties Biju Das
2019-10-09 12:42   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 5/9] arm64: dts: renesas: r8a774b1: Add FDP1 device nodes Biju Das
2019-10-09 12:43   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 6/9] arm64: dts: renesas: r8a774b1: Add PWM " Biju Das
2019-10-09 12:44   ` Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 7/9] arm64: dts: renesas: hihope-rzg2-ex: Enable backlight Biju Das
2019-10-09 15:27   ` Geert Uytterhoeven
2019-10-02 15:20 ` Biju Das [this message]
2019-10-09 15:31   ` [PATCH v3 8/9] arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support Geert Uytterhoeven
2019-10-02 15:20 ` [PATCH v3 9/9] arm64: dts: renesas: Add support for Advantech idk-1110wr LVDS panel Biju Das
2019-10-11 11:35   ` Geert Uytterhoeven

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=1570029619-43238-9-git-send-email-biju.das@bp.renesas.com \
    --to=biju.das@bp.renesas.com \
    --cc=Chris.Paterson2@renesas.com \
    --cc=devicetree@vger.kernel.org \
    --cc=fabrizio.castro@bp.renesas.com \
    --cc=geert+renesas@glider.be \
    --cc=horms@verge.net.au \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=magnus.damm@gmail.com \
    --cc=mark.rutland@arm.com \
    --cc=robh+dt@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).