diff options
author | Stefan Eichenberger <stefan.eichenberger@toradex.com> | 2024-04-26 16:59:29 +0200 |
---|---|---|
committer | Stefan Eichenberger <eichest@gmail.com> | 2024-05-01 08:56:01 +0200 |
commit | ce3037a2117a8fe1d1bcd6521d1c7f4270b27ae2 (patch) | |
tree | 36b2794ff5abb58ff45a6034092d8dee896dfd1e | |
parent | 60b02ff09d78faaff7088256a08cfe17c28dcec3 (diff) |
verdin-imx8mm: 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 SLEE_MOCI in suspend.
Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r-- | overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts index 7a52c46..418428d 100644 --- a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts +++ b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts @@ -8,15 +8,29 @@ /dts-v1/; /plugin/; +#include <dt-bindings/gpio/gpio.h> + / { compatible = "toradex,verdin-imx8mm"; }; +&{/} { + reg_dsi_hdmi: regulator-dsi-hdmi { + compatible = "regulator-fixed"; + enable-active-high; + /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */ + gpio = <&gpio5 1 GPIO_ACTIVE_HIGH>; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; +}; + &gpu { status = "okay"; }; &hdmi_lontium_lt8912 { + vdd-supply = <®_dsi_hdmi>; status = "okay"; ports { |