drivers: video: csi: Drop source device phandle reference

The peer remote device "source_dev" can be retrieved from the
remote-endpoint-label. Direct reference via phandle is not needed.

Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
This commit is contained in:
Phi Bang Nguyen 2024-10-21 22:00:15 +02:00 committed by Henrik Brix Andersen
commit 59e253ed4a
7 changed files with 24 additions and 28 deletions

View file

@ -53,7 +53,12 @@
status = "okay";
interrupt-parent = <&nvic>;
interrupts = <56 1>;
source = <&test_mipi_csi2rx>;
port {
test_csi_ep_in: endpoint {
remote-endpoint-label = "test_mipi_csi2rx_ep_out";
};
};
};
test_mipi_csi2rx: mipi_csi2rx@33334444 {
@ -68,6 +73,13 @@
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
test_mipi_csi2rx_ep_out: endpoint {
remote-endpoint-label = "test_csi_ep_in";
};
};
port@1 {
reg = <1>;