From d825fccd2b61f8a80419a6be0750ad74e9d42e26 Mon Sep 17 00:00:00 2001 From: Stefan Eichenberger Date: Fri, 26 Apr 2024 16:59:08 +0200 Subject: verdin-imx8: dsi-to-lvds: add support for SLEEP_MOCI Add support for the SLEEP_MOCI regulator to the dtsi file that is used by verdin-imx8mm and verdin-imx8mp. The gpio needs to be set in the corresponding dsi-to-lvds overlay. Signed-off-by: Stefan Eichenberger --- overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi index b5d7c6d..f8d2786 100644 --- a/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi +++ b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi @@ -5,7 +5,19 @@ // Common Code to setup MIPI DSI to SN65DSI84 +#include + +&{/} { + reg_dsi_lvds: regulator-dsi-lvds { + compatible = "regulator-fixed"; + enable-active-high; + regulator-boot-on; + regulator-name = "DSI_1_PWR_EN"; + }; +}; + &lvds_ti_sn65dsi84 { + vcc-supply = <®_dsi_lvds>; status = "okay"; ports { -- cgit v1.2.3