mirror of
https://github.com/torvalds/linux.git
synced 2026-06-07 14:04:54 +02:00
dt-bindings: media: renesas,vin: Make resets optional on R-Car Gen1
commit7935bb56e2upstream. 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:905fc6b1bf("dt-bindings: rcar-vin: Convert bindings to json-schema") Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se> Link: https://lore.kernel.org/r/217c8197efaee7d803b22d433abb0ea8e33b84c6.1619700314.git.geert+renesas@glider.be Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c4e3d8cf61
commit
c1514ad24c
|
|
@ -278,23 +278,35 @@ required:
|
||||||
- interrupts
|
- interrupts
|
||||||
- clocks
|
- clocks
|
||||||
- power-domains
|
- power-domains
|
||||||
- resets
|
|
||||||
|
|
||||||
if:
|
allOf:
|
||||||
properties:
|
- if:
|
||||||
compatible:
|
not:
|
||||||
contains:
|
properties:
|
||||||
enum:
|
compatible:
|
||||||
- renesas,vin-r8a7778
|
contains:
|
||||||
- renesas,vin-r8a7779
|
enum:
|
||||||
- renesas,rcar-gen2-vin
|
- renesas,vin-r8a7778
|
||||||
then:
|
- renesas,vin-r8a7779
|
||||||
required:
|
then:
|
||||||
- port
|
required:
|
||||||
else:
|
- resets
|
||||||
required:
|
|
||||||
- renesas,id
|
- if:
|
||||||
- ports
|
properties:
|
||||||
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user