]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
media: dt-bindings: ovti,ov5640: Allow props from video-interface-devices
authorJacopo Mondi <jacopo.mondi@ideasonboard.com>
Fri, 6 Oct 2023 12:40:59 +0000 (14:40 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Thu, 12 Oct 2023 07:22:29 +0000 (09:22 +0200)
There is no reason to restrict the allowed rotation degrees to 0 and 180,
as the sensor can be mounted with any rotation.

Also, as all the properties described by video-interface-devices.yaml are
allowed for the image sensor, make them accepted by changing
"additionalProperties: false" to "unevaluatedProperties: false" at the
schema top-level.

Signed-off-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml

index a621032f9bd078cc06dad6014f10fa96da0f9f1b..2c5e69356658ec67364c52cceebc56ebd1760e74 100644 (file)
@@ -44,11 +44,6 @@ properties:
     description: >
       Reference to the GPIO connected to the reset pin, if any.
 
-  rotation:
-    enum:
-      - 0
-      - 180
-
   port:
     description: Digital Output Port
     $ref: /schemas/graph.yaml#/$defs/port-base
@@ -85,7 +80,7 @@ required:
   - DOVDD-supply
   - port
 
-additionalProperties: false
+unevaluatedProperties: false
 
 examples:
   - |