Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Rob Herring <robh@kernel.org>
Reviewed-by: Philipp Zabel <p.zabel@pengutronix.de>
Link: https://lore.kernel.org/r/20201117200752.4004368-1-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>

+21 -21
+21 -21
Documentation/devicetree/bindings/media/coda.yaml
··· 44 44 - const: per 45 45 - const: ahb 46 46 47 + interrupts: 48 + minItems: 1 49 + items: 50 + - description: BIT processor interrupt 51 + - description: JPEG unit interrupt 52 + 53 + interrupt-names: 54 + minItems: 1 55 + items: 56 + - const: bit 57 + - const: jpeg 58 + 59 + power-domains: 60 + maxItems: 1 61 + 47 62 resets: 48 63 maxItems: 1 49 64 ··· 74 59 - clocks 75 60 - clock-names 76 61 62 + additionalProperties: false 63 + 77 64 allOf: 78 65 - if: 79 66 properties: ··· 85 68 then: 86 69 properties: 87 70 interrupts: 88 - items: 89 - - description: BIT processor interrupt 90 - - description: JPEG unit interrupt 71 + minItems: 2 91 72 92 73 interrupt-names: 93 - items: 94 - - const: bit 95 - - const: jpeg 74 + minItems: 2 96 75 else: 97 76 properties: 98 77 interrupts: 99 - items: 100 - - description: BIT processor interrupt 101 - 102 - - if: 103 - properties: 104 - compatible: 105 - contains: 106 - enum: 107 - - fsl,imx6dl-vpu 108 - - fsl,imx6q-vpu 109 - then: 110 - properties: 111 - power-domains: 112 - $ref: /schemas/types.yaml#/definitions/phandle 113 - description: phandle pointing to the PU power domain 114 78 maxItems: 1 79 + 80 + power-domains: false 115 81 116 82 examples: 117 83 - |