imx8mp-evk enable LVDS1

cancel
Showing results for 
Search instead for 
Did you mean: 

imx8mp-evk enable LVDS1

1,309 Views
amol_kulkarni1
Contributor II

I am using imx8mp-evk kit.

Linux version 5.4.70

 

As of now I have built the default wayland image(bitbake imx-image-multimedia) and it working fine.

I have the LVDS-HDMI converter connected to reference board on LVDS0, it's working fine.

I want to enable LVDS1 as well, I have made changes in the "imx8mp-evk.dts". But still LVDS1 is not working.

Please let me know what I am missing. 

snapshot of the dts changes as below also attached the imx8mp-evk.dts as well.

 

 

 

 

&ldb {
	status = "okay";

	lvds-channel@0 {
		fsl,data-mapping = "jeida";
		fsl,data-width = <24>;
		status = "okay";

		port@1 {
			reg = <1>;

			lvds_out: endpoint {
				remote-endpoint = <&it6263_0_in>;
			};
		};
	};
	lvds-channel@1 {
		fsl,data-mapping = "jeida";
		fsl,data-width = <24>;
		status = "okay";

		port@1 {
			reg = <1>;

			lvds1_out: endpoint {
				remote-endpoint = <&it6263_1_in>;
			};
		};
	};
};

	lvds1_bridge: lvds-to-hdmi-bridge@4c {
		compatible = "ite,it6263";
		reg = <0x4c>;
		reset-gpios = <&gpio1 10 GPIO_ACTIVE_LOW>;

		port {
			it6263_1_in: endpoint {
				remote-endpoint = <&lvds1_out>;
			};
		};
	};

&lvds_bridge {
        split-mode;
};

&ldb {
        fsl,dual-channel;
};

 

 

 

 

Thanks

 

 

 

Labels (1)
0 Kudos
4 Replies

1,283 Views
amol_kulkarni1
Contributor II

I want to mirror the LVDS0 and LVDS1 I tried using the above configuration for imx8mp-evk but still not luck.

Let me know if any on has tried mirroring and the dts configuration.

0 Kudos

1,281 Views
igorpadykov
NXP TechSupport
NXP TechSupport

one can try uboot settings for dual lcd provided on p.44 "Specifying displays"  i.MX Linux User’s Guide​

 

Best regards
igor

0 Kudos

1,265 Views
amol_kulkarni1
Contributor II

Thanks for your replay @igorpadykov 

I tried your suggestion but no luck still.

I am using imx8mp-evk reference board and I am trying all this in the evk itself.

Linux imx8mpevk 5.4.70-2.3

Actually I wanted to display something on LVDS1 so I thought of mirroring option but later learnt is not supported in default BSP it has support for following

1. Display connected to LVDS0 (single)

2. Display connected to LVDS1(sigle)

3. Dual split mode(High resolution connected to both channel in split mode)

So having this I wanted to use display connected to LVDS1(J16) instead of LVDS0(J15) (by default.)

As of now I have connect the LVDS-HDMI converter on J15 that is on LVDS0 of reference board and I am able to see the default wayland screen displayed.

I want use connect the LVDS-HDMI to LVDS1(J16) on imx8mp-evk and get the display working with that.

For that I have made following changes in imx8mp-evk.dts.

&ldb {
  status = "okay"; 

  //lvds-channel@0{

  lvds-channel@1 {
             fsl,data-mapping = "jeida";
             fsl,data-width = <24>;
             status = "okay";

            port@1 {
                    reg = <1>;

                     lvds_out: endpoint {
                         remote-endpoint = <&it6263_in>;
                    };
           } ;
    };
};

and I was expecting it work, I am not sure what should be the value of "reg"  kept it as 1 as of now.

I checked the ldb->ctrl registers i see following 

devmem 0x32EC005c 32

0x0000018c :---- looks like its configured correctly for lvds1 channel with data from source 1.

with this I dont see anything display on lvds1.

and in boot messages I see following error.

[ 2.670766] it6263 1-004c: Probe failed. Remote port 'lvds-channel@1' disabled

[FAILED] Failed to start Terminate Psplash Boot Screen.
See 'systemctl status psplash-quit.service' for details.

 

please guide how can achieve this on imx8mp-evk.

 

 

0 Kudos

1,296 Views
igorpadykov
NXP TechSupport
NXP TechSupport

Hi Amol

 

for lvds1 one can look at below example

https://github.com/boundarydevices/linux-imx6/blob/boundary-imx_5.4.x_2.3.0/arch/arm64/boot/dts/free...

 

Best regards
igor

0 Kudos