[Librem-5-dev] [PATCH 02/12] devkit: Add HDMI DT bits

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


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

diff --git a/arch/arm64/boot/dts/freescale/librem5-evk.dts b/arch/arm64/boot/dts/freescale/librem5-evk.dts
index 89440c1a7dc4..2a7107221fd7 100644
--- a/arch/arm64/boot/dts/freescale/librem5-evk.dts
+++ b/arch/arm64/boot/dts/freescale/librem5-evk.dts
@@ -1141,7 +1141,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>,
@@ -1169,6 +1172,7 @@
 			remote-endpoint = <&mipi_dsi_in>;
 		};
 	};
+#endif
 };
 
 #ifdef USE_HDMI
-- 
2.19.0



More information about the Librem-5-dev mailing list