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 A84DDC54E41 for ; Fri, 23 Feb 2024 00:29:04 +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=VEa1ZL6fajXP7LlyOWfdSqKKnBWIuuxOL8H1Emz32Z8=; b=us0l1SeiwdJSA6 J2RjBEZk4/BrsrsPNIk+bCIcxAw1sPFY8gvhrEJDH9OQImpJrvBO/oUWI7+Hr2ANFTqVGmqQxIkod l4LGsjidfl4ly0njMY10qFzoFV0lruzeBd/vEqXO4PlDQ56w/SVFIGw66vsAT/frtNDXsExk7g7oM /ghIU2UymL/bR9OFEfeyDyZoKvz/y1jEifBn5ru8RRxxxylbstvrapcMJ+MncLXX/TTXsyceNvpzf Ic6W5PehmqRFjcBulA/eLdpo/6DJ95URJdM5Zhj6n7sUnL/tU/sASOCR/1195lRn/4SePlUGsdERm Pr99faeuhMw3UpfqJ/QQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdJQm-00000007AXN-3Jsa; Fri, 23 Feb 2024 00:28:48 +0000 Received: from dfw.source.kernel.org ([2604:1380:4641:c500::1]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rdJQd-00000007AV7-1RWl; Fri, 23 Feb 2024 00:28:47 +0000 Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by dfw.source.kernel.org (Postfix) with ESMTP id BEC226339E; Fri, 23 Feb 2024 00:28:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B646C433F1; Fri, 23 Feb 2024 00:28:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708648118; bh=BIOShrfId+PvEScAHDccqecR5fsM4CjTGwPiQXwonvc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=M5QhEg8lYLfgHGOKjgLHo6tSne8/LTwZ5azFG7lFyilAjxip/d6iBXu9+fJFWMqPL PFm581Emk9QWzSse2+F+vpiBeTjnFnf3S8kntyM7axnA48cnU5Uiw2rJeNwBuWDt+v nmBlbkU39Nz9rGE56HCClBQK81Tf1vjWXdDGdd0beRo/vdyfDoySSz+UXgj6RjfY5u Z1TsM8MfdZSEJV7FG2mwW320NplpUd3IcUIfSExX/O4ra9NziqUxe+qKVhf3WwAK4Y pH/KmJ8SaVDY2F+bDagNIPjNc365gBAAwPYN9cN5b23Xv6qVN68QIUuPPKknu3F9d/ 4mbjfL/DJs1LA== Date: Thu, 22 Feb 2024 17:28:34 -0700 From: Rob Herring To: Michael Riesch Cc: Mehdi Djait , =?iso-8859-1?Q?Th=E9o?= Lebrun , Thomas Petazzoni , Laurent Pinchart , Mauro Carvalho Chehab , Krzysztof Kozlowski , Conor Dooley , Heiko Stuebner , Sakari Ailus , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-rockchip@lists.infradead.org Subject: Re: [PATCH 02/14] media: dt-bindings: media: rockchip-cif: add port definitions Message-ID: <20240223002834.GA3933946-robh@kernel.org> References: <20240220-v6-8-topic-rk3568-vicap-v1-0-2680a1fa640b@wolfvision.net> <20240220-v6-8-topic-rk3568-vicap-v1-2-2680a1fa640b@wolfvision.net> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20240220-v6-8-topic-rk3568-vicap-v1-2-2680a1fa640b@wolfvision.net> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240222_162846_278540_C8E7D950 X-CRM114-Status: GOOD ( 17.43 ) 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 On Tue, Feb 20, 2024 at 10:39:12AM +0100, Michael Riesch wrote: > The different variants of the Rockchip Camera Interface may feature > various ports. Add a new header file with port definitions to avoid > hardcoded constants in device tree sources. We generally don't do defines for 'port' numbering. I don't see a reason to start. > > Signed-off-by: Michael Riesch > --- > include/dt-bindings/media/rockchip-cif.h | 12 ++++++++++++ > 1 file changed, 12 insertions(+) > > diff --git a/include/dt-bindings/media/rockchip-cif.h b/include/dt-bindings/media/rockchip-cif.h > new file mode 100644 > index 000000000000..37364ee1f7bc > --- /dev/null > +++ b/include/dt-bindings/media/rockchip-cif.h > @@ -0,0 +1,12 @@ > +/* SPDX-License-Identifier: (GPL-2.0-only OR MIT) */ > +/* > + * Copyright (C) 2023 Michael Riesch > + */ > + > +#ifndef __DT_BINDINGS_MEDIA_ROCKCHIP_CIF_H__ > +#define __DT_BINDINGS_MEDIA_ROCKCHIP_CIF_H__ > + > +#define MEDIA_ROCKCHIP_CIF_DVP 0 > +#define MEDIA_ROCKCHIP_CIF_MIPI 1 > + > +#endif /* __DT_BINDINGS_MEDIA_ROCKCHIP_CIF_H__ */ > > -- > 2.30.2 > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel