From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94CB4C3DA78 for ; Sat, 14 Jan 2023 15:26:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229565AbjANP0L (ORCPT ); Sat, 14 Jan 2023 10:26:11 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42170 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229650AbjANP0K (ORCPT ); Sat, 14 Jan 2023 10:26:10 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A78656589; Sat, 14 Jan 2023 07:26:09 -0800 (PST) Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BD605E68; Sat, 14 Jan 2023 16:26:07 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1673709968; bh=Mxk+7v37ul20DB6RqJ3fOS53oL7b3kMxZZSPi2z4RBA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=C2SP3wMVsX+K34TgKptdslEey9NaY5+qCYIXWEudJ6avqtu1DVtZW70QWqhAW+Efn 7NlTePlJnwgpkGDhDOOVPRXGZZQ15bbzrn+3C5wfglWiGynMNU4HjC+VtOmO9ezIiQ 4ZrC+UARMKdArI+7aBgK28ahETJHBu7QbkPpdJqI= Date: Sat, 14 Jan 2023 17:26:08 +0200 From: Laurent Pinchart To: Geert Uytterhoeven Cc: devicetree@vger.kernel.org, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, Rob Herring , Sakari Ailus , Jacopo Mondi , Eugen Hristev , Hugues Fruchet , Maxime Coquelin , Alexandre Torgue , Lad Prabhakar , Fabio Estevam , Shawn Guo Subject: Re: [PATCH v3 5/6] ARM: dts: renesas: Use new media bus type macros Message-ID: References: <20220615221410.27459-1-laurent.pinchart@ideasonboard.com> <20220615221410.27459-6-laurent.pinchart@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20220615221410.27459-6-laurent.pinchart@ideasonboard.com> Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Geert, could you please take this in your tree for v6.3 ? The two patches that the DT changes depend on have been merged in v6.2. On Thu, Jun 16, 2022 at 01:14:09AM +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 > --- > arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts | 11 +++++++---- > .../dts/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi | 4 +++- > .../dts/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi | 4 +++- > 3 files changed, 13 insertions(+), 6 deletions(-) > > diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts b/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts > index 4e58c54cde17..33ac4bd1e63b 100644 > --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts > +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts > @@ -7,6 +7,9 @@ > */ > > /dts-v1/; > + > +#include > + > #include "r8a7742-iwg21d-q7.dts" > > / { > @@ -242,7 +245,7 @@ port { > vin0ep: endpoint { > remote-endpoint = <&cam0ep>; > bus-width = <8>; > - bus-type = <6>; > + bus-type = ; > }; > }; > }; > @@ -273,7 +276,7 @@ port { > vin1ep: endpoint { > remote-endpoint = <&cam1ep>; > bus-width = <8>; > - bus-type = <6>; > + bus-type = ; > }; > }; > }; > @@ -305,7 +308,7 @@ vin2ep: endpoint { > remote-endpoint = <&cam2ep>; > bus-width = <8>; > data-shift = <8>; > - bus-type = <6>; > + bus-type = ; > }; > }; > }; > @@ -335,7 +338,7 @@ port { > vin3ep: endpoint { > remote-endpoint = <&cam3ep>; > bus-width = <8>; > - bus-type = <6>; > + bus-type = ; > }; > }; > }; > diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi b/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi > index 40cef0b1d1e6..c73160df619d 100644 > --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi > +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov5640-single.dtsi > @@ -7,6 +7,8 @@ > * Copyright (C) 2020 Renesas Electronics Corp. > */ > > +#include > + > #define CAM_ENABLED 1 > > &CAM_PARENT_I2C { > @@ -26,7 +28,7 @@ port { > CAM_EP: endpoint { > bus-width = <8>; > data-shift = <2>; > - bus-type = <6>; > + bus-type = ; > pclk-sample = <1>; > remote-endpoint = <&VIN_EP>; > }; > diff --git a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi b/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi > index f5e77f024251..a7f5cfec64b8 100644 > --- a/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi > +++ b/arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ov7725-single.dtsi > @@ -7,6 +7,8 @@ > * Copyright (C) 2020 Renesas Electronics Corp. > */ > > +#include > + > #define CAM_ENABLED 1 > > &CAM_PARENT_I2C { > @@ -21,7 +23,7 @@ ov7725@21 { > port { > CAM_EP: endpoint { > bus-width = <8>; > - bus-type = <6>; > + bus-type = ; > remote-endpoint = <&VIN_EP>; > }; > }; -- Regards, Laurent Pinchart