Commit ffecc4fe authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Tony Lindgren
Browse files

ARM: dts: omap: 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>
Message-Id: <20220615221410.27459-5-laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarTony Lindgren <tony@atomide.com>
parent 1b929c02
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -9,6 +9,7 @@
#include "omap34xx.dtsi"
#include <dt-bindings/input/input.h>
#include <dt-bindings/leds/common.h>
#include <dt-bindings/media/video-interfaces.h>

/*
 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall
@@ -194,7 +195,7 @@ port@1 {

			csi_isp: endpoint {
				remote-endpoint = <&csi_cam1>;
				bus-type = <3>; /* CCP2 */
				bus-type = <MEDIA_BUS_TYPE_CCP2>;
				clock-lanes = <1>;
				data-lanes = <0>;
				lane-polarity = <0 0>;
@@ -835,7 +836,7 @@ cam1: camera@3e {

		port {
			csi_cam1: endpoint {
				bus-type = <3>; /* CCP2 */
				bus-type = <MEDIA_BUS_TYPE_CCP2>;
				strobe = <1>;
				clock-inv = <0>;
				crc = <1>;