Now another problem: nvarguscamerasrc don’t see more then 1 camera (we have two).
How properly fill module fields in tegra-camera-platform device-tree node?
badge, position and orientation there are in driver programming guide. What about drivernode? What must be in devname and proc-device-tree?
now it is like this:
module0 {
badge = "tfm_bottomleft_tfm";
position = "bottomleft";
orientation = "1";
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "tfm 2-0020";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/i2c@3180000/tfm_a@20";
};
};
module1 {
badge = "imx265_bottomright_imx265";
position = "bottomright";
orientation = "1";
drivernode0 {
/* Declare PCL support driver (classically known as guid) */
pcl_id = "v4l2_sensor";
/* Driver v4l2 device name */
devname = "imx265 1-0010";
/* Declare the device-tree hierarchy to driver instance */
proc-device-tree = "/proc/device-tree/i2c@c240000/imx265_b@10";
};
};
/dev/video0 and /dev/video1 are present and work with v4l2-ctl.