xref: /freebsd-src/sys/contrib/device-tree/Bindings/media/video-interface-devices.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/media/video-interface-devices.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: Common Properties for Video Receiver and Transmitter Devices
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Jacopo Mondi <jacopo@jmondi.org>
115def4c47SEmmanuel Vadot  - Sakari Ailus <sakari.ailus@linux.intel.com>
125def4c47SEmmanuel Vadot
135def4c47SEmmanuel Vadotproperties:
145def4c47SEmmanuel Vadot  flash-leds:
155def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle-array
165def4c47SEmmanuel Vadot    description:
175def4c47SEmmanuel Vadot      An array of phandles, each referring to a flash LED, a sub-node of the LED
185def4c47SEmmanuel Vadot      driver device node.
195def4c47SEmmanuel Vadot
205def4c47SEmmanuel Vadot  lens-focus:
215def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/phandle
225def4c47SEmmanuel Vadot    description:
235def4c47SEmmanuel Vadot      A phandle to the node of the focus lens controller.
245def4c47SEmmanuel Vadot
255def4c47SEmmanuel Vadot  rotation:
265def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
275def4c47SEmmanuel Vadot    enum: [ 0, 90, 180, 270 ]
285def4c47SEmmanuel Vadot    description: |
295def4c47SEmmanuel Vadot      The camera rotation is expressed as the angular difference in degrees
305def4c47SEmmanuel Vadot      between two reference systems, one relative to the camera module, and one
315def4c47SEmmanuel Vadot      defined on the external world scene to be captured when projected on the
325def4c47SEmmanuel Vadot      image sensor pixel array.
335def4c47SEmmanuel Vadot
345def4c47SEmmanuel Vadot      A camera sensor has a 2-dimensional reference system 'Rc' defined by its
355def4c47SEmmanuel Vadot      pixel array read-out order. The origin is set to the first pixel being
365def4c47SEmmanuel Vadot      read out, the X-axis points along the column read-out direction towards
375def4c47SEmmanuel Vadot      the last columns, and the Y-axis along the row read-out direction towards
385def4c47SEmmanuel Vadot      the last row.
395def4c47SEmmanuel Vadot
405def4c47SEmmanuel Vadot      A typical example for a sensor with a 2592x1944 pixel array matrix
415def4c47SEmmanuel Vadot      observed from the front is:
425def4c47SEmmanuel Vadot
435def4c47SEmmanuel Vadot              2591       X-axis          0
445def4c47SEmmanuel Vadot                <------------------------+ 0
455def4c47SEmmanuel Vadot                .......... ... ..........!
465def4c47SEmmanuel Vadot                .......... ... ..........! Y-axis
475def4c47SEmmanuel Vadot                           ...           !
485def4c47SEmmanuel Vadot                .......... ... ..........!
495def4c47SEmmanuel Vadot                .......... ... ..........! 1943
505def4c47SEmmanuel Vadot                                         V
515def4c47SEmmanuel Vadot
525def4c47SEmmanuel Vadot      The external world scene reference system 'Rs' is a 2-dimensional
535def4c47SEmmanuel Vadot      reference system on the focal plane of the camera module. The origin is
545def4c47SEmmanuel Vadot      placed on the top-left corner of the visible scene, the X-axis points
555def4c47SEmmanuel Vadot      towards the right, and the Y-axis points towards the bottom of the scene.
565def4c47SEmmanuel Vadot      The top, bottom, left and right directions are intentionally not defined
575def4c47SEmmanuel Vadot      and depend on the environment in which the camera is used.
585def4c47SEmmanuel Vadot
595def4c47SEmmanuel Vadot      A typical example of a (very common) picture of a shark swimming from left
605def4c47SEmmanuel Vadot      to right, as seen from the camera, is:
615def4c47SEmmanuel Vadot
625def4c47SEmmanuel Vadot               0               X-axis
635def4c47SEmmanuel Vadot             0 +------------------------------------->
645def4c47SEmmanuel Vadot               !
655def4c47SEmmanuel Vadot               !
665def4c47SEmmanuel Vadot               !
675def4c47SEmmanuel Vadot               !           |\____)\___
685def4c47SEmmanuel Vadot               !           ) _____  __`<
695def4c47SEmmanuel Vadot               !           |/     )/
705def4c47SEmmanuel Vadot               !
715def4c47SEmmanuel Vadot               !
725def4c47SEmmanuel Vadot               !
735def4c47SEmmanuel Vadot               V
745def4c47SEmmanuel Vadot             Y-axis
755def4c47SEmmanuel Vadot
765def4c47SEmmanuel Vadot      with the reference system 'Rs' placed on the camera focal plane:
775def4c47SEmmanuel Vadot
785def4c47SEmmanuel Vadot                                  ¸.·˙!
795def4c47SEmmanuel Vadot                              ¸.·˙    !
805def4c47SEmmanuel Vadot                  _       ¸.·˙        !
815def4c47SEmmanuel Vadot               +-/ \-+¸.·˙            !
825def4c47SEmmanuel Vadot               | (o) |                ! Camera focal plane
835def4c47SEmmanuel Vadot               +-----+˙·.¸            !
845def4c47SEmmanuel Vadot                          ˙·.¸        !
855def4c47SEmmanuel Vadot                              ˙·.¸    !
865def4c47SEmmanuel Vadot                                  ˙·.¸!
875def4c47SEmmanuel Vadot
885def4c47SEmmanuel Vadot      When projected on the sensor's pixel array, the image and the associated
895def4c47SEmmanuel Vadot      reference system 'Rs' are typically (but not always) inverted, due to the
905def4c47SEmmanuel Vadot      camera module's lens optical inversion effect.
915def4c47SEmmanuel Vadot
925def4c47SEmmanuel Vadot      Assuming the above represented scene of the swimming shark, the lens
935def4c47SEmmanuel Vadot      inversion projects the scene and its reference system onto the sensor
945def4c47SEmmanuel Vadot      pixel array, seen from the front of the camera sensor, as follows:
955def4c47SEmmanuel Vadot
965def4c47SEmmanuel Vadot            Y-axis
975def4c47SEmmanuel Vadot               ^
985def4c47SEmmanuel Vadot               !
995def4c47SEmmanuel Vadot               !
1005def4c47SEmmanuel Vadot               !
1015def4c47SEmmanuel Vadot               !            |\_____)\__
1025def4c47SEmmanuel Vadot               !            ) ____  ___.<
1035def4c47SEmmanuel Vadot               !            |/    )/
1045def4c47SEmmanuel Vadot               !
1055def4c47SEmmanuel Vadot               !
1065def4c47SEmmanuel Vadot               !
1075def4c47SEmmanuel Vadot             0 +------------------------------------->
1085def4c47SEmmanuel Vadot               0               X-axis
1095def4c47SEmmanuel Vadot
1105def4c47SEmmanuel Vadot      Note the shark being upside-down.
1115def4c47SEmmanuel Vadot
1125def4c47SEmmanuel Vadot      The resulting projected reference system is named 'Rp'.
1135def4c47SEmmanuel Vadot
1145def4c47SEmmanuel Vadot      The camera rotation property is then defined as the angular difference in
1155def4c47SEmmanuel Vadot      the counter-clockwise direction between the camera reference system 'Rc'
1165def4c47SEmmanuel Vadot      and the projected scene reference system 'Rp'. It is expressed in degrees
1175def4c47SEmmanuel Vadot      as a number in the range [0, 360[.
1185def4c47SEmmanuel Vadot
1195def4c47SEmmanuel Vadot      Examples
1205def4c47SEmmanuel Vadot
1215def4c47SEmmanuel Vadot      0 degrees camera rotation:
1225def4c47SEmmanuel Vadot
1235def4c47SEmmanuel Vadot
1245def4c47SEmmanuel Vadot                    Y-Rp
1255def4c47SEmmanuel Vadot                     ^
1265def4c47SEmmanuel Vadot              Y-Rc   !
1275def4c47SEmmanuel Vadot               ^     !
1285def4c47SEmmanuel Vadot               !     !
1295def4c47SEmmanuel Vadot               !     !
1305def4c47SEmmanuel Vadot               !     !
1315def4c47SEmmanuel Vadot               !     !
1325def4c47SEmmanuel Vadot               !     !
1335def4c47SEmmanuel Vadot               !     !
1345def4c47SEmmanuel Vadot               !     !
1355def4c47SEmmanuel Vadot               !   0 +------------------------------------->
1365def4c47SEmmanuel Vadot               !     0               X-Rp
1375def4c47SEmmanuel Vadot             0 +------------------------------------->
1385def4c47SEmmanuel Vadot               0               X-Rc
1395def4c47SEmmanuel Vadot
1405def4c47SEmmanuel Vadot
1415def4c47SEmmanuel Vadot                                X-Rc                0
1425def4c47SEmmanuel Vadot               <------------------------------------+ 0
1435def4c47SEmmanuel Vadot                           X-Rp                 0   !
1445def4c47SEmmanuel Vadot           <------------------------------------+ 0 !
1455def4c47SEmmanuel Vadot                                                !   !
1465def4c47SEmmanuel Vadot                                                !   !
1475def4c47SEmmanuel Vadot                                                !   !
1485def4c47SEmmanuel Vadot                                                !   !
1495def4c47SEmmanuel Vadot                                                !   !
1505def4c47SEmmanuel Vadot                                                !   !
1515def4c47SEmmanuel Vadot                                                !   !
1525def4c47SEmmanuel Vadot                                                !   V
1535def4c47SEmmanuel Vadot                                                !  Y-Rc
1545def4c47SEmmanuel Vadot                                                V
1555def4c47SEmmanuel Vadot                                               Y-Rp
1565def4c47SEmmanuel Vadot
1575def4c47SEmmanuel Vadot      90 degrees camera rotation:
1585def4c47SEmmanuel Vadot
1595def4c47SEmmanuel Vadot               0        Y-Rc
1605def4c47SEmmanuel Vadot             0 +-------------------->
1615def4c47SEmmanuel Vadot               !   Y-Rp
1625def4c47SEmmanuel Vadot               !    ^
1635def4c47SEmmanuel Vadot               !    !
1645def4c47SEmmanuel Vadot               !    !
1655def4c47SEmmanuel Vadot               !    !
1665def4c47SEmmanuel Vadot               !    !
1675def4c47SEmmanuel Vadot               !    !
1685def4c47SEmmanuel Vadot               !    !
1695def4c47SEmmanuel Vadot               !    !
1705def4c47SEmmanuel Vadot               !    !
1715def4c47SEmmanuel Vadot               !    !
1725def4c47SEmmanuel Vadot               !  0 +------------------------------------->
1735def4c47SEmmanuel Vadot               !    0              X-Rp
1745def4c47SEmmanuel Vadot               !
1755def4c47SEmmanuel Vadot               !
1765def4c47SEmmanuel Vadot               !
1775def4c47SEmmanuel Vadot               !
1785def4c47SEmmanuel Vadot               V
1795def4c47SEmmanuel Vadot              X-Rc
1805def4c47SEmmanuel Vadot
1815def4c47SEmmanuel Vadot      180 degrees camera rotation:
1825def4c47SEmmanuel Vadot
1835def4c47SEmmanuel Vadot                                            0
1845def4c47SEmmanuel Vadot       <------------------------------------+ 0
1855def4c47SEmmanuel Vadot                        X-Rc                !
1865def4c47SEmmanuel Vadot              Y-Rp                          !
1875def4c47SEmmanuel Vadot               ^                            !
1885def4c47SEmmanuel Vadot               !                            !
1895def4c47SEmmanuel Vadot               !                            !
1905def4c47SEmmanuel Vadot               !                            !
1915def4c47SEmmanuel Vadot               !                            !
1925def4c47SEmmanuel Vadot               !                            !
1935def4c47SEmmanuel Vadot               !                            !
1945def4c47SEmmanuel Vadot               !                            V
1955def4c47SEmmanuel Vadot               !                           Y-Rc
1965def4c47SEmmanuel Vadot             0 +------------------------------------->
1975def4c47SEmmanuel Vadot               0              X-Rp
1985def4c47SEmmanuel Vadot
1995def4c47SEmmanuel Vadot      270 degrees camera rotation:
2005def4c47SEmmanuel Vadot
2015def4c47SEmmanuel Vadot               0        Y-Rc
2025def4c47SEmmanuel Vadot             0 +-------------------->
2035def4c47SEmmanuel Vadot               !                                        0
2045def4c47SEmmanuel Vadot               !    <-----------------------------------+ 0
2055def4c47SEmmanuel Vadot               !                    X-Rp                !
2065def4c47SEmmanuel Vadot               !                                        !
2075def4c47SEmmanuel Vadot               !                                        !
2085def4c47SEmmanuel Vadot               !                                        !
2095def4c47SEmmanuel Vadot               !                                        !
2105def4c47SEmmanuel Vadot               !                                        !
2115def4c47SEmmanuel Vadot               !                                        !
2125def4c47SEmmanuel Vadot               !                                        !
2135def4c47SEmmanuel Vadot               !                                        !
2145def4c47SEmmanuel Vadot               !                                        V
2155def4c47SEmmanuel Vadot               !                                       Y-Rp
2165def4c47SEmmanuel Vadot               !
2175def4c47SEmmanuel Vadot               !
2185def4c47SEmmanuel Vadot               !
2195def4c47SEmmanuel Vadot               !
2205def4c47SEmmanuel Vadot               V
2215def4c47SEmmanuel Vadot              X-Rc
2225def4c47SEmmanuel Vadot
2235def4c47SEmmanuel Vadot
2245def4c47SEmmanuel Vadot      Example one - Webcam
2255def4c47SEmmanuel Vadot
2265def4c47SEmmanuel Vadot      A camera module installed on the user facing part of a laptop screen
2275def4c47SEmmanuel Vadot      casing used for video calls. The captured images are meant to be displayed
2285def4c47SEmmanuel Vadot      in landscape mode (width > height) on the laptop screen.
2295def4c47SEmmanuel Vadot
2305def4c47SEmmanuel Vadot      The camera is typically mounted upside-down to compensate the lens optical
2315def4c47SEmmanuel Vadot      inversion effect:
2325def4c47SEmmanuel Vadot
2335def4c47SEmmanuel Vadot                    Y-Rp
2345def4c47SEmmanuel Vadot              Y-Rc   ^
2355def4c47SEmmanuel Vadot               ^     !
2365def4c47SEmmanuel Vadot               !     !
2375def4c47SEmmanuel Vadot               !     !       |\_____)\__
2385def4c47SEmmanuel Vadot               !     !       ) ____  ___.<
2395def4c47SEmmanuel Vadot               !     !       |/    )/
2405def4c47SEmmanuel Vadot               !     !
2415def4c47SEmmanuel Vadot               !     !
2425def4c47SEmmanuel Vadot               !     !
2435def4c47SEmmanuel Vadot               !   0 +------------------------------------->
2445def4c47SEmmanuel Vadot               !     0           X-Rp
2455def4c47SEmmanuel Vadot             0 +------------------------------------->
2465def4c47SEmmanuel Vadot               0            X-Rc
2475def4c47SEmmanuel Vadot
2485def4c47SEmmanuel Vadot      The two reference systems are aligned, the resulting camera rotation is
2495def4c47SEmmanuel Vadot      0 degrees, no rotation correction needs to be applied to the resulting
2505def4c47SEmmanuel Vadot      image once captured to memory buffers to correctly display it to users:
2515def4c47SEmmanuel Vadot
2525def4c47SEmmanuel Vadot               +--------------------------------------+
2535def4c47SEmmanuel Vadot               !                                      !
2545def4c47SEmmanuel Vadot               !                                      !
2555def4c47SEmmanuel Vadot               !                                      !
2565def4c47SEmmanuel Vadot               !             |\____)\___              !
2575def4c47SEmmanuel Vadot               !             ) _____  __`<            !
2585def4c47SEmmanuel Vadot               !             |/     )/                !
2595def4c47SEmmanuel Vadot               !                                      !
2605def4c47SEmmanuel Vadot               !                                      !
2615def4c47SEmmanuel Vadot               !                                      !
2625def4c47SEmmanuel Vadot               +--------------------------------------+
2635def4c47SEmmanuel Vadot
2645def4c47SEmmanuel Vadot      If the camera sensor is not mounted upside-down to compensate for the lens
2655def4c47SEmmanuel Vadot      optical inversion, the two reference systems will not be aligned, with
2665def4c47SEmmanuel Vadot      'Rp' being rotated 180 degrees relatively to 'Rc':
2675def4c47SEmmanuel Vadot
2685def4c47SEmmanuel Vadot
2695def4c47SEmmanuel Vadot                        X-Rc                0
2705def4c47SEmmanuel Vadot       <------------------------------------+ 0
2715def4c47SEmmanuel Vadot                                            !
2725def4c47SEmmanuel Vadot              Y-Rp                          !
2735def4c47SEmmanuel Vadot               ^                            !
2745def4c47SEmmanuel Vadot               !                            !
2755def4c47SEmmanuel Vadot               !       |\_____)\__          !
2765def4c47SEmmanuel Vadot               !       ) ____  ___.<        !
2775def4c47SEmmanuel Vadot               !       |/    )/             !
2785def4c47SEmmanuel Vadot               !                            !
2795def4c47SEmmanuel Vadot               !                            !
2805def4c47SEmmanuel Vadot               !                            V
2815def4c47SEmmanuel Vadot               !                           Y-Rc
2825def4c47SEmmanuel Vadot             0 +------------------------------------->
2835def4c47SEmmanuel Vadot               0            X-Rp
2845def4c47SEmmanuel Vadot
2855def4c47SEmmanuel Vadot      The image once captured to memory will then be rotated by 180 degrees:
2865def4c47SEmmanuel Vadot
2875def4c47SEmmanuel Vadot               +--------------------------------------+
2885def4c47SEmmanuel Vadot               !                                      !
2895def4c47SEmmanuel Vadot               !                                      !
2905def4c47SEmmanuel Vadot               !                                      !
2915def4c47SEmmanuel Vadot               !              __/(_____/|             !
2925def4c47SEmmanuel Vadot               !            >.___  ____ (             !
2935def4c47SEmmanuel Vadot               !                 \(    \|             !
2945def4c47SEmmanuel Vadot               !                                      !
2955def4c47SEmmanuel Vadot               !                                      !
2965def4c47SEmmanuel Vadot               !                                      !
2975def4c47SEmmanuel Vadot               +--------------------------------------+
2985def4c47SEmmanuel Vadot
2995def4c47SEmmanuel Vadot      A software rotation correction of 180 degrees should be applied to
3005def4c47SEmmanuel Vadot      correctly display the image:
3015def4c47SEmmanuel Vadot
3025def4c47SEmmanuel Vadot               +--------------------------------------+
3035def4c47SEmmanuel Vadot               !                                      !
3045def4c47SEmmanuel Vadot               !                                      !
3055def4c47SEmmanuel Vadot               !                                      !
3065def4c47SEmmanuel Vadot               !             |\____)\___              !
3075def4c47SEmmanuel Vadot               !             ) _____  __`<            !
3085def4c47SEmmanuel Vadot               !             |/     )/                !
3095def4c47SEmmanuel Vadot               !                                      !
3105def4c47SEmmanuel Vadot               !                                      !
3115def4c47SEmmanuel Vadot               !                                      !
3125def4c47SEmmanuel Vadot               +--------------------------------------+
3135def4c47SEmmanuel Vadot
3145def4c47SEmmanuel Vadot      Example two - Phone camera
3155def4c47SEmmanuel Vadot
3165def4c47SEmmanuel Vadot      A camera installed on the back side of a mobile device facing away from
3175def4c47SEmmanuel Vadot      the user. The captured images are meant to be displayed in portrait mode
3185def4c47SEmmanuel Vadot      (height > width) to match the device screen orientation and the device
3195def4c47SEmmanuel Vadot      usage orientation used when taking the picture.
3205def4c47SEmmanuel Vadot
3215def4c47SEmmanuel Vadot      The camera sensor is typically mounted with its pixel array longer side
3225def4c47SEmmanuel Vadot      aligned to the device longer side, upside-down mounted to compensate for
3235def4c47SEmmanuel Vadot      the lens optical inversion effect:
3245def4c47SEmmanuel Vadot
3255def4c47SEmmanuel Vadot               0        Y-Rc
3265def4c47SEmmanuel Vadot             0 +-------------------->
3275def4c47SEmmanuel Vadot               !   Y-Rp
3285def4c47SEmmanuel Vadot               !    ^
3295def4c47SEmmanuel Vadot               !    !
3305def4c47SEmmanuel Vadot               !    !
3315def4c47SEmmanuel Vadot               !    !
3325def4c47SEmmanuel Vadot               !    !            |\_____)\__
3335def4c47SEmmanuel Vadot               !    !            ) ____  ___.<
3345def4c47SEmmanuel Vadot               !    !            |/    )/
3355def4c47SEmmanuel Vadot               !    !
3365def4c47SEmmanuel Vadot               !    !
3375def4c47SEmmanuel Vadot               !    !
3385def4c47SEmmanuel Vadot               !  0 +------------------------------------->
3395def4c47SEmmanuel Vadot               !    0                X-Rp
3405def4c47SEmmanuel Vadot               !
3415def4c47SEmmanuel Vadot               !
3425def4c47SEmmanuel Vadot               !
3435def4c47SEmmanuel Vadot               !
3445def4c47SEmmanuel Vadot               V
3455def4c47SEmmanuel Vadot              X-Rc
3465def4c47SEmmanuel Vadot
3475def4c47SEmmanuel Vadot      The two reference systems are not aligned and the 'Rp' reference system is
3485def4c47SEmmanuel Vadot      rotated by 90 degrees in the counter-clockwise direction relatively to the
3495def4c47SEmmanuel Vadot      'Rc' reference system.
3505def4c47SEmmanuel Vadot
3515def4c47SEmmanuel Vadot      The image once captured to memory will be rotated:
3525def4c47SEmmanuel Vadot
3535def4c47SEmmanuel Vadot               +-------------------------------------+
3545def4c47SEmmanuel Vadot               |                 _ _                 |
3555def4c47SEmmanuel Vadot               |                \   /                |
3565def4c47SEmmanuel Vadot               |                 | |                 |
3575def4c47SEmmanuel Vadot               |                 | |                 |
3585def4c47SEmmanuel Vadot               |                 |  >                |
3595def4c47SEmmanuel Vadot               |                <  |                 |
3605def4c47SEmmanuel Vadot               |                 | |                 |
3615def4c47SEmmanuel Vadot               |                   .                 |
3625def4c47SEmmanuel Vadot               |                  V                  |
3635def4c47SEmmanuel Vadot               +-------------------------------------+
3645def4c47SEmmanuel Vadot
3655def4c47SEmmanuel Vadot      A correction of 90 degrees in counter-clockwise direction has to be
3665def4c47SEmmanuel Vadot      applied to correctly display the image in portrait mode on the device
3675def4c47SEmmanuel Vadot      screen:
3685def4c47SEmmanuel Vadot
3695def4c47SEmmanuel Vadot                        +--------------------+
3705def4c47SEmmanuel Vadot                        |                    |
3715def4c47SEmmanuel Vadot                        |                    |
3725def4c47SEmmanuel Vadot                        |                    |
3735def4c47SEmmanuel Vadot                        |                    |
3745def4c47SEmmanuel Vadot                        |                    |
3755def4c47SEmmanuel Vadot                        |                    |
3765def4c47SEmmanuel Vadot                        |   |\____)\___      |
3775def4c47SEmmanuel Vadot                        |   ) _____  __`<    |
3785def4c47SEmmanuel Vadot                        |   |/     )/        |
3795def4c47SEmmanuel Vadot                        |                    |
3805def4c47SEmmanuel Vadot                        |                    |
3815def4c47SEmmanuel Vadot                        |                    |
3825def4c47SEmmanuel Vadot                        |                    |
3835def4c47SEmmanuel Vadot                        |                    |
3845def4c47SEmmanuel Vadot                        +--------------------+
3855def4c47SEmmanuel Vadot
3865def4c47SEmmanuel Vadot  orientation:
3875def4c47SEmmanuel Vadot    description:
3885def4c47SEmmanuel Vadot      The orientation of a device (typically an image sensor or a flash LED)
3895def4c47SEmmanuel Vadot      describing its mounting position relative to the usage orientation of the
3905def4c47SEmmanuel Vadot      system where the device is installed on.
3915def4c47SEmmanuel Vadot    $ref: /schemas/types.yaml#/definitions/uint32
3925def4c47SEmmanuel Vadot    enum:
3935def4c47SEmmanuel Vadot        # Front. The device is mounted on the front facing side of the system. For
3945def4c47SEmmanuel Vadot        # mobile devices such as smartphones, tablets and laptops the front side
3955def4c47SEmmanuel Vadot        # is the user facing side.
3965def4c47SEmmanuel Vadot      - 0
3975def4c47SEmmanuel Vadot        # Back. The device is mounted on the back side of the system, which is
3985def4c47SEmmanuel Vadot        # defined as the opposite side of the front facing one.
3995def4c47SEmmanuel Vadot      - 1
4005def4c47SEmmanuel Vadot        # External. The device is not attached directly to the system but is
4015def4c47SEmmanuel Vadot        # attached in a way that allows it to move freely.
4025def4c47SEmmanuel Vadot      - 2
4035def4c47SEmmanuel Vadot
4045def4c47SEmmanuel VadotadditionalProperties: true
4055def4c47SEmmanuel Vadot
4065def4c47SEmmanuel Vadot...
407