till now, I tried some things, like inserted the parameters values to the AZ Display ATM0700L6J (see code below) in the panel-simple.c and reconfigure device tree to point to the new entry, but have no success with it. Display still blank.
With the same setup, I rollback to 2.4 and display works fine. The only thing I have to do is to set environment with : setenv vidargs ‘video=dcufb:pixclockpol:0,800x480-16@60’ to get the correct resolution.
I’ve tried to set the environment with the alternatives below, one at a time (reconfiguring the boot per time to guarantee that both are not used at same time), but without success.
setenv vidargs ‘video=LVDS-1:pixclockpol:0,800x480-16@60’
setenv fdt_fixup ‘fdt addr ${fdt_addr_r} && fdt set /panel compatible “azdisplay,atm0700l6j”’
Like I wrote before, at the boot, Toradex splash screen is showed, but when image starts, display becomes blank (this is a process, because the driver stops to refresh the display, so it will become blank after some seconds).
panel-simple.c
static const struct drm_display_mode azdisplay_atm0700l6j_mode = {
.clock = 33300,
.hdisplay = 800,
.hsync_start = 800 + 210,
.hsync_end = 800 + 210 + 1,
.htotal = 800 + 210 + 1 + 45,
.vdisplay = 480,
.vsync_start = 480 + 22,
.vsync_end = 480 + 22 + 1,
.vtotal = 480 + 23 + 1 + 22,
.vrefresh = 60,
};
static const struct panel_desc azdisplay_atm0700l6j = {
.modes = &azdisplay_atm0700l6j_mode,
.num_modes = 1,
.size = {
.width = 154,
.height = 86,
},
.bus_flags = DRM_BUS_FLAG_PIXDATA_POSEDGE,
};
...
}, {
.compatible = "azdisplay,atm0700l6j",
.data = &azdisplay_atm0700l6j,
}, {
device tree
panel: panel {
compatible = "azdisplay,atm0700l6j";
backlight = <&bl>;
power-supply = <®_3v3>;
};