Hi ShaneCCC,
Thanks for your information!
I have verified the patch from here and it can work with v4l2src
.
By the way, I have another question about CSI ports.
I found there are different orders for cameras. With JetPack 5.x, CAM0 is video0 and CAM1 is video1 for the orders of video devices.
However, CAM0 is video1 and CAM1 is video0 with JetPack 6. I think it is not intuitive for that.
How to modify the orders of video devices?
Here is our dts file, CAM0 is at i2c@0 and CAM1 is at i2c@1, and I don’t want to modify the orders:
cam_i2cmux{
status = "okay";
compatible = "i2c-mux-gpio";
#address-cells = <1>;
#size-cells = <0>;
i2c-parent = <&cam_i2c>;
mux-gpios = <&gpio_aon CAM_I2C_MUX GPIO_ACTIVE_HIGH>;
i2c@0 {
status = "okay";
reg = <0>;
#address-cells = <1>;
#size-cells = <0>;
cam_a@48 {
reset-gpios = <&gpio CAM0_PWDN GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
i2c@1 {
status = "okay";
reg = <1>;
#address-cells = <1>;
#size-cells = <0>;
cam_c@48 {
reset-gpios = <&gpio CAM1_PWDN GPIO_ACTIVE_HIGH>;
status = "okay";
};
};
};