Skip to content

Commit d85ce91

Browse files
Jacopo MondiHans Verkuil
authored andcommitted
media: dt-bindings: ovti,ov02a10: 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 3b34d7f commit d85ce91

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

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

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ properties:
6868
marked GPIO_ACTIVE_LOW.
6969
maxItems: 1
7070

71-
rotation:
72-
enum:
73-
- 0 # Sensor Mounted Upright
74-
- 180 # Sensor Mounted Upside Down
75-
default: 0
76-
7771
port:
7872
$ref: /schemas/graph.yaml#/$defs/port-base
7973
additionalProperties: false
@@ -114,7 +108,7 @@ required:
114108
- reset-gpios
115109
- port
116110

117-
additionalProperties: false
111+
unevaluatedProperties: false
118112

119113
examples:
120114
- |

0 commit comments

Comments
 (0)