工具/软件:
你(们)好
我们使用 SDK 10。
我们希望使用 Linux 为 max96724 + max96717 +相机开发驱动程序。 现在、我们需要为 max96724和 cdns_csi2rx0配置设备树。
&main_i2c1 { // MAX96724 Deserializer max96724: gmsl-deserializer@27 { status = "okay"; compatible = "maxim,max96724"; reg = <0x27>; #address-cells = <1>; #size-cells = <0>; enable-gpios = <&main_gpio0 32 GPIO_ACTIVE_HIGH>; i2c-alias-pool = <0x40 0x41 0x42 0x43>; i2c-atr { #address-cells = <1>; #size-cells = <0>; }; // Pipe configuration: bind Link A to Pipe 0 pipe@0 { reg = <0>; maxim,link-id = <0>; // Link A // If maxim,phy-id exists in the base DTS, leaving it out here removes it }; // Channel configuration: Channel 0 input from Pipe 0, output to PHY1 (corresponding to CSI Port B) channel@0 { reg = <0>; // Channel index 0 maxim,pipe-id = <0>; // Data comes from Pipe 0 maxim,phy-id = <1>; // Place maxim,phy-id under the Channel node ports { #address-cells = <1>; #size-cells = <0>; // Output port connected to CSI2RX port@0 { reg = <0>; max96724_channelB_out: endpoint { remote-endpoint = <&csi2rx0_in_sensor>; bus-type = <4>; // CSI2 D-PHY clock-lanes = <0>; data-lanes = <1 2 3 4>; }; }; // Input port port@1 { reg = <1>; endpoint { }; }; }; }; }; }; /* CSI Receiver Configuration */ &cdns_csi2rx0 { status = "okay"; ports { #address-cells = <1>; #size-cells = <0>; csi0_port0: port@0 { reg = <0>; status = "okay"; csi2rx0_in_sensor: endpoint { remote-endpoint = <&max96724_channelB_out>; bus-type = <4>; /* CSI2 DPHY */ clock-lanes = <0>; data-lanes = <1 2 3 4>; }; }; }; };
但根据日志,它似乎失败了。
[9.902459] max96724 1-0027:无法使用4504000.csi-bridge 创建设备链接(0x180)
[11.129724] cdns-csi2rx 4504000.csi-bridge:找不到 subdev max96724 1-0027的输出盘
如何修复它
BR
中断