Loading camera driver that compiled as loadable module

I have build my own camera driver based on the imx185 driver and .dtsi build as part of the device tree.
On the target I can see my loadable module in:
/lib/modules/4.9.253-tegra/kernel/drivers/media/i2c/eCamera.ko
and I can see in the device tree the I2C address that I have set.
Now I want to load my driver and try to connect camera to the board,
How I’m doing it?
By using ‘insmod’ command to my ‘eCamera.ko’ driver?
How did it connect with the device tree?
Or may be I’m missing the way at all?

hello david.ildis,

yes, it’s insmod commands to load the kernel module dynamically.
device tree is hardware configurations, you could add sensor settings into main device tree sources,
please see-also developer guide, Using the Main Platform Device Tree File for implementation.
thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.