From f4840f22241ddd063f3195f48a7e090e41bd17f1 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(+) (limited to 'overlays') diff --git a/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi index 3810320..889d175 100644 --- a/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi +++ b/overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi @@ -5,8 +5,20 @@ // 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 { compatible = "ti,sn65dsi84"; + vcc-supply = <®_dsi_lvds>; status = "okay"; ports { -- cgit v1.2.3