I have a kernel module (ti-sn65dsi83) that is built into the kernel. It seems to be loaded during boot, since I can get information about the module using "modinfo ti-sn65dsi83", however nothing happens on the I2C bus to initialize the lvds bridge. Therefor I need to get the kernel messages, however the messages are implemented as "dynamic debug messages" (See Dynamic Debug by Biyong Sun).
I have enabled dynamic debug in the kernel configuration under "kernel hacking" -> "printk and dmesg options". What should be left in order to see the messages should be to write the following commands during u-boot:
setenv DYNDBG "dyndbg =\\"file drivers/gpu/drm/bridge/ti-sn65dsi83.c +pfl\\""
setenv mmcargs 'setenv bootargs ${jh_clk} console=${console} root=${mmcroot} ${DYNDBG}'
saveenv
Setting the bootargs does change the messages printed in the console during boot. In the beginning there is a line saying "** 2128 printk messages dropped **" and it seems that some other dynamic messages get printed - but not related to ti-sn65dsi83.
This leaves the questions:
The kernel modules seems to be loaded during boot, but is there something more I should do to establish communication via I2C to the LVDS bridge?
Can I expect that the kernel module automatically will initiate the communication and initialization of the LVDS bridge?
When I don't see any messages related to ti-sn65dsi83, is it because there are no messages or am I still not seeing the dynamic debug messages?
Regards Henrik