summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 16:58:57 +0200
committerStefan Eichenberger <eichest@gmail.com>2024-05-01 08:56:01 +0200
commit35c5fd15e41ad361d23077408634491b752135b5 (patch)
tree2a4107c573bd1a0b3e247213eb83235f0f2a5e25
parent69f40a121e3f901be100f54c19d1721b70c63aa2 (diff)
verdin-imx8mp: dsi-to-hdmi: add support for SLEEP_MOCI
Add support for the SLEEP_MOCI signal to the dsi-to-hdmi overlay, this allows the driver to turn off SLEEP_MOCI in suspend. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r--overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts14
1 files changed, 14 insertions, 0 deletions
diff --git a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
index 553ca98..d448954 100644
--- a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
+++ b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
@@ -8,10 +8,23 @@
/dts-v1/;
/plugin/;
+#include <dt-bindings/gpio/gpio.h>
+
/ {
compatible = "toradex,verdin-imx8mp";
};
+&{/} {
+ reg_dsi_hdmi: regulator-dsi-hdmi {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
+ gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
+ regulator-boot-on;
+ regulator-name = "DSI_1_PWR_EN";
+ };
+};
+
&gpu_2d {
status = "okay";
};
@@ -31,6 +44,7 @@
};
&hdmi_lontium_lt8912 {
+ vdd-supply = <&reg_dsi_hdmi>;
status = "okay";
ports {