內核版本:4.4.162
&vi0 {
status = "okay";
port {
#address-cells = <1>;
#size-cells = <0>;
vi_0_0: endpoint@0 {
reg = <0>;
remote-endpoint = <&ov2640_0_0>;
};
vi_0_1: endpoint@1 {
reg = <1>;
remote-endpoint = <&ov2640_1_0>;
};
};
};
&i2c0 {
status = "okay";
ov2640_0: camera@12 {
compatible = "anyka,ov2640";
reg = <0x12>;
port {
ov2640_0_0: endpoint {
remote-endpoint = <&vi_0_0>;
};
};
};
ov2640_1: camera@24 {
compatible = "anyka,ov2640";
reg = <0x24>;
port {
ov2640_1_0: endpoint {
remote-endpoint = <&vi_0_1>;
};
};
};
};
發現內核會打印一個錯誤
scan_of_host->
dev_err(dev, "multiple subdevices aren't supported yet!\n");
這句話表示一個host只能支持一個數據輸入線路(pipeline)(即只有一個endpoint)。超出一個的endpoint不會被加入到內核中。