Message ID | 20220615221410.27459-5-laurent.pinchart@ideasonboard.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | dt-bindings: Add macros for video interface bus types | expand |
Tony, could you take this patch in your tree for v6.3 ? The two patches that it depends on have both been merged in v6.2. On Thu, Jun 16, 2022 at 01:14:08AM +0300, Laurent Pinchart wrote: > 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> > --- > arch/arm/boot/dts/omap3-n900.dts | 5 +++-- > 1 file changed, 3 insertions(+), 2 deletions(-) > > diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts > index d40c3d2c4914..9cad9d6a83e2 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 @@ 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>;
* Laurent Pinchart <laurent.pinchart@ideasonboard.com> [230114 15:37]: > Tony, could you take this patch in your tree for v6.3 ? The two patches > that it depends on have both been merged in v6.2. OK applying into omap-for-v6.3/dt. Thanks, Tony
diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index d40c3d2c4914..9cad9d6a83e2 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 @@ 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>;
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> --- arch/arm/boot/dts/omap3-n900.dts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)