From 6e4765109a648b641da2916e415eeedcd58ca36b Mon Sep 17 00:00:00 2001 From: Stefan Eichenberger Date: Fri, 26 Apr 2024 17:00:04 +0200 Subject: verdin-am62: dsi-to-lvds: add support for SLEEP_MOCI 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 --- ...n-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts | 11 +++++++++++ 1 file changed, 11 insertions(+) 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 = <®_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 = <®_dsi_lvds>; }; }; -- cgit v1.2.3