summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBiju Das <biju.das@bp.renesas.com>2019-10-02 18:20:18 +0300
committerGeert Uytterhoeven <geert+renesas@glider.be>2019-10-10 17:22:07 +0300
commit642a33259bdfd5aebca24a4b7b05681239873157 (patch)
tree079d93c8fd51ea21a1009b68c8a29760d2ba71bb
parent31222abb669c45afe472a6fb9c605d31b2309066 (diff)
downloadlinux-642a33259bdfd5aebca24a4b7b05681239873157.tar.xz
arm64: dts: renesas: hihope-rzg2-ex: Add LVDS support
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> Link: https://lore.kernel.org/r/1570029619-43238-9-git-send-email-biju.das@bp.renesas.com Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
-rw-r--r--arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi29
1 files changed, 29 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi b/arch/arm64/boot/dts/renesas/hihope-rzg2-ex.dtsi
index 70f9a2a4fb60..f9e7cf68a739 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";
};