提交 7935bb56 编写于 作者: G Geert Uytterhoeven 提交者: Rob Herring

dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1

The "resets" property is not present on R-Car Gen1 SoCs.
Supporting it would require migrating from renesas,cpg-clocks to
renesas,cpg-mssr.

Fixes: 905fc6b1 ("dt-bindings: rcar-vin: Convert bindings to json-schema")
Signed-off-by: NGeert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: NNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://lore.kernel.org/r/217c8197efaee7d803b22d433abb0ea8e33b84c6.1619700314.git.geert+renesas@glider.beSigned-off-by: NRob Herring <robh@kernel.org>
上级 62b3b366
...@@ -193,23 +193,35 @@ required: ...@@ -193,23 +193,35 @@ required:
- interrupts - interrupts
- clocks - clocks
- power-domains - power-domains
- resets
allOf:
if: - if:
properties: not:
compatible: properties:
contains: compatible:
enum: contains:
- renesas,vin-r8a7778 enum:
- renesas,vin-r8a7779 - renesas,vin-r8a7778
- renesas,rcar-gen2-vin - renesas,vin-r8a7779
then: then:
required: required:
- port - resets
else:
required: - if:
- renesas,id properties:
- ports compatible:
contains:
enum:
- renesas,vin-r8a7778
- renesas,vin-r8a7779
- renesas,rcar-gen2-vin
then:
required:
- port
else:
required:
- renesas,id
- ports
additionalProperties: false additionalProperties: false
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册