Skip to content

Commit 202f97a

Browse files
committed
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>
1 parent e1867c8 commit 202f97a

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

arch/arm/boot/dts/nxp/imx/imx53-smd.dts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55

66
/dts-v1/;
77
#include <dt-bindings/input/input.h>
8+
#include <dt-bindings/media/video-interfaces.h>
89
#include "imx53.dtsi"
910

1011
/ {
@@ -296,6 +297,7 @@
296297
port {
297298
ov5642_to_ipu_csi0: endpoint {
298299
remote-endpoint = <&ipu_csi0_from_parallel_sensor>;
300+
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
299301
bus-width = <8>;
300302
hsync-active = <1>;
301303
vsync-active = <1>;

arch/arm/boot/dts/nxp/imx/imx6ul-14x14-evk.dtsi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@
217217
port {
218218
ov5640_to_parallel: endpoint {
219219
remote-endpoint = <&parallel_from_ov5640>;
220+
bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
220221
bus-width = <8>;
221222
data-shift = <2>; /* lines 9:2 are used */
222223
hsync-active = <0>;

0 commit comments

Comments
 (0)