Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Message-Id: <20220615221410.27459-5-laurent.pinchart@ideasonboard.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

authored by

Laurent Pinchart and committed by
Tony Lindgren
ffecc4fe 1b929c02

+3 -2
+3 -2
arch/arm/boot/dts/omap3-n900.dts
··· 9 9 #include "omap34xx.dtsi" 10 10 #include <dt-bindings/input/input.h> 11 11 #include <dt-bindings/leds/common.h> 12 + #include <dt-bindings/media/video-interfaces.h> 12 13 13 14 /* 14 15 * Default secure signed bootloader (Nokia X-Loader) does not enable L3 firewall ··· 195 194 196 195 csi_isp: endpoint { 197 196 remote-endpoint = <&csi_cam1>; 198 - bus-type = <3>; /* CCP2 */ 197 + bus-type = <MEDIA_BUS_TYPE_CCP2>; 199 198 clock-lanes = <1>; 200 199 data-lanes = <0>; 201 200 lane-polarity = <0 0>; ··· 836 835 837 836 port { 838 837 csi_cam1: endpoint { 839 - bus-type = <3>; /* CCP2 */ 838 + bus-type = <MEDIA_BUS_TYPE_CCP2>; 840 839 strobe = <1>; 841 840 clock-inv = <0>; 842 841 crc = <1>;