Skip to content

Commit d175296

Browse files
Jacopo MondiHans Verkuil
authored andcommitted
media: dt-bindings: ovti,ov5640: Allow props from video-interface-devices
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>
1 parent d169287 commit d175296

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,6 @@ properties:
4444
description: >
4545
Reference to the GPIO connected to the reset pin, if any.
4646
47-
rotation:
48-
enum:
49-
- 0
50-
- 180
51-
5247
port:
5348
description: Digital Output Port
5449
$ref: /schemas/graph.yaml#/$defs/port-base
@@ -85,7 +80,7 @@ required:
8580
- DOVDD-supply
8681
- port
8782

88-
additionalProperties: false
83+
unevaluatedProperties: false
8984

9085
examples:
9186
- |

0 commit comments

Comments
 (0)