dts-bindings: video: mipicsi2rx: Use video interfaces bindings

Switch to use the new video interfaces bindings

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
This commit is contained in:
Phi Bang Nguyen 2024-10-15 11:16:18 +02:00 committed by Henrik Brix Andersen
commit 328f40fddb
4 changed files with 21 additions and 2 deletions

View file

@ -37,7 +37,7 @@
reg = <1>; reg = <1>;
mipi_csi2rx_ep_in: endpoint { mipi_csi2rx_ep_in: endpoint {
remote-endpoint = <&ov5640_ep_out>; remote-endpoint-label = "ov5640_ep_out";
}; };
}; };
}; };

View file

@ -909,7 +909,7 @@
port@0 { port@0 {
reg = <0>; reg = <0>;
mipi_csi2rx_ep_out: endpoint { mipi_csi2rx_ep_out: endpoint {
remote-endpoint = <&csi_ep_in>; remote-endpoint-label = "csi_ep_in";
}; };
}; };

View file

@ -15,3 +15,8 @@ properties:
required: true required: true
type: phandle type: phandle
description: the connected camera sensor description: the connected camera sensor
child-binding:
child-binding:
child-binding:
include: video-interfaces.yaml

View file

@ -61,6 +61,20 @@
reg = <0x33334444 0x200>; reg = <0x33334444 0x200>;
status = "okay"; status = "okay";
sensor = <&test_i2c_ov5640>; sensor = <&test_i2c_ov5640>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@1 {
reg = <1>;
mipi_csi2rx_ep_in: endpoint {
remote-endpoint-label = "ov5640_ep_out";
data-lanes = <1 2>;
};
};
};
}; };
}; };
}; };