kirkstone: imx6 dual lvds not working

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

kirkstone: imx6 dual lvds not working

549 Views
ycardaillac_eol
Contributor I

Hi,

I'm moving from dunfell (kernel 5.4.24) to kirkstone (kernel 5.15), and I've unfortunately lost the lvds screen in the process.

I've seen that some device tree moved to using panel I'm not really clear about how that shall work.

Can you advice me on how should I rewrite or if I'm missing anything with the following declaration :

/ {
  ...

	mxcfb1: fb@0 {
		compatible = "fsl,mxc_sdc_fb";
		disp_dev = "ldb";
		interface_pix_fmt = "RGB24";
		default_bpp = <32>;
		int_clk = <0>;
		late_init = <0>;
		status = "okay";
	};

};


&ldb {
	status = "okay";

	lvds-channel@1 {
		fsl,data-mapping = "spwg";
		fsl,data-width = <24>;
		primary;
		crtc = "ipu1-di1";
		status = "okay";

		display-timings {
			native-mode = <&timing0>;
			timing0: timing0 {
				clock-frequency = <40000000>;
				hactive = <800>;
				vactive = <480>;
				hfront-porch = <44>;
				hback-porch = <16>;
				vfront-porch = <43>;
				vback-porch = <5>;
				hsync-len = <2>;
				vsync-len = <2>;
				de-active = <1>;
			};
		};
	};
};

The muxing and so on also stayed the same that with previous version.

Is there anything that might explain that change?

Best regards,

Yann

Labels (4)
0 Kudos
4 Replies

533 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello,

Are you using the NXP BSP since it works the same ldb from 5.4 to 5.15.

Regards

0 Kudos

529 Views
ycardaillac_eol
Contributor I

Hi,

Yes I am:

meta-freescale : ddc8107bf33f61cbc7ea71802f492f5d8e297fad

meta-freescale-3rdparty : f6fa0fd8783ce69d07feaad0b7ca6759b5a4d5d6

meta-freescale-distro : d5bbb487b2816dfc74984a78b67f7361ce404253

poky : 432bef2a904883fe206b136393d976dc662cb30f

meta-openembedded : 82c75b466e55d7dca7a2364986ecb704cf63d141

That's what I thought too... However it's not behaving the same after the upgrade, the lcd screen is working as it used too but the LVDS screen is not.

I don't think I'm missing anything device tree wise.

I'm also using kernel linux-imx with only my device tree + few option unrelated:

CONFIG_NXP_TJA11XX_PHY=y
CONFIG_SND_SOC_MAX98357A=y
CONFIG_FRAMEBUFFER_CONSOLE=n
CONFIG_CRYPTO_USER_API=m
CONFIG_CRYPTO_USER_API_HASH=m

Do you see anything wrong with my config ?

Best regards,

0 Kudos

516 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello

To be frankly no, I do not see anything bad, but I asked if you change the complete BSP or just upgrade, you have to change the complete bsp for that reason.

 

Regards

0 Kudos

445 Views
ycardaillac_eol
Contributor I

Yes I did changed the complete BSP, but I'm not very clear about what are you referring to? What do you think could be the error?

0 Kudos