summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 16:58:57 +0200
committerStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 16:58:57 +0200
commit8b6013f7673f5a2fed4099b802f26e79b9c18b35 (patch)
tree0ff005bb9c87ceb6917a1dfd76a47f3fc8b1c616
parent7f35a26c74084d29244a032bce9a420b1564c116 (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.dts10
1 files changed, 10 insertions, 0 deletions
diff --git a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
index 5cece29..1a05015 100644
--- a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
+++ b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
@@ -32,6 +32,15 @@
};
};
};
+
+ 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";
+ };
};
/* Verdin I2C_2_DSI */
@@ -53,6 +62,7 @@
/* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */
/* Verdin GPIO_10_DSI (SODIMM 21) */
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&reg_dsi_hdmi>;
status = "okay";
ports {