Hi experts
We don’t use the tegra camera module. But we find the imx290 probe info in kernel bootup logs like below:
Nov 1 14:34:07 gelx-desktop kernel: [ 1.948164] i2c-mux-gpio cam_i2cmux: 2 port mux on 3180000.i2c adapter
Nov 1 14:34:07 gelx-desktop kernel: [ 1.948861] imx219 9-0010: tegracam sensor driver:imx219_v2.0.6
Nov 1 14:34:07 gelx-desktop kernel: [ 1.972412] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
Nov 1 14:34:07 gelx-desktop kernel: [ 1.972498] imx219 9-0010: imx219_board_setup: error during i2c read probe (-121)
Nov 1 14:34:07 gelx-desktop kernel: [ 1.972804] imx219 9-0010: board setup failed
Nov 1 14:34:07 gelx-desktop kernel: [ 1.972977] imx219: probe of 9-0010 failed with error -121
Nov 1 14:34:07 gelx-desktop kernel: [ 1.973520] imx219 10-0010: tegracam sensor driver:imx219_v2.0.6
Nov 1 14:34:07 gelx-desktop kernel: [ 1.996776] tegra-i2c 3180000.i2c: no acknowledge from address 0x10
Nov 1 14:34:07 gelx-desktop kernel: [ 1.996826] imx219 10-0010: imx219_board_setup: error during i2c read probe (-121)
Nov 1 14:34:07 gelx-desktop kernel: [ 1.997136] imx219 10-0010: board setup failed
Nov 1 14:34:07 gelx-desktop kernel: [ 1.997317] imx219: probe of 10-0010 failed with error -121
I try to remove the camera node in dts file which decompile from the tegra194-p3668-all-p3509-0000.dtb.
I add the “status = “disabled”;” in drivernode like below:
tegra-camera-platform {
compatible = "nvidia, tegra-camera-platform";
num_csi_lanes = <0x4>;
max_lane_speed = <0x16e360>;
min_bits_per_pixel = <0xa>;
vi_peak_byte_per_pixel = <0x2>;
vi_bw_margin_pct = <0x19>;
max_pixel_rate = <0x3a980>;
isp_peak_byte_per_pixel = <0x5>;
isp_bw_margin_pct = <0x19>;
linux,phandle = <0x17e>;
phandle = <0x17e>;
modules {
module0 {
badge = "jakku_front_RBP194";
position = "front";
orientation = [31 00];
linux,phandle = <0x17f>;
phandle = <0x17f>;
drivernode0 {
status = "disabled";
pcl_id = "v4l2_sensor";
devname = "imx219 9-0010";
proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@0/rbpcv2_imx219_a@10";
linux,phandle = <0x180>;
phandle = <0x180>;
};
drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
linux,phandle = <0x181>;
phandle = <0x181>;
};
};
module1 {
badge = "jakku_rear_RBP194";
position = "rear";
orientation = [31 00];
linux,phandle = <0x182>;
phandle = <0x182>;
drivernode0 {
status = "disabled";
pcl_id = "v4l2_sensor";
devname = "imx219 10-0010";
proc-device-tree = "/proc/device-tree/cam_i2cmux/i2c@1/rbpcv2_imx219_c@10";
linux,phandle = <0x183>;
phandle = <0x183>;
};
drivernode1 {
status = "disabled";
pcl_id = "v4l2_lens";
proc-device-tree = "/proc/device-tree/lens_imx219@RBPCV2/";
linux,phandle = <0x184>;
phandle = <0x184>;
};
};
};
};
And then recompile to DTB file and flash to xavier board, but it probe the imx219 9-0010 and imx219 9-0010.
How to modify the node to disable the tegra camera module or disable the imx219 node?