Skip to content

Commit

Permalink
media: dt-binding: media: hynix,hi846: use $defs/port-base port descr…
Browse files Browse the repository at this point in the history
…iption

This fixes "make dt_binding_check":

    Documentation/devicetree/bindings/media/i2c/hynix,hi846.example.dt.yaml:
camera@20: port:endpoint: Unevaluated properties are not allowed
('link-frequencies', 'data-lanes' were unexpected)
    From schema: Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml

[Sakari Ailus: Reword commit message]

Fixes: f3ce720 ("media: dt-bindings: media: document SK Hynix Hi-846 MIPI CSI-2 8M pixel sensor")
Reported-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Martin Kepplinger <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Reviewed-by: Rob Herring <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
merge authored and mchehab committed Feb 17, 2022
1 parent d4568fc commit 6492eba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Documentation/devicetree/bindings/media/i2c/hynix,hi846.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ properties:
description: Definition of the regulator used for the VDDD power supply.

port:
$ref: /schemas/graph.yaml#/properties/port
$ref: /schemas/graph.yaml#/$defs/port-base
unevaluatedProperties: false

properties:
endpoint:
Expand Down

0 comments on commit 6492eba

Please sign in to comment.