diff options
| author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2022-06-16 01:14:07 +0300 |
|---|---|---|
| committer | Shawn Guo <shawnguo@kernel.org> | 2023-01-25 10:11:22 +0800 |
| commit | 1d14345b874af1ce78daf38ab9ac380a2d6b4885 (patch) | |
| tree | 5f879a4728c2a2eb80098dcb85bfc9d51ff74901 | |
| parent | 0bbca347f53451af7a2906343c92bce65d037ca4 (diff) | |
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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
| -rw-r--r-- | arch/arm/boot/dts/imx6ul-14x14-evk.dtsi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi index c83e64a62d8a..7275a1366413 100644 --- a/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi +++ b/arch/arm/boot/dts/imx6ul-14x14-evk.dtsi @@ -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>; }; }; }; |
