Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp1264573ybl; Wed, 14 Aug 2019 13:40:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqxy+Y1/8MxZ1zpruJs085o8S4IWNE9671TdkLC2lqwhjJwJw9FZzijSQIWiByrEzbwS0i9p X-Received: by 2002:a63:125c:: with SMTP id 28mr812922pgs.255.1565815247859; Wed, 14 Aug 2019 13:40:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565815247; cv=none; d=google.com; s=arc-20160816; b=nb29s8Vq/1N9WSIIQn5Iayzwb1fZp2YeYCfRj7pWC8XkfbO19gLg4ql+v0uNa9B4RT 1Dxgfyh9cXX1eKdXi/+JlqQfFZW0xRhGhgzCqVnwhlfm3lBlHY8GluI6aSagWxKJW+ja Y/IOBgrx3ggxejnV6vtjCy3Z4QzguCpgQdDZqRntDapk/Ia5+QzADBJIrqoRxZJ8JeIy dospCEyCVKQEjLm65pVFIdvvOuGTMBxelyJYGxgJ58BDyI26w+fVAVaHxpiMLGdf/+l6 0C6AoogodAC74KlZRU98xMXoh6k1XM7j1b519kLfxsliQvagTKibpsQPbFgsY8CE0Ttx E0gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from; bh=0mMXLRRAVr7PDMoB01CwuKjEuZHHlS/tcJAx/v70gSQ=; b=RIsmCs2Vwn0R9G+5bLBNc04peviMJmsllF6jrFVsVnAblO16yeZynEZTX/ETZFlUwP TVfTRyijaOLTBzJNqP2au9/VqMqjbF+wggbYcdqzc2EswM1z8xpJ+5URuA6E4BEXXVoB 9+R5sApLrZ46yFNkIkYT1GKvVRlOx8OMwZFe7S0kwoOSvKoyt1AKeD6ya0OzNXEzoUSg WnQPe4diCKP1TPf8SeO58nLCScdBhzou8AcwWUrFnpHRLAtyoph6hCGFyZuZiFvjmL40 Ss76vkbaMGnxdodwPNc3cGSACccx4ZPB9YXzzaniArMWWVBtRKRBVnvLN6L7oZ7BDJ0q LMxg== 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 bh6si520907plb.285.2019.08.14.13.40.31; Wed, 14 Aug 2019 13:40:47 -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 S1729469AbfHNU1O (ORCPT + 99 others); Wed, 14 Aug 2019 16:27:14 -0400 Received: from relay9-d.mail.gandi.net ([217.70.183.199]:42567 "EHLO relay9-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726490AbfHNU1O (ORCPT ); Wed, 14 Aug 2019 16:27:14 -0400 X-Originating-IP: 87.5.130.64 Received: from uno.homenet.telecomitalia.it (host64-130-dynamic.5-87-r.retail.telecomitalia.it [87.5.130.64]) (Authenticated sender: jacopo@jmondi.org) by relay9-d.mail.gandi.net (Postfix) with ESMTPSA id 09BD9FF803; Wed, 14 Aug 2019 20:27:10 +0000 (UTC) From: Jacopo Mondi To: Mauro Carvalho Chehab , Hans Verkuil , Sakari Ailus , Laurent Pinchart , Rob Herring Cc: Jacopo Mondi , linux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB)), linux-kernel@vger.kernel.org (open list), devicetree@vger.kernel.org Subject: [RFC 1/5] media: dt-bindings: Document 'location' property Date: Wed, 14 Aug 2019 22:28:11 +0200 Message-Id: <20190814202815.32491-2-jacopo@jmondi.org> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20190814202815.32491-1-jacopo@jmondi.org> References: <20190814202815.32491-1-jacopo@jmondi.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add the 'location' device property, used to specify the camera device mounting position. The property is particularly meaningful for mobile devices with a well defined usage orientation. Signed-off-by: Jacopo Mondi --- Documentation/devicetree/bindings/media/video-interfaces.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt index f884ada0bffc..819077b2649c 100644 --- a/Documentation/devicetree/bindings/media/video-interfaces.txt +++ 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. Optional endpoint properties ---------------------------- -- 2.22.0