Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp3327072ybl; Sun, 1 Sep 2019 10:44:57 -0700 (PDT) X-Google-Smtp-Source: APXvYqzh1Lo4nXkdAWMFSOye/eVZ8ms1zN454sJEsCJrK3nkb651bB3M2D7AhyVfs6kJC9z0+oFz X-Received: by 2002:a62:26c4:: with SMTP id m187mr31157320pfm.49.1567359897116; Sun, 01 Sep 2019 10:44:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567359897; cv=none; d=google.com; s=arc-20160816; b=Zvg9z9ElQDZzSFpHPtTk9KFTEvcuOWFlZPV83GP/AMPqjStdhFnUzgu+i01Bp7aq2j RTx+CCo79jIjMggc4q2pdqs4BDjpIyJKFiTudEvqDQWoopAbrI4MelzJq5ofa9wbNNs0 Uf1ifOEE5THItD2CONpmuaj6vhScNoR+3J3T6DKcLMf/j8bqC4iSi3tI6GZypYqh692Z kpmt7rjEOSs4h5ROQdhbpdrKzIH80jT3iQ8YX0mV40klotgSXkxXxRF2GIwt0b2sSmG0 K6hAdTnAQMNwlxOJFX24FLHpuqGfIzZjupqh0XXHuky4ZxbB8QadD/GE3tpEDJ0qyk1Y P/Xg== 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; bh=ckeN9gOO2UzASIoFdrxIqTidGsWNE8grT3KIO3uXPA0=; b=yFT2gAShDWZz/vMH9pjjKeYnM2PpPtJokOdWvfycc5nVtRiij5H7S9BFXd5rb8ujqt zf326VND5dwke9oqD7X+VTdOy0Yz8+g4gTIWFUd6Y9A4prTJO6+SM+66lOQBqhufWY72 dYgpUFXqFFL7Mhby0rEi5p0xoxucFzisWf6CTmApOAQRAAYicuveweMD8SW3bk2Ny2si M0eqY224czvf9O1Lh3kWlEDIeUVx9fc2wXOrNLoJEfPKWRx+PyAOwbE1PJj2Z8sQzDny MclFJAhlXvL062oxZsZQIyOcyJaFVZqy0xzammuqhy0VA+ajQvFFMBKuHZvdmOxNOGwj Ro7w== ARC-Authentication-Results: i=1; mx.google.com; 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 b97si10023914plb.163.2019.09.01.10.44.41; Sun, 01 Sep 2019 10:44:57 -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; 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 S1729045AbfIARYS (ORCPT + 99 others); Sun, 1 Sep 2019 13:24:18 -0400 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]:39184 "EHLO atrey.karlin.mff.cuni.cz" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728570AbfIARYS (ORCPT ); Sun, 1 Sep 2019 13:24:18 -0400 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id 86F49815E8; Sun, 1 Sep 2019 19:24:02 +0200 (CEST) Date: Sun, 1 Sep 2019 19:24:15 +0200 From: Pavel Machek To: Sakari Ailus Cc: Jacopo Mondi , Mauro Carvalho Chehab , Hans Verkuil , Laurent Pinchart , 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: <20190901172414.GB1047@bug> References: <20190814202815.32491-1-jacopo@jmondi.org> <20190814202815.32491-2-jacopo@jmondi.org> <20190815065635.GJ6133@paasikivi.fi.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190815065635.GJ6133@paasikivi.fi.intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi! > > +++ 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. Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html