diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-16 01:14:08 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2023-01-19 09:58:57 +0200 |
commit | ffecc4feba12caeab86b58b2f470d10405de02d5 (patch) | |
tree | 870be1ce5a7cfd7f1156b98e646c5b9ec3414056 | |
parent | 1b929c02afd37871d5afb9d498426f83432e71c2 (diff) | |
download | lwn-ffecc4feba12caeab86b58b2f470d10405de02d5.tar.gz lwn-ffecc4feba12caeab86b58b2f470d10405de02d5.zip |
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>
-rw-r--r-- | arch/arm/boot/dts/omap3-n900.dts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 6ba2e8f81973..c97c72da3757 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -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 @@ 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 @@ port { csi_cam1: endpoint { - bus-type = <3>; /* CCP2 */ + bus-type = <MEDIA_BUS_TYPE_CCP2>; strobe = <1>; clock-inv = <0>; crc = <1>; |