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 X-Spam-Level: X-Spam-Status: No, score=-8.6 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 878DAC433E0 for ; Mon, 18 May 2020 18:21:35 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 67ADA20643 for ; Mon, 18 May 2020 18:21:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589826095; bh=D9/3BBn1l+1nc9/Q29Pjw35lnELVjvcMNf8DN1Ygswg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-ID:From; b=XEB+Mye8SEN70YpHKCz+s4PmRAM+gxxH3KXa32NDhhuRBCprMfDIw0r3FC0tqxirv vzC9cwrUrI6rdfpKVjtpxCfXTp0aSCBl9PfO7l34sWprFecuzlezvZa0T2yWPVjH2x POlZz/FPYWL+yHHDVKcU+R5R+iHmTs4U6SBR1oGY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730743AbgERSVY (ORCPT ); Mon, 18 May 2020 14:21:24 -0400 Received: from mail-io1-f65.google.com ([209.85.166.65]:40331 "EHLO mail-io1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731473AbgERSVV (ORCPT ); Mon, 18 May 2020 14:21:21 -0400 Received: by mail-io1-f65.google.com with SMTP id s10so11690841iog.7; Mon, 18 May 2020 11:21:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=G+w12N+B2PiHESokDoCntmAJD2nRnefuc3D2jDiR3h8=; b=fR9YE5SwKFbgrMXSqvAuaKVTyo2fSwMkEYOZPpwnHAcWQh99N5jXa5ezScA09ihfr7 SjJ3IxgXAIgpxEYmzETxgEFeijcnfAcyat+qX3VgFUDPnpBPXM+FRDFhVPkgoli8sVOb IvVdyvxACxEXW8jkfXQNAO3VeywOKq9adpPlR430d2fFgVqfLFklycrN5FFmbK9mRcXS LPGFbxu0rJ7sBX1rPyBlIXumTJRAlL5JUm2AvMJU6D02IS4h/HKUyURdZ65DLKTzV+UD 94DaSoWPQYIH7rYxqLVNHO3rNT0I8tymoeop4nL7zvacySvo3eHUZZ79nUpMgyzX9DU4 0n6Q== X-Gm-Message-State: AOAM530uU6xcDGKiG5D3Nu6A7REI5wG2Ih7Fu0u3o629+vOoFmz3lHyf D3RyGe+Ed6SLkFqbgH53QwkxFto= X-Google-Smtp-Source: ABdhPJx72FnMnqBhY0ES/xdixMmYlsaeGaOPaJzpYhhzZYE1ew/CeuMZ+1kDJ3srj1k4VHm7DIoKMA== X-Received: by 2002:a6b:dc11:: with SMTP id s17mr15908502ioc.42.1589826079993; Mon, 18 May 2020 11:21:19 -0700 (PDT) Received: from rob-hp-laptop ([64.188.179.252]) by smtp.gmail.com with ESMTPSA id m17sm5062222ilh.51.2020.05.18.11.21.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 May 2020 11:21:19 -0700 (PDT) Received: (nullmailer pid 27724 invoked by uid 1000); Mon, 18 May 2020 18:21:18 -0000 Date: Mon, 18 May 2020 12:21:18 -0600 From: Rob Herring To: Jacopo Mondi Cc: "open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)" , libcamera-devel@lists.libcamera.org, Mauro Carvalho Chehab , Hans Verkuil , Sakari Ailus , Laurent Pinchart , tfiga@google.com, pavel@ucw.cz, devicetree@vger.kernel.org Subject: Re: [PATCH v11 13/13] dt-bindings: Add media properties Message-ID: <20200518182118.GA24090@bogus> References: <20200509090456.3496481-1-jacopo@jmondi.org> <20200509090456.3496481-14-jacopo@jmondi.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200509090456.3496481-14-jacopo@jmondi.org> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org On Sat, May 09, 2020 at 11:04:56AM +0200, Jacopo Mondi wrote: > Add a DT header file to contain definitions for standard media properties. > > The file is named after: > Documentation/devicetree/bindings/media/video-interfaces.txt > which contains the standard media properties definitions. > > Initially add three macros to define the supported 'orientation' > property values. > > Signed-off-by: Jacopo Mondi > --- > > I currently don't have users in mainline for this, I understand this implies > this is probably not going to be accepted. At the same time we don't have a > common place for media-related definitions, which support properties defined in > video-interfaces.txt Fine for me with no users if values already defined in binding. > > I leave it here at the end of the series for discussions, but I'm fine dropping > it from the series. > > Thanks > j > > --- > include/dt-bindings/media/video-interfaces.h | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > create mode 100644 include/dt-bindings/media/video-interfaces.h > > diff --git a/include/dt-bindings/media/video-interfaces.h b/include/dt-bindings/media/video-interfaces.h > new file mode 100644 > index 0000000000000..404c697d6bd6e > --- /dev/null > +++ b/include/dt-bindings/media/video-interfaces.h > @@ -0,0 +1,15 @@ > +/* SPDX-License-Identifier: GPL-2.0-only */ Dual license please. > +/* > + * include/dt-bindings/media/video-interfaces.h > + * > + * Copyright (C) 2020 Jacopo Mondi > + */ > + > +#ifndef __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ > +#define __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ > + > +#define FRONT_CAMERA <0> > +#define BACK_CAMERA <1> > +#define EXTERNAL_CAMERA <2> > + > +#endif /* __DT_BINDINGS_MEDIA_VIDEO_INTERFACES_H__ */ > -- > 2.26.1 >