summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 17:00:04 +0200
committerStefan Eichenberger <eichest@gmail.com>2024-05-01 09:03:57 +0200
commit6ee6e128ac194042c5ad9ca219fc37813239f811 (patch)
tree35e3ed93d336eec5705d7a711247bf277e02d7b7
parent41d6af1681d8917336b0bcbbe2372709eed272da (diff)
verdin-am62: dsi-to-lvds: add support for SLEEP_MOCItoradex_ti-linux-6.1.y
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>;
};
};