{"id":3410,"url":"https://patchwork.libcamera.org/api/patches/3410/?format=json","web_url":"https://patchwork.libcamera.org/patch/3410/","project":{"id":1,"url":"https://patchwork.libcamera.org/api/projects/1/?format=json","name":"libcamera","link_name":"libcamera","list_id":"libcamera_core","list_email":"libcamera-devel@lists.libcamera.org","web_url":"","scm_url":"","webscm_url":""},"msgid":"<20200407163825.1766483-2-jacopo@jmondi.org>","date":"2020-04-07T16:38:15","name":"[libcamera-devel,v8,01/11] dt-bindings: video-interfaces: Document 'location' property","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":false,"hash":"4487fa80e19af499dfa2ccaa69e4f1bb882a6ede","submitter":{"id":3,"url":"https://patchwork.libcamera.org/api/people/3/?format=json","name":"Jacopo Mondi","email":"jacopo@jmondi.org"},"delegate":{"id":15,"url":"https://patchwork.libcamera.org/api/users/15/?format=json","username":"jmondi","first_name":"Jacopo","last_name":"Mondi","email":"jacopo@jmondi.org"},"mbox":"https://patchwork.libcamera.org/patch/3410/mbox/","series":[{"id":801,"url":"https://patchwork.libcamera.org/api/series/801/?format=json","web_url":"https://patchwork.libcamera.org/project/libcamera/list/?series=801","date":"2020-04-07T16:38:14","name":"media: Report camera sensor properties","version":8,"mbox":"https://patchwork.libcamera.org/series/801/mbox/"}],"comments":"https://patchwork.libcamera.org/api/patches/3410/comments/","check":"pending","checks":"https://patchwork.libcamera.org/api/patches/3410/checks/","tags":{},"headers":{"Return-Path":"<jacopo@jmondi.org>","Received":["from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net\n\t[217.70.183.194])\n\tby lancelot.ideasonboard.com (Postfix) with ESMTPS id 155C6600F0\n\tfor <libcamera-devel@lists.libcamera.org>;\n\tTue,  7 Apr 2020 18:35:32 +0200 (CEST)","from localhost.localdomain (2-224-242-101.ip172.fastwebnet.it\n\t[2.224.242.101]) (Authenticated sender: jacopo@jmondi.org)\n\tby relay2-d.mail.gandi.net (Postfix) with ESMTPSA id DA53740009;\n\tTue,  7 Apr 2020 16:35:29 +0000 (UTC)"],"X-Originating-IP":"2.224.242.101","From":"Jacopo Mondi <jacopo@jmondi.org>","To":"Mauro Carvalho Chehab <mchehab@kernel.org>,\n\tHans Verkuil <hverkuil-cisco@xs4all.nl>,\n\tSakari Ailus <sakari.ailus@linux.intel.com>,\n\tLaurent Pinchart <laurent.pinchart@ideasonboard.com>, tfiga@google.com,\n\tpavel@ucw.cz","Cc":"Jacopo Mondi <jacopo@jmondi.org>,\n\tlinux-media@vger.kernel.org (open list:MEDIA INPUT INFRASTRUCTURE\n\t(V4L/DVB)), \n\tlibcamera-devel@lists.libcamera.org, Rob Herring <robh@kernel.org>,\n\tTomasz Figa <tfiga@chromium.org>","Date":"Tue,  7 Apr 2020 18:38:15 +0200","Message-Id":"<20200407163825.1766483-2-jacopo@jmondi.org>","X-Mailer":"git-send-email 2.26.0","In-Reply-To":"<20200407163825.1766483-1-jacopo@jmondi.org>","References":"<20200407163825.1766483-1-jacopo@jmondi.org>","MIME-Version":"1.0","Content-Transfer-Encoding":"8bit","Subject":"[libcamera-devel] [PATCH v8 01/11] dt-bindings: video-interfaces:\n\tDocument 'location' property","X-BeenThere":"libcamera-devel@lists.libcamera.org","X-Mailman-Version":"2.1.29","Precedence":"list","List-Id":"<libcamera-devel.lists.libcamera.org>","List-Unsubscribe":"<https://lists.libcamera.org/options/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=unsubscribe>","List-Archive":"<https://lists.libcamera.org/pipermail/libcamera-devel/>","List-Post":"<mailto:libcamera-devel@lists.libcamera.org>","List-Help":"<mailto:libcamera-devel-request@lists.libcamera.org?subject=help>","List-Subscribe":"<https://lists.libcamera.org/listinfo/libcamera-devel>,\n\t<mailto:libcamera-devel-request@lists.libcamera.org?subject=subscribe>","X-List-Received-Date":"Tue, 07 Apr 2020 16:35:32 -0000"},"content":"Add the 'location' device property, used to specify a device mounting\nposition. The property is particularly meaningful for mobile devices\nwith a well defined usage orientation.\n\nReviewed-by: Rob Herring <robh@kernel.org>\nAcked-by: Tomasz Figa <tfiga@chromium.org>\nSigned-off-by: Jacopo Mondi <jacopo@jmondi.org>\n---\n .../devicetree/bindings/media/video-interfaces.txt    | 11 +++++++++++\n 1 file changed, 11 insertions(+)","diff":"diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt\nindex f884ada0bffc..1211bdf80722 100644\n--- a/Documentation/devicetree/bindings/media/video-interfaces.txt\n+++ b/Documentation/devicetree/bindings/media/video-interfaces.txt\n@@ -89,6 +89,17 @@ Optional properties\n   but a number of degrees counter clockwise. Typical values are 0 and 180\n   (upside down).\n \n+- location: The mount location of a device (typically an image sensor or a flash\n+  LED) expressed as a position relative to the usage orientation of the system\n+  where the device is installed on.\n+  Possible values are:\n+  0 - Front. The device is mounted on the front facing side of the system.\n+  For mobile devices such as smartphones, tablets and laptops the front side is\n+  the user facing side.\n+  1 - Back. The device is mounted on the back side of the system, which is\n+  defined as the opposite side of the front facing one.\n+  2 - External. The device is not attached directly to the system but is\n+  attached in a way that allows it to move freely.\n \n Optional endpoint properties\n ----------------------------\n","prefixes":["libcamera-devel","v8","01/11"]}