lkml.org 
[lkml]   [2019]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC 1/5] media: dt-bindings: Document 'location' property
Date
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 <jacopo@jmondi.org>
---
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
\
 
 \ /
  Last update: 2019-08-14 22:28    [W:0.135 / U:0.608 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site