From 581b91a51c0f117486f277f6077b66bd52f8a846 Mon Sep 17 00:00:00 2001 From: Philippe Schenker Date: Wed, 31 Mar 2021 17:20:00 +0200 Subject: overlays: apalis-imx8x_lvds_overlay: set muxer explicitly to LVDS Signed-off-by: Philippe Schenker --- overlays/apalis-imx8x_lvds_overlay.dts | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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"; -- cgit v1.2.3