Hi! > Add the 'location' device property, used to specify a device mounting > position. The property is particularly meaningful for mobile devices > with a well defined usage orientation. > > Signed-off-by: Jacopo Mondi <jacopo@xxxxxxxxxx> > --- > .../devicetree/bindings/media/video-interfaces.txt | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/Documentation/devicetree/bindings/media/video-interfaces.txt b/Documentation/devicetree/bindings/media/video-interfaces.txt > index f884ada0bffc..e71b90a29d7a 100644 > --- a/Documentation/devicetree/bindings/media/video-interfaces.txt > +++ b/Documentation/devicetree/bindings/media/video-interfaces.txt > @@ -89,6 +89,17 @@ Optional properties > but a number of degrees counter clockwise. Typical values are 0 and 180 > (upside down). > > +- location: The device, typically an image sensor or a flash LED, mounting > + location expressed as a position relative to the usage orientation of the > + system where the device is installed on. > + Possible values are: > + 0 - Front. The device is mounted on the front facing side of the system For > + mobile devices such as smartphones, tablets and laptops the front side is the > + user facing side. I don't think this is nearly enough of description. We have phones with displays and cameras at both sides, where both sides can be used to operate the system. We have phone with display spanning both sides -- Mi Max. https://www.idnes.cz/mobil/telefony/xiaomi-mi-mix-alpha-predstaveni.A190924_105858_telefony_oma We have Galaxy Fold. https://www.samsung.com/global/galaxy/galaxy-fold/ What is front side when device can be used in different configurations? Could we instead say that it is "main" vs "selfie" camera? Notebooks usually have just "selfie" camera, tablets often have both... DSLRs have just "main" camera. Best regards, Pavel -- (english) http://www.livejournal.com/~pavelmachek (cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
Attachment:
signature.asc
Description: Digital signature