summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilippe Schenker <philippe.schenker@toradex.com>2021-03-31 17:20:00 +0200
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-04-14 07:40:15 +0000
commit581b91a51c0f117486f277f6077b66bd52f8a846 (patch)
tree110fe9cae2919262800aacc4b9ab041b8b9d253c
parent71ec3fe84d04a2d8ab6c55ddf371f0e80ccaa348 (diff)
overlays: apalis-imx8x_lvds_overlay: set muxer explicitly to LVDS
Signed-off-by: Philippe Schenker <philippe.schenker@toradex.com>
-rw-r--r--overlays/apalis-imx8x_lvds_overlay.dts18
1 files changed, 18 insertions, 0 deletions
diff --git a/overlays/apalis-imx8x_lvds_overlay.dts b/overlays/apalis-imx8x_lvds_overlay.dts
index ed8e21f..3b1332f 100644
--- a/overlays/apalis-imx8x_lvds_overlay.dts
+++ b/overlays/apalis-imx8x_lvds_overlay.dts
@@ -28,6 +28,24 @@
status = "okay";
};
+/* On-module GPIO Expander */
+&pcal6416_1 {
+ /*
+ * This gpio-hog drives a muxing device. With that we can choose
+ * if LVDS1_B pins are active or if DSI signals routed to the
+ * on-module Lontium LT8912 DSI-to-HDMI bridge chip are active.
+ *
+ * output-high; muxes to DSI signals, getting Apalis HDMI1 pins active
+ * output-low; muxes to LVDS1_B signals, getting Apalis LVDS1 pins active
+ */
+ LVDS1B_HDMI_MUX {
+ gpio-hog;
+ gpios = <14 GPIO_ACTIVE_HIGH>;
+ output-low;
+ line-name = "LVDS1_HDMI_MUX";
+ };
+};
+
/* Apalis BKL1_PWM */
&pwm_mipi_lvds1 {
status = "okay";