summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 17:00:04 +0200
committerStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 17:00:04 +0200
commit6e4765109a648b641da2916e415eeedcd58ca36b (patch)
tree1d0bf31274cfd616b578f852b0ba91c032ae338a
parent64f9b37ae48a0a9c862cc947813bccbb5a5d49da (diff)
verdin-am62: dsi-to-lvds: add support for SLEEP_MOCIHEADmaster
Add support for the SLEEP_MOCI signal to the dsi-to-lvds overlays, this allows the driver to turn off the the SLEEP_MOCI in suspend. Signed-off-by: Stefan Eichenberger <stefan.eichenberger@toradex.com>
-rw-r--r--overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts11
1 files changed, 11 insertions, 0 deletions
diff --git a/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
index 35378de..fe2d536 100644
--- a/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
+++ b/overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
@@ -59,6 +59,15 @@
};
};
};
+
+ reg_dsi_lvds: regulator-dsi-lvds {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
+ gpio = <&main_gpio0 31 GPIO_ACTIVE_HIGH>;
+ regulator-boot-on;
+ regulator-name = "DSI_1_PWR_EN";
+ };
};
&dsi_bridge {
@@ -101,6 +110,7 @@
/* Verdin Verdin DSI_1_INT# (SN65DSI84 IRQ, SODIMM 17, unused) */
/* Verdin DSI_1_BKL_EN (SODIMM 21) */
enable-gpios = <&main_gpio0 30 GPIO_ACTIVE_HIGH>;
+ vcc-supply = <&reg_dsi_lvds>;
ports {
#address-cells = <1>;
@@ -138,5 +148,6 @@
pinctrl-0 = <&pinctrl_dsi1_int>, <&pinctrl_i2s_2_bclk_gpio>;
/* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */
reset-gpios = <&main_gpio0 35 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&reg_dsi_lvds>;
};
};