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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 6664AC54EBE for ; Mon, 16 Jan 2023 10:40:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=4C8Ttzd6dsGd+LP1D7yDvRdL/YDL1QfEPbciM9tVLPk=; b=ez5gdAT32Gtsr2 tV71NQQOz0ZVgJqqmXWBMFfBRbqt17hxu205CXXjTlTpv9Bj4Qm8W3+dFMQ211x4yGEysmtEZrW3a lokuR/KD/zhSDa4n9lHxx2NZP7HfWtY3JPTyeJvyQLJMNf8GjmYLY2GAFE2ydjJc9UCMlSalDfjh2 y6IOx1IDchNQS4krkGU35mlp/A+krGSJ3L75viRUnWN44Be0RfaGNMMU4T8DDpHLMQZGmkuWpc/mb qogBYPv8pT8pwcmXq42bBxlIkte1son1k8U9hgUfVFlG24pnveItk3itFh8FdevUDsmoEHk55sFgJ emOxAEkqr6Io4N80mjIQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHMtz-009hKI-Uv; Mon, 16 Jan 2023 10:39:44 +0000 Received: from perceval.ideasonboard.com ([213.167.242.64]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1pHMsV-009gVd-0P for linux-arm-kernel@lists.infradead.org; Mon, 16 Jan 2023 10:38:14 +0000 Received: from pendragon.ideasonboard.com (213-243-189-158.bb.dnainternet.fi [213.243.189.158]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 44B95802; Mon, 16 Jan 2023 11:38:06 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1673865486; bh=d+5kBH/YBdEdEOEaKSNBHDgoFrucdEDIw2eZj4AvxKo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=v9uxSFBh+xZspr7t6hnuG6q+iqL+YKFpJjDBZjtRKM7F6sao/Glaqo/b7+Xr0nNUZ 6fqfWmu5zYOFAV2xN5LZzs6g9t5iB1XkR08E9iYSm1hcCoddxK+xOPNyEKzvX8XfM+ 2gU5TO21D/Z7iGdi9m24lOyxmHsHtNikgwS31lqc= Date: Mon, 16 Jan 2023 12:38:06 +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 , Linux-Renesas 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230116_023811_251845_BED4BBAC X-CRM114-Status: GOOD ( 24.99 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Geert, On Mon, Jan 16, 2023 at 11:24:10AM +0100, Geert Uytterhoeven wrote: > On Sat, Jan 14, 2023 at 4:26 PM Laurent Pinchart wrote: > > 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. > > Thank you, I had missed these. > > > 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 > > Reviewed-by: Geert Uytterhoeven > > > > --- > > > 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 > > This .dtsi file is only intended to be included by > arch/arm/boot/dts/r8a7742-iwg21d-q7-dbcm-ca.dts, which already has > the include. Hence if you don't mind, I would like to drop this part > while applying and queuing in renesas-devel for v6.3. Isn't it better to include headers as needed to avoid depending on indirect includes ? > > > + > > > #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 > > Likewise > > > > + > > > #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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel