summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-04-10 19:19:37 +0300
committerOleksandr Suvorov <oleksandr.suvorov@toradex.com>2021-04-10 22:48:09 +0300
commit71ec3fe84d04a2d8ab6c55ddf371f0e80ccaa348 (patch)
tree9488eaeca52aab454b4c653d84a0b8f78208e6e8
parent5f2a2d2d551cd48a19e22c5f10dda858552bcd49 (diff)
overlays: colibri-imx8x: use mxsfb driver for LCD/VGA interfaces
This driver correctly supports display flags and fixes the pixel shift issue on displays with the data latching on the rising edge. The DPU-enabled driver for LCDIF device (display_lcdif) doesn't support display special flags. It prevents the VGA port on the Colibri Evaluation board working correctly. The driver mxsfb (adma_lcdif) works well with display flags, so that it should be used as a default driver for LCD panels and VGA monitors. Note, the mxsfb driver DOESN'T support imx dpu unit. Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
-rw-r--r--overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts17
-rw-r--r--overlays/colibri-imx8x_parallel-rgb_overlay.dts20
2 files changed, 35 insertions, 2 deletions
diff --git a/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts b/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts
index 3b03622..40a20c2 100644
--- a/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts
+++ b/overlays/colibri-imx8x_parallel-rgb-lvds_overlay.dts
@@ -27,6 +27,17 @@
&display_lcdif {
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@1 {
+ reg = <1>;
+
+ display_lcdfif_out: endpoint {
+ remote-endpoint = <&lcd_panel_in>;
+ };
+ };
};
/* Need to be disabled due to overlapped pins SODIMM_55, SODIMM_63 */
@@ -61,4 +72,10 @@
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_lvds_converter>;
status = "okay";
+
+ port {
+ lcd_panel_in: endpoint {
+ remote-endpoint = <&display_lcdfif_out>;
+ };
+ };
};
diff --git a/overlays/colibri-imx8x_parallel-rgb_overlay.dts b/overlays/colibri-imx8x_parallel-rgb_overlay.dts
index ccea1c6..c173284 100644
--- a/overlays/colibri-imx8x_parallel-rgb_overlay.dts
+++ b/overlays/colibri-imx8x_parallel-rgb_overlay.dts
@@ -19,14 +19,30 @@
status = "okay";
};
-&backlight {
+&adma_lcdif {
status = "okay";
+
+ #address-cells = <1>;
+ #size-cells = <0>;
+ port@0 {
+ reg = <0>;
+
+ adma_lcdif_out: endpoint {
+ remote-endpoint = <&lcd_panel_in>;
+ };
+ };
};
-&display_lcdif {
+&backlight {
status = "okay";
};
&panel_dpi {
status = "okay";
+
+ port {
+ lcd_panel_in: endpoint {
+ remote-endpoint = <&adma_lcdif_out>;
+ };
+ };
};