Other Parts Discussed in Thread: DS90UB960-Q1, AM62A7
There is a camera connected to a board designed with TI's AM62A that operates through a mipi interface.
I want to change the settings for CSI0 in the existing EVK Device Tree.
Here is the EVK device tree configuration:
991 csi2_phy0: endpoint {
992 remote-endpoint = <&ds90ub960_0_csi_out>;
993 bus-type = <4>; / CSI2 DPHY. /
994 clock-lanes = <0>;
995 data-lanes = <1 2 3 4>;
996 };
997 };
621 deser@3d {
622 compatible = "ti,ds90ub960-q1";
623
624 reg-names = "main", "ser0", "ser1", "ser2", "ser3";
625 reg = <0x3d>, <0x44>, <0x45>, <0x46>, <0x47>;
626
627 clocks = <&clk_fusion_25M_fixed>;
628
629 i2c-alias-pool = /bits/ 16 <0x4a 0x4b 0x4c 0x4d 0x4e 0x4f>;
630
631 data-rate = <1600000000>;
632
633 ds90ub960_0_ports: ports {
634 #address-cells = <1>;
635 #size-cells = <0>;
636
637 /* CSI-2 */
638 port@4 {
639 reg = <4>;
640 ds90ub960_0_csi_out: endpoint {
641 clock-lanes = <0>;
642 data-lanes = <1 2 3 4>;
643 remote-endpoint = <&csi2_phy0>;
644 };
645 };
---------------------------
The configuration has been changed as follows for our board:
@| 956 &csi0_port0 {
@| 957 csi2_phy0: endpoint {
@| 959 remote-endpoint = <&csi_cam0>;
@| 960 bus-type = <4>; /* CSI2 DPHY. */
@| 961 clock-lanes = <0>;
@| 962 data-lanes = <1 2 3 4>;
@| 963 };
@| 964 };
In our board, the remote endpoint is directly connected to the sensor, and the sensor's slave address is set to 0x10 through the i2c2 interface.
We implemented the configuration as below, but it seems to be incorrect. Could you please guide us on how to modify it?
933 &main_i2c2 {
934 #address-cells = <1>;
935 #size-cells = <0>;
936
937 ar0323: camera@3c {
938 compatible = "ar0323";
939 reg = <0x10>;
940
941
942 clocks = <&clk_cam_24M>;
943 clock-names = "xvclk";
944
945 port {
946 csi_cam0: endpoint {
947 remote-endpoint = <&csi0_port0>;
948 clock-lanes = <0>;
949 data-lanes = <1 2 3 4>;
950 };
951 };
952 };
953 };
-----------------
Additionally, I heard that TI headquarters confirmed the operation by connecting a camera sensor directly to the AM62A EVK board via MIPI input. Can we receive the device tree file for this case?