summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--overlays/verdin-am62_dsi-to-hdmi_overlay.dts10
-rw-r--r--overlays/verdin-am62_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts11
-rw-r--r--overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts2
-rw-r--r--overlays/verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi12
-rw-r--r--overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts14
-rw-r--r--overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts6
-rw-r--r--overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts10
-rw-r--r--overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts6
8 files changed, 70 insertions, 1 deletions
diff --git a/overlays/verdin-am62_dsi-to-hdmi_overlay.dts b/overlays/verdin-am62_dsi-to-hdmi_overlay.dts
index 32a41e7..c4fd6ea 100644
--- a/overlays/verdin-am62_dsi-to-hdmi_overlay.dts
+++ b/overlays/verdin-am62_dsi-to-hdmi_overlay.dts
@@ -32,6 +32,15 @@
};
};
};
+
+ reg_dsi_hdmi: regulator-dsi-hdmi {
+ 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 {
@@ -75,6 +84,7 @@
/* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */
/* Verdin GPIO_10_DSI (SODIMM 21) */
reset-gpios = <&main_gpio0 30 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&reg_dsi_hdmi>;
ports {
#address-cells = <1>;
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 = <&reg_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 = <&reg_dsi_lvds>;
};
};
diff --git a/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts b/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts
index b11c36d..a56e845 100644
--- a/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts
+++ b/overlays/verdin-am62_panel-cap-touch-10inch-dsi_overlay.dts
@@ -28,7 +28,7 @@
enable-gpios = <&main_gpio0 34 GPIO_ACTIVE_HIGH>;
power-supply = <&reg_3v3>;
/* Verdin PWM_3_DSI/PWM_3_DSI_LVDS (SODIMM 19) */
- pwms = <&epwm1 0 6666667 PWM_POLARITY_INVERTED>;
+ pwms = <&epwm1 0 6666667 0>;
};
panel-lvds {
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 {
diff --git a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts
index 5edfbd0..60172ac 100644
--- a/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts
+++ b/overlays/verdin-imx8mm_dsi-to-hdmi_overlay.dts
@@ -8,10 +8,23 @@
/dts-v1/;
/plugin/;
+#include <dt-bindings/gpio/gpio.h>
+
/ {
compatible = "toradex,verdin-imx8mm";
};
+&{/} {
+ reg_dsi_hdmi: regulator-dsi-hdmi {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
+ gpio = <&gpio5 1 GPIO_ACTIVE_HIGH>;
+ regulator-boot-on;
+ regulator-name = "DSI_1_PWR_EN";
+ };
+};
+
&mipi_dsi {
samsung,esc-clock-frequency = <16000000>;
status = "okay";
@@ -32,6 +45,7 @@
};
&hdmi_lontium_lt8912 {
+ vdd-supply = <&reg_dsi_hdmi>;
status = "okay";
ports {
diff --git a/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
index d9f9b67..e9c1929 100644
--- a/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
+++ b/overlays/verdin-imx8mm_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
@@ -17,6 +17,7 @@
#include "display-lt170410_sn65dsi84_overlay.dtsi"
&atmel_mxt_ts {
+ vdd-supply = <&reg_dsi_lvds>;
status = "okay";
};
@@ -42,3 +43,8 @@
&pwm1 {
status = "okay";
};
+
+&reg_dsi_lvds {
+ /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
+ gpio = <&gpio5 1 GPIO_ACTIVE_HIGH>;
+};
diff --git a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
index 5cece29..1a05015 100644
--- a/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
+++ b/overlays/verdin-imx8mp_dsi-to-hdmi_overlay.dts
@@ -32,6 +32,15 @@
};
};
};
+
+ reg_dsi_hdmi: regulator-dsi-hdmi {
+ compatible = "regulator-fixed";
+ enable-active-high;
+ /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
+ gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
+ regulator-boot-on;
+ regulator-name = "DSI_1_PWR_EN";
+ };
};
/* Verdin I2C_2_DSI */
@@ -53,6 +62,7 @@
/* Verdin GPIO_9_DSI (LT8912 INT, SODIMM 17, unused) */
/* Verdin GPIO_10_DSI (SODIMM 21) */
reset-gpios = <&gpio4 28 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&reg_dsi_hdmi>;
status = "okay";
ports {
diff --git a/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts b/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
index 840edd8..80703c5 100644
--- a/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
+++ b/overlays/verdin-imx8mp_dsi-to-lvds_panel-cap-touch-10inch-lvds_overlay.dts
@@ -70,6 +70,7 @@
pinctrl-0 = <&pinctrl_gpio_9_dsi>, <&pinctrl_i2s_2_bclk_touch_reset>;
/* Verdin I2S_2_BCLK (TOUCH_RESET#, SODIMM 42) */
reset-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
+ vdd-supply = <&reg_dsi_lvds>;
status = "okay";
};
};
@@ -84,6 +85,11 @@
status = "okay";
};
+&reg_dsi_lvds {
+ /* Verdin CTRL_SLEEP_MOCI# (SODIMM 256) */
+ gpio = <&gpio4 29 GPIO_ACTIVE_HIGH>;
+};
+
/* As the following make use of labels only just created above */
#include "display-lt170410_sn65dsi84_overlay.dtsi"
#include "verdin-imx8_mipi-dsi-to-sn65dsi84.dtsi"