Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp271515ybe; Mon, 2 Sep 2019 01:03:54 -0700 (PDT) X-Google-Smtp-Source: APXvYqx7pbo5jVBJipQA0EA/P6J3jGUHoxxjkJIbyEtRMQoW4BsfL3++oKorB4AEXJrI1kpaUSyi X-Received: by 2002:a63:eb51:: with SMTP id b17mr23460578pgk.384.1567411434403; Mon, 02 Sep 2019 01:03:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567411434; cv=none; d=google.com; s=arc-20160816; b=uQZHdEKl68F2HPmXX0xbGfU6EtAdBr9Mf+xw+5QLAzU590hPCnnmyU6rw6UsJLnHiK rHYPdQFrDoIn0IKncbLGVu7aM2FbPz2ehrDeYgEh+PrNYVEQo7sO7vtGBDtOHv7cDkE3 C94/H9hxTh66F/LoFhLwZTSlFqNTZczZA0iWVW9+C5tM3jZl9mog5Tz3MEd3segnk0+k 2kITCH5/cmPincyj8NU5EIhFeKxFC2sqmEH/BO5fZXPLz8QfGPYvtehnV4KNr7CjA9Cq Yzdze1KpE2nF2zqITrRJqUn5ve4T7Jzwp8Lx+AYwJU2PDyLpbm3zCd8hJ5U8Ilf6ggzY O0IA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=/Ayq/Q0D2Uy5dnu3ZgQAUzAMPRedAVIXqa4MtVxMWko=; b=nVBywwpzYh8jnPfavXGDsDFcuzLMUrx2HNTCCIyc2Xaz3TS+jjjZLduMWdVK3KdUii HDA68XGrueyNW4px6oudNJTLnlEb5XxhN5/oxoK493xeFoIuvo8obk+xdsWT9H1UBx4l rdDMUq6ERzoFvbxhvO4VXNQqqD3/V8TaZFx8HJFX15bSA4zQfm6w7poZo0qQ4h/PGr3K ti3WWIRzMrmuUmCJVF505QGevZrf9bnKJsMuN/pFaI6Ld2rc+AnuR8NeJFEYFA+ICPRu Y22rJCK29Aoej8Y1ZNl2PVwT83O9fSFfOFhAJwcyutt0hPSoAaet6QZ5GFJ0BBH5QEJf cFxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=l4oUO988; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j22si11710581pls.82.2019.09.02.01.03.39; Mon, 02 Sep 2019 01:03:54 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=l4oUO988; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730159AbfIBICi (ORCPT + 99 others); Mon, 2 Sep 2019 04:02:38 -0400 Received: from perceval.ideasonboard.com ([213.167.242.64]:58302 "EHLO perceval.ideasonboard.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730036AbfIBICT (ORCPT ); Mon, 2 Sep 2019 04:02:19 -0400 Received: from pendragon.ideasonboard.com (231.125-247-81.adsl-dyn.isp.belgacom.be [81.247.125.231]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 6D2A0303; Mon, 2 Sep 2019 10:02:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1567411337; bh=9LpLDBZKeRKxbRTdwGzHizcveEKiifXyzbvf6jL+liQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=l4oUO988Hlc4uTdtzaHPaZBcV30LXMyIR1ns7Ywb9XZhhkX6dXKaawv+8gDacGTqR pX6ZkK0asuMtPvXmXgwPYY3LdyNOirfYSlhJpz6yUaj65XTRlet3PMwl3d40Pom9Yt rq3DS4oYOEZlq5VQHWw7i6i2ZUbG4fZRQKf4k5Ug= Date: Mon, 2 Sep 2019 11:02:11 +0300 From: Laurent Pinchart To: Pavel Machek Cc: Sakari Ailus , Jacopo Mondi , Mauro Carvalho Chehab , Hans Verkuil , Rob Herring , "open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)" , open list , devicetree@vger.kernel.org Subject: Re: [RFC 1/5] media: dt-bindings: Document 'location' property Message-ID: <20190902080211.GD4777@pendragon.ideasonboard.com> References: <20190814202815.32491-1-jacopo@jmondi.org> <20190814202815.32491-2-jacopo@jmondi.org> <20190815065635.GJ6133@paasikivi.fi.intel.com> <20190901172414.GB1047@bug> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20190901172414.GB1047@bug> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Pavel, On Sun, Sep 01, 2019 at 07:24:15PM +0200, Pavel Machek wrote: > > > +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt > > > @@ -89,6 +89,10 @@ Optional properties > > > but a number of degrees counter clockwise. Typical values are 0 and 180 > > > (upside down). > > > > > > +- location: The camera device mounting position, relative to the device > > > + usage orientation. Possible values are: > > > + 0 - Front camera. The image sensor is mounted on the front side of the device. > > > + 1 - Back camera. The image sensor is mounted on the back side of the device. > > > > Would it make sense to make this a little more generic? Such as s/image > > sensor/ device/, for instance? > > > > Is this also relevant for flash or lens devices? > > > > Flash (torch) devices could be present, at least principle, without a > > camera. There once was even such a Nokia phone, 1100 unless I'm mistaken. > > :-) > > Well, I'd call them LEDs, not camera flashes ... if there's no camera. And IIRC > these devices had LEDs on top of the phone... so neither front nor back side. I would go for the name "torch" in that case. It really depends on the device, but in any case, the torch LEDs would have a location (and we would possibly need to expand this property to include the top, bottom, left and right sides). -- Regards, Laurent Pinchart