Commit 1d14345b authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Shawn Guo
Browse files

ARM: dts: freescale: Use new media bus type macros



Now that a header exists with macros for the media interface bus-type
values, replace hardcoding numerical constants with the corresponding
macros in the DT sources.

Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarShawn Guo <shawnguo@kernel.org>
parent 0bbca347
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
//
// Copyright (C) 2015 Freescale Semiconductor, Inc.

#include <dt-bindings/media/video-interfaces.h>

/ {
	chosen {
		stdout-path = &uart1;
@@ -170,7 +172,7 @@
	port {
		parallel_from_ov5640: endpoint {
			remote-endpoint = <&ov5640_to_parallel>;
			bus-type = <5>; /* Parallel bus */
			bus-type = <MEDIA_BUS_TYPE_PARALLEL>;
		};
	};
};