Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jacopo Mondi and committed by
Hans Verkuil
d175296a d1692877

+1 -6
+1 -6
Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
··· 44 44 description: > 45 45 Reference to the GPIO connected to the reset pin, if any. 46 46 47 - rotation: 48 - enum: 49 - - 0 50 - - 180 51 - 52 47 port: 53 48 description: Digital Output Port 54 49 $ref: /schemas/graph.yaml#/$defs/port-base ··· 80 85 - DOVDD-supply 81 86 - port 82 87 83 - additionalProperties: false 88 + unevaluatedProperties: false 84 89 85 90 examples: 86 91 - |