ARM: dts: imx: Add bus-type for ov5642/ov5640

Add bus-type (MEDIA_BUS_TYPE_PARALLEL) for ov5642/ov5640. i.MX53 and
i.MX6UL only supports parallel csi interface. Fix below CHECK_DTBS
warnings:
  arm/boot/dts/nxp/imx/imx53-smd.dtb: ov5642@3c (ovti,ov5642): port:endpoint: 'bus-type' is a required property

Signed-off-by: Frank Li <Frank.Li@nxp.com>
This commit is contained in:
Frank Li 2026-05-21 15:15:41 -04:00
parent e1867c85f4
commit 202f97ae13
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@
/dts-v1/;
#include <dt-bindings/input/input.h>
#include <dt-bindings/media/video-interfaces.h>
#include "imx53.dtsi"
/ {
@ -296,6 +297,7 @@ camera: ov5642@3c {
port {
ov5642_to_ipu_csi0: endpoint {
remote-endpoint = <&ipu_csi0_from_parallel_sensor>;
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
bus-width = <8>;
hsync-active = <1>;
vsync-active = <1>;

View File

@ -217,6 +217,7 @@ camera@3c {
port {
ov5640_to_parallel: endpoint {
remote-endpoint = <&parallel_from_ov5640>;
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
bus-width = <8>;
data-shift = <2>; /* lines 9:2 are used */
hsync-active = <0>;