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

dt-bindings: dma: pl08x: Fix unevaluatedProperties warnings

With 'unevaluatedProperties' support implemented, the example has
warnings on primecell properties and 'resets':

Documentation/devicetree/bindings/dma/arm-pl08x.example.dt.yaml: dma-controller@67000000: Unevaluated properties are not allowed ('arm,primecell-periphid', 'resets' were unexpected)

Add the missing reference to primecell.yaml and definition for 'resets'.

Cc: Vinod Koul <vkoul@kernel.org>
Cc: dmaengine@vger.kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20211206174231.2298349-1-robh@kernel.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>

authored by

Rob Herring and committed by
Vinod Koul
a173a242 78b2f63c

+4
+4
Documentation/devicetree/bindings/dma/arm-pl08x.yaml
··· 10 10 - Vinod Koul <vkoul@kernel.org> 11 11 12 12 allOf: 13 + - $ref: /schemas/arm/primecell.yaml# 13 14 - $ref: "dma-controller.yaml#" 14 15 15 16 # We need a select here so we don't match all nodes with 'arm,primecell' ··· 89 88 - 32 90 89 - 64 91 90 description: bus width used for memcpy in bits. FTDMAC020 also accept 64 bits 91 + 92 + resets: 93 + maxItems: 1 92 94 93 95 required: 94 96 - reg