Just like WindowsOS, I want my embedded LinuxOS to detect a new display device connection on the MIPI-DSI SAS connector; I want to connect to an HDMI monitor (using the SAS to HDMI cable in the imx8mm evk); Also, I want to connect to a Tianma touch monitor with a MIPI-DSI SAS cable. Plus I want to select one of three MIPI-CSI cameras (OV5640, OV9734, and AR0144) . Now, I guess like Windows, the drivers are loaded (LKM's .ko drivers) when the camera is selected and connection detected (hardware is an I2C MUX, I2C GPIO Translator/Expander, etc). I assume that the Camera Drivers would be added to kernel as Modules<M> ,as well as the touch and panel drivers for the Tianma display { ILITEK(touch driver)& Raydium(panel driver)}. BUT, how do I set up the device tree; do i include the touch node and the panel node, plus the adv7535 node stuff for the HDMI monitor....SLEEPY AND CONFUSED!!
will the touch panel as CONFIG_DRM_PANEL_RAYDIUM_RM67191=m get loaded if the dtb file has its node setup when booted,
No, you need load driver first, you should set CONFIG_DRM_PANEL_RAYDIUM_RM67191=y
thanks much...I guess i could boot from boot prompt with a different dtb file...???
Yes, you can choose dtb in when uboot load dtb.
1.MIPI-HDMI can detect hotplug, MIPI DSI driver can't detect hotplug.
2.You can find demo device tree about touch driver and display driver.