]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
ARM: dts: imx: Add bus-type for ov5642/ov5640
authorFrank Li <Frank.Li@nxp.com>
Thu, 21 May 2026 19:15:41 +0000 (15:15 -0400)
committerFrank Li <Frank.Li@nxp.com>
Mon, 1 Jun 2026 21:07:36 +0000 (17:07 -0400)
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>
arch/arm/boot/dts/nxp/imx/imx53-smd.dts
arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi

index 386371c816f4d1f2566661e5dd7d02c498ed269b..c4255da157a3ea7990bb581ac1bbebbc9bc90140 100644 (file)
@@ -5,6 +5,7 @@
 
 /dts-v1/;
 #include <dt-bindings/input/input.h>
+#include <dt-bindings/media/video-interfaces.h>
 #include "imx53.dtsi"
 
 / {
                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>;
index 3d147b160ecf150f2f3b6afa8b5873fabc2ba96f..32afe4130e21126bf6e476db1091c4a45b8cf5bc 100644 (file)
                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>;