Device-tree overlay to supports multiple cameras

我看到关于自动探测camera模组并加载其驱动的文档,使用的是Device-tree overlay。
文章内容是
With UEFI boot enabled in this release, the plugin-manager is no longer supported. Now, you need to create a device-tree overlay file to register the camera module. If your camera module has on-board EEPROM and is programmed with a valid camera ID, **you can use that to apply the overlay for specific camera module and update the device-tree entries with proper information at runtime.** To change camera modules, power down the device, **replace the camera module, and then reboot** . The new module works automatically.
我们有个疑问,当同时连接两个camera(A和B),camera A 与camera B都有eeprom;上述文档描述的机制,可以实现既能加载camera A的驱动,又能加载camera B的驱动么?

hello user76438,

yes, you may using device tree overlay to register heterogeneous camera.
please see-also Orin Nano reference device tree for demonstration.
for instance,
$public_sources/kernel_src/hardware/nvidia/t23x/nv-public/overlay/tegra234-p3767-camera-p3768-imx477-imx219.dts

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