I’ve set the following vidargs on both modules:
setenv vidargs video=mxcfb0:dev=lcd,480x272,if=RGB888,bpp=32
On the iMX6:
Kernel output:
[ 0.300035] mxc_sdc_fb fb.20: register mxc display driver lcd
[ 0.302278] mxc_sdc_fb fb.20: 480x272 h_sync,r,l: 41,2,2 v_sync,l,u: 10,2,2 pixclock=9000000 Hz
[ 0.354199] mxc_sdc_fb fb.20: 480x272 h_sync,r,l: 41,2,2 v_sync,l,u: 10,2,2 pixclock=9000000 Hz
[ 0.373199] Console: switching to colour frame buffer device 60x34
[ 0.408605] mxc_sdc_fb fb.21: register mxc display driver hdmi
[ 0.408663] mxc_hdmi 20e0000.hdmi_video: Detected HDMI controller 0x13:0x1a:0xa0:0xc1
[ 0.408689] fbcvt: 640x480@60: CVT Name - .307M3
[ 0.411522] mxc_sdc_fb fb.21: 640x480 h_sync,r,l: 96,16,48 v_sync,l,u: 2,10,33 pixclock=25174000 Hz
fbset:
mode "480x272-60"
# D: 9.000 MHz, H: 17.143 kHz, V: 59.940 Hz
geometry 480 272 480 272 32
timings 111111 2 2 2 2 41 10
rgba 8/16,8/8,8/0,8/24
endmode
iMX7
Kernel output:
[ 0.162852] backlight supply power not found, using dummy regulator
[ 0.164850] 30730000.lcdif supply lcd not found, using dummy regulator
[ 0.230413] mxsfb 30730000.lcdif: failed to find mxc display driver
[ 0.239073] Console: switching to colour frame buffer device 80x30
[ 0.256832] mxsfb 30730000.lcdif: initialized
...
OK ] Created slice system-systemd\x2dbacklight.slice.
Starting Load/Save Screen Backli[ 4.994155] CAN device driver interface
ght...htness of backlight:backlight...
[ 5.016800] spi2.0 supply vdd not found, using dummy regulator
Starting Create Volatile[ 5.030731] spi2.0 supply xceiver not found, using dummy regulator
Files and Directories...
[ OK ] Started Load/Save Screen Backlight Brightness of backlight:backlight
fbset
mode "640x480-60"
# D: 25.176 MHz, H: 31.469 kHz, V: 59.942 Hz
geometry 640 480 640 480 16
timings 39721 40 24 32 11 96 2
rgba 5/11,6/5,5/0,0/0
endmode
If I change the framebuffer geometry and timings to the same values as seen on the iMX6 (or change any value), the display brightness changes.
I will play with the settings a bit and see if I get some output