Commit 479a4174 authored by Rob Herring's avatar Rob Herring

media: dt-bindings: coda: Add missing 'additionalProperties'

'additionalProperties' is now required by the meta-schema. Add it for
coda. As a result, 'interrupts', 'interrupt-names' and 'power-domains'
need to be reworked to be defined at the top level.

Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Mauro Carvalho Chehab <mchehab@kernel.org>
Cc: linux-media@vger.kernel.org
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Reviewed-by: default avatarPhilipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20201117200752.4004368-1-robh@kernel.orgSigned-off-by: default avatarRob Herring <robh@kernel.org>
parent d69c6ddd
......@@ -44,6 +44,21 @@ properties:
- const: per
- const: ahb
interrupts:
minItems: 1
items:
- description: BIT processor interrupt
- description: JPEG unit interrupt
interrupt-names:
minItems: 1
items:
- const: bit
- const: jpeg
power-domains:
maxItems: 1
resets:
maxItems: 1
......@@ -59,6 +74,8 @@ required:
- clocks
- clock-names
additionalProperties: false
allOf:
- if:
properties:
......@@ -68,34 +85,17 @@ allOf:
then:
properties:
interrupts:
items:
- description: BIT processor interrupt
- description: JPEG unit interrupt
minItems: 2
interrupt-names:
items:
- const: bit
- const: jpeg
minItems: 2
else:
properties:
interrupts:
items:
- description: BIT processor interrupt
- if:
properties:
compatible:
contains:
enum:
- fsl,imx6dl-vpu
- fsl,imx6q-vpu
then:
properties:
power-domains:
$ref: /schemas/types.yaml#/definitions/phandle
description: phandle pointing to the PU power domain
maxItems: 1
power-domains: false
examples:
- |
vpu: video-codec@63ff4000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment