Skip to content

Commit 3b34d7f

Browse files
Jacopo MondiHans Verkuil
authored andcommitted
media: dt-bindings: hynix,hi846: Add video-interface-devices properties
Allow properties from video-interface-devices.yaml for the SK Hynix Hi-846 sensor. All properties specified in video-interface-devices.yaml schema are valid, so make them accepted by changing "additionalProperties: false" to "unevaluatedProperties: false" at the schema top-level. Add two properties from video-interface-devices.yaml to the example to validate the new schema. 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 b4a3d87 commit 3b34d7f

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@ description: |-
1414
interface and CCI (I2C compatible) control bus. The output format
1515
is raw Bayer.
1616
17+
allOf:
18+
- $ref: /schemas/media/video-interface-devices.yaml#
19+
1720
properties:
1821
compatible:
1922
const: hynix,hi846
@@ -86,7 +89,7 @@ required:
8689
- vddd-supply
8790
- port
8891

89-
additionalProperties: false
92+
unevaluatedProperties: false
9093

9194
examples:
9295
- |
@@ -109,6 +112,8 @@ examples:
109112
vddio-supply = <&reg_camera_vddio>;
110113
reset-gpios = <&gpio1 25 GPIO_ACTIVE_LOW>;
111114
shutdown-gpios = <&gpio5 4 GPIO_ACTIVE_LOW>;
115+
orientation = <0>;
116+
rotation = <0>;
112117
113118
port {
114119
camera_out: endpoint {

0 commit comments

Comments
 (0)