How to use IMX219 Port A and TC358743 Port B

I’d like to use IMX219 Port A and TC358743 Port B with Jetson Xavier NX(JetPack 4.6.1).

TC358743 reference under below:

The TC358743 reference is working well with Jetson Xavier NX(JetPack 4.6.1).

When I use both IMX219 Port A and TC358743 Port B, it’s not working.
I modified the dtsi file. I don’t know how to set tegra-camera-platform parameters.

IMX216 values:
max_lane_speed = <1500000>;
min_bits_per_pixel = <10>;
vi_peak_byte_per_pixel = <2>;
vi_bw_margin_pct = <25>;
max_pixel_rate = <240000>;
isp_peak_byte_per_pixel = <5>;
isp_bw_margin_pct = <25>;

TC358743 values:
max_lane_speed = <1500000>;
min_bits_per_pixel = <16>;
vi_peak_byte_per_pixel = <2>;
vi_bw_margin_pct = <25>;
max_pixel_rate = <408000>;
isp_peak_byte_per_pixel = <2>;
isp_bw_margin_pct = <25>;

Some value is different.
Question 1.
Is it possible set the different tegra-camera-platform parameters by Jetson Xavier NX hardware?

I referred to Camera IMX477-A and IMX219-B implementation by /opt/nvidia/jetson-io/jetson-io.py.
IMX477 and IMX219 is using the same values.

Question 2.
If it’s possible, could you give me advises,please?

I attached dmesg( IMX219 Port A and TC358743 Port B) and dts( IMX219 Port A and TC358743 Port B),dts(IMX477-A and IMX219-B).
The dmesg said imx219 and tc358743 failure.

dmesg_IMX219-A_TC358743-B.txt (64.5 KB)
kernel_tegra194-p3668-all-p3509-0000_IMX219-A_TC358743-B.dts (241.0 KB)
kernel_tegra194-p3668-all-p3509-0000-user-custom_IMX477-A_IMX219-B.dts (253.3 KB)

Many thanks.

hello y_m1,

such configurations is doable.
you may also check reference driver, which is imx274+tc358840.
for example, $public_sources/kernel_src/hardware/nvidia/platform/t19x/common/kernel-dts/t19x-common-modules/tegra194-camera-imx274-hdmi.dtsi

however,
you cannot configure different physical settings in tegra-camera-platform{}, since they’re used by driver side to calculate max ISO bandwidth.

Hello.
Sorry, I made a mistake with the attachment.
This attachment is my dtsi file [IMX219 Port A and TC358743 Port B].

tegra194-camera-imx274-hdmi.dtsi is not using CAM_I2C_MUX.
imx219 is using CAM_I2C_MUX.
My dtsi file is implemented without CAM_I2C_MUX
and so imx219 is not recognized, maybe.
If it’s right, could you tell me how to set IMX219 Port A and TC358743 Port B without CAM_I2C_MUX?

tegra194_xavier_imx219_tc358743.dtsi (17.3 KB)

Many thanks.

hello y_m1,

you may removing CAM_I2C_MUX and to define correct port bindings.
please see-also Topic 192486 for reference of i2c bus multiplexer. thanks

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