diff options
author | Stefan Eichenberger <stefan.eichenberger@toradex.com> | 2024-04-26 16:59:29 +0200 |
---|---|---|
committer | Stefan Eichenberger <stefan.eichenberger@toradex.com> | 2024-04-26 16:59:29 +0200 |
commit | 01ed66ef0e53d49b41245de968b7a0ebea78e9b6 (patch) | |
tree | 7c4c786b2eb8749b14855322d707214ddc17b64e | |
parent | 8cfa23e1c3aa6c9eb5f0a4927d8a14068a787f34 (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 5edfbd0..60172ac 100644 --- a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts +++ b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts @@ -8,10 +8,23 @@ /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"; + }; +}; + &mipi_dsi { samsung,esc-clock-frequency = <16000000>; status = "okay"; @@ -32,6 +45,7 @@ }; &hdmi_lontium_lt8912 { + vdd-supply = <®_dsi_hdmi>; status = "okay"; ports { |