[Librem-5-dev] [PATCH 01/12] emcraft-som: Add HDMI DT bits

Guido Günther agx at sigxcpu.org
Mon Oct 29 04:47:43 PDT 2018


Signed-off-by: Guido Günther <guido.gunther at puri.sm>
---
 arch/arm64/boot/dts/freescale/emcraft-imx8-som.dts | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm64/boot/dts/freescale/emcraft-imx8-som.dts b/arch/arm64/boot/dts/freescale/emcraft-imx8-som.dts
index b4a2922d7b12..0bcabd104b20 100644
--- a/arch/arm64/boot/dts/freescale/emcraft-imx8-som.dts
+++ b/arch/arm64/boot/dts/freescale/emcraft-imx8-som.dts
@@ -966,6 +966,10 @@
 &dcss {
 	status = "okay";
 
+#ifdef USE_HDMI
+	disp-dev = "hdmi_disp";
+	disp-mode = <5>;
+#else
 	disp-dev = "mipi_disp";
 
 	clocks = <&clk IMX8MQ_CLK_DISP_APB_ROOT>,
@@ -993,6 +997,7 @@
 			remote-endpoint = <&mipi_dsi_in>;
 		};
 	};
+#endif
 };
 
 #ifdef USE_HDMI
-- 
2.19.0



More information about the Librem-5-dev mailing list