summaryrefslogtreecommitdiff
path: root/overlays
diff options
context:
space:
mode:
authorStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 16:59:08 +0200
committerStefan Eichenberger <stefan.eichenberger@toradex.com>2024-04-26 16:59:08 +0200
commitf4840f22241ddd063f3195f48a7e090e41bd17f1 (patch)
tree488048ff638ab778310f904272901728abfa3530 /overlays
parent8b6013f7673f5a2fed4099b802f26e79b9c18b35 (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>
Diffstat (limited to 'overlays')
-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 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 <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 {
compatible = "ti,sn65dsi84";
+ vcc-supply = <&reg_dsi_lvds>;
status = "okay";
ports {