Imx6ull device tree frame buffer

So my module does not seem to take account of what i set for lcdif in device tree

Once the kernel has booted i can issue fbset commands

fbset -g 800 480 800 480 32
fbset -t 42000 10 1 10 3 5 5

and the display is the correct size and set to the correct position on the physical lcd

Is there a way to set the frame buffer values in the device tree ?

You have to reset vidargs variable from U-Boot. Read more: https://developer.toradex.com/knowledge-base/display-output-resolution-and-timings-linux#iMX_6ULL_and_iMX_7_based_modules

I cleared the vidargs flag

fw_setenv vidargs video

and hey presto it then used the settings from my device tree

Perfect that it works. Thanks for the feedback.