aboutsummaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/media
diff options
context:
space:
mode:
authorGravatar Jacopo Mondi <jacopo.mondi@ideasonboard.com> 2023-10-06 14:40:59 +0200
committerGravatar Hans Verkuil <hverkuil-cisco@xs4all.nl> 2023-10-12 09:22:29 +0200
commitd175296a2df34fc2acebc5511a5fac8c977bda15 (patch)
treee92f4139b7a8c6e91f4643405e4617a7d8f902de /Documentation/devicetree/bindings/media
parentmedia: dt-bindings: ovti,ov4689: Allow props from video-interface-devices (diff)
downloadlinux-d175296a2df34fc2acebc5511a5fac8c977bda15.tar.gz
linux-d175296a2df34fc2acebc5511a5fac8c977bda15.tar.bz2
linux-d175296a2df34fc2acebc5511a5fac8c977bda15.zip
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>
Diffstat (limited to 'Documentation/devicetree/bindings/media')
-rw-r--r--Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml7
1 files changed, 1 insertions, 6 deletions
diff --git a/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml b/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
index a621032f9bd0..2c5e69356658 100644
--- a/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
+++ b/Documentation/devicetree/bindings/media/i2c/ovti,ov5640.yaml
@@ -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:
- |