summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 16:59:08 +0200
committerStefan Eichenberger <eichest@gmail.com>2024-05-01 08:56:01 +0200
commitd825fccd2b61f8a80419a6be0750ad74e9d42e26 (patch)
tree4d0e21661ca0a8bcb997e1faab5d93516719cada
parent35c5fd15e41ad361d23077408634491b752135b5 (diff)
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 <stefan.eichenberger@toradex.com>
-rw-r--r--overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi12
1 files changed, 12 insertions, 0 deletions
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 <dt-bindings/gpio/gpio.h>
+
+&{/} {
+ 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 = <&reg_dsi_lvds>;
status = "okay";
ports {