Skip to content

Commit 785df66

Browse files
committed
tests: drivers: build_all: video: Use the new endpoint binding
The csi, mipicsi2rx, ov5640 devices now use the new video interface bindings. Change the test accordingly to take into account this. Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
1 parent 2b8d454 commit 785df66

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

tests/drivers/build_all/video/mimxrt1170_evk_mimxrt1176_cm7.overlay

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
* (and be extended to test) real hardware.
99
*/
1010

11+
#include <zephyr/dt-bindings/video/video-interfaces.h>
12+
1113
/ {
1214
test {
1315
#address-cells = <1>;
@@ -34,6 +36,14 @@
3436
reg = <0x1>;
3537
reset-gpios = <&test_gpio 0 0>;
3638
powerdown-gpios = <&test_gpio 1 0>;
39+
40+
port {
41+
ov5640_ep_out: endpoint {
42+
remote-endpoint-label = "mipi_csi2rx_ep_in";
43+
bus-type = <VIDEO_BUS_TYPE_CSI2_DPHY>;
44+
data-lanes = <1 2>;
45+
};
46+
};
3747
};
3848
};
3949

@@ -51,6 +61,20 @@
5161
reg = <0x33334444 0x200>;
5262
status = "okay";
5363
sensor = <&test_i2c_ov5640>;
64+
65+
ports {
66+
#address-cells = <1>;
67+
#size-cells = <0>;
68+
69+
port@1 {
70+
reg = <1>;
71+
72+
mipi_csi2rx_ep_in: endpoint {
73+
remote-endpoint-label = "ov5640_ep_out";
74+
data-lanes = <1 2>;
75+
};
76+
};
77+
};
5478
};
5579
};
5680
};

0 commit comments

Comments
 (0)