mxcfb in device tree

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

mxcfb in device tree

Jump to solution
1,301 Views
lyashmik
Contributor II

I am trying to set up the display imx6q-sabresd and from other blog posts on nxp I see that people are adding mxcfb* to their device tree, like this for example:

mxcfb1:fb@0 {
compatible =  "fsl,mxc_sdc_fb" ;
disp_dev =  "lcd" ;
interface_pix_fmt =  "RGB565" ;
mode_str = "CLAA-WVGA";
default_bpp = < 16 >;
int_clk = < 0 >;
late_init = < 0 >;
status =  "okay" ;
};
I am on kernel 5.17 imx-linux and I get an error during the build saying that it cannot parse it. Could someone tell me what I am missing.
0 Kudos
Reply
1 Solution
1,281 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @lyashmik 

I hope you are doing well.

 

You can refer to the imx6qdl-sabresd.dtsi and imx6q-sabresd.dts. there are no changes from 5.10 to 6.6.

 

Best regards,

Salas.

 

 

View solution in original post

2 Replies
1,282 Views
Manuel_Salas
NXP TechSupport
NXP TechSupport

Hello @lyashmik 

I hope you are doing well.

 

You can refer to the imx6qdl-sabresd.dtsi and imx6q-sabresd.dts. there are no changes from 5.10 to 6.6.

 

Best regards,

Salas.

 

 

1,206 Views
lyashmik
Contributor II
The problem was that I was using mainline linux repository instead of linux-imx repository. Thanks.
0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1970016%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3Emxcfb%20in%20device%20tree%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1970016%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%3CFONT%3EI%20am%20trying%20to%20set%20up%20the%20display%20imx6q-sabresd%20and%20from%20other%20blog%20posts%20on%20nxp%20I%20see%20that%20people%20are%20adding%20mxcfb*%20to%20their%20device%20tree%2C%20like%20this%20for%20example%3A%3C%2FFONT%3E%3C%2FP%3E%3CDIV%3E%3CSPAN%3E%3CFONT%3Emxcfb1%3Afb%400%20%7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AN%3E%3CFONT%3E%26gt%3B%3B%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CFONT%3Elate_init%20%3D%20%26lt%3B%20%3C%2FFONT%3E%3C%2FSPAN%3E%3CSPAN%3E%3CFONT%3E0%20%3C%2FFONT%3E%3C%2FSPAN%3E%3CSPAN%3E%3CFONT%3E%26gt%3B%3B%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CFONT%3Estatus%20%3D%26nbsp%3B%20%3C%2FFONT%3E%3C%2FSPAN%3E%3CSPAN%3E%3CFONT%3E%22okay%22%20%3C%2FFONT%3E%3C%2FSPAN%3E%3CSPAN%3E%3CFONT%3E%3B%3C%2FFONT%3E%3C%2FSPAN%3E%3C%2FDIV%3E%3CDIV%3E%3CSPAN%3E%3CFONT%3E%7D%3B%3C%2FFONT%3E%3CBR%20%2F%3E%3C%2FSPAN%3E%3CFONT%3EI%20am%20on%20kernel%205.17%20imx-linux%20and%20I%20get%20an%20error%20during%20the%20build%20saying%20that%20it%20cannot%20parse%20it.%20Could%20someone%20tell%20me%20what%20I%20am%20missing.%3C%2FFONT%3E%3C%2FDIV%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1977966%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20mxcfb%20in%20device%20tree%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1977966%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EThe%20problem%20was%20that%20I%20was%20using%20mainline%20linux%20repository%20instead%20of%20linux-imx%20repository.%20Thanks.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1970284%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20mxcfb%20in%20device%20tree%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1970284%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F239796%22%20target%3D%22_blank%22%3E%40lyashmik%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20hope%20you%20are%20doing%20well.%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EYou%20can%20refer%20to%20the%26nbsp%3B%3CSPAN%3E%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx%2Fblob%2Flf-6.6.y%2Farch%2Farm%2Fboot%2Fdts%2Fnxp%2Fimx%2Fimx6qdl-sabresd.dtsi%23L162%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eimx6qdl-sabresd.dtsi%3C%2FA%3E%20and%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fgithub.com%2Fnxp-imx%2Flinux-imx%2Fblob%2Flf-6.6.y%2Farch%2Farm%2Fboot%2Fdts%2Fnxp%2Fimx%2Fimx6q-sabresd.dts%23L32%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Eimx6q-sabresd.dts%3C%2FA%3E.%20there%20are%20no%20changes%20from%205.10%20to%206.6.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3E%3CSPAN%3EBest%20regards%2C%3C%2FSPAN%3E%3C%2FP%3E%0A%3CP%3E%3CSPAN%3ESalas.%3C%2FSPAN%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E