芯驰D9-Pro开发板OK-D9360-C的多路AHD摄像头实现
OK-D9360-C开发板支持2路MIPI-CSI接口,可以实现8個1080P AHD 摄像头接入。已经研制可用的器件有NEXTCHIP N4、NEXTCHIP NVP6188等常用AHD转MIPI CSI芯片。
软件上需要修改内核dts文件,增加驱动程序。
&csimipi1 {
status = "okay";
lanerate = <1200000000>;
hsa = <10>;
hbp = <20>;
hsd = <0x60>;
output-type = <0x1e>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
#address-cells = <1>;
#size-cells = <0>;
reg = <0>;
csimipi1_0_in: endpoint@0 {
remote-endpoint = <&cam1_to_mipi_0>;
reg = <0>;
};
csimipi1_0_out: endpoint@1 {
remote-endpoint = <&csi1_stream0_in>;
reg = <0>;
};
};
port@1 {
#address-cells = <1>;
#size-cells = <0>;
reg = <1>;
csimipi1_1_in: endpoint@0 {
remote-endpoint = <&cam1_to_mipi_1>;
reg = <1>;
};
csimipi1_1_out: endpoint@1 {
remote-endpoint = <&csi1_stream1_in>;
reg = <1>;
};
};
port@2 {
#address-cells = <1>;
#size-cells = <0>;
reg = <2>;
csimipi1_2_in: endpoint@0 {
remote-endpoint = <&cam1_to_mipi_2>;
reg = <2>;
};
csimipi1_2_out: endpoint@1 {
remote-endpoint = <&csi1_stream2_in>;
reg = <2>;
};
};
port@3 {
#address-cells = <1>;
#size-cells = <0>;
reg = <3>;
csimipi1_3_in: endpoint@0 {
remote-endpoint = <&cam1_to_mipi_3>;
reg = <3>;
};
csimipi1_3_out: endpoint@1 {
remote-endpoint = <&csi1_stream3_in>;
reg = <3>;
};
};
};
};
页:
[1]