Skip to content

Commit 25a8065

Browse files
committed
boards: shields: nxp_btb44_ov5640: Add some endpoint properties
The ov5640 camera driver now supports both MIPI CSI2 (DPHY) and DVP modes. It is in MIPI CSI2 mode in this overlay. Add bus-type property for this. In this mode, data-lanes property is required as well. Signed-off-by: Phi Bang Nguyen <phibang.nguyen@nxp.com>
1 parent 8b6f262 commit 25a8065

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

boards/shields/nxp_btb44_ov5640/nxp_btb44_ov5640.overlay

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
* SPDX-License-Identifier: Apache-2.0
55
*/
66

7+
#include <zephyr/dt-bindings/video/video-interfaces.h>
8+
79
/{
810
chosen {
911
zephyr,camera = &nxp_csi;
@@ -22,6 +24,8 @@
2224
port {
2325
ov5640_ep_out: endpoint {
2426
remote-endpoint-label = "mipi_csi2rx_ep_in";
27+
bus-type = <VIDEO_BUS_TYPE_CSI2_DPHY>;
28+
data-lanes = <1 2>;
2529
};
2630
};
2731
};
@@ -38,6 +42,7 @@
3842

3943
mipi_csi2rx_ep_in: endpoint {
4044
remote-endpoint-label = "ov5640_ep_out";
45+
data-lanes = <1 2>;
4146
};
4247
};
4348
};

0 commit comments

Comments
 (0)