内核版本: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不会被加入到内核中。