Skip to content

Commit 30604a8

Browse files
ngphibanghenrikbrixandersen
authored andcommitted
dts-bindings: video: ov5640: Use video interfaces binding
Switch to use the new video interfaces binding Signed-off-by: Phi Bang Nguyen <[email protected]>
1 parent 43569d9 commit 30604a8

File tree

3 files changed

+15
-1
lines changed

3 files changed

+15
-1
lines changed

boards/shields/nxp_btb44_ov5640/nxp_btb44_ov5640.overlay

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
port {
2323
ov5640_ep_out: endpoint {
24-
remote-endpoint = <&mipi_csi2rx_ep_in>;
24+
remote-endpoint-label = "mipi_csi2rx_ep_in";
2525
};
2626
};
2727
};

dts/bindings/video/ovti,ov5640.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,7 @@ properties:
1818
description: |
1919
The PWDN pin is asserted to disable the sensor. The sensor
2020
receives this as an active-high signal.
21+
22+
child-binding:
23+
child-binding:
24+
include: video-interfaces.yaml

tests/drivers/build_all/video/mimxrt1170_evk_mimxrt1176_cm7.overlay

Lines changed: 10 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

0 commit comments

Comments
 (0)