This is not actually an example. Just pointed me to a dts file. However, I have been able to find the settings in here and the included dts, I found a driver I think (no readme or anything can be found). I have managed to get the backlight working with this post.
We are running Android 10 not linux so really need a copy of the kernel-imx folder with these settings.
When I run our board I get this.
[ 1.371688] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.378324] [drm] No driver support for vblank timestamp query.
[ 1.384326] imx-drm soc@0:bus@32c00000:display-subsystem: bound imx-lcdif-crtc.0 (ops lcdif_crtc_ops)
[ 1.394252] imx_sec_dsim_drv 32e10000.mipi_dsi: version number is 0x1060200
[ 1.402541] imx_sec_dsim_drv 32e10000.mipi_dsi: Failed to attach bridge: 32e10000.mipi_dsi
[ 1.410878] imx_sec_dsim_drv 32e10000.mipi_dsi: failed to bind sec dsim bridge: -517
[ 1.418669] imx-drm soc@0:bus@32c00000:display-subsystem: failed to bind 32e10000.mipi_dsi (ops imx_sec_dsim_ops): -517
[ 1.429543] imx-drm soc@0:bus@32c00000:display-subsystem: master bind failed: -517
Thanks