Re: [PATCH 2/2] dt-bindings: arm,coresight-cti: Add missing additionalProperties on child nodes

From: Rob Herring
Date: Mon Oct 30 2023 - 17:06:12 EST



On Mon, 25 Sep 2023 17:05:06 -0500, Rob Herring wrote:
> Just as unevaluatedProperties or additionalProperties are required at
> the top level of schemas, they should (and will) also be required for
> child node schemas. That ensures only documented properties are
> present for any node.
>
> Adding additionalProperties constraint on 'trig-conns' nodes results in
> warnings that 'cpu' and 'arm,cs-dev-assoc' are not allowed. These are
> already defined for the parent node, but need to be duplicated for the
> child node. Drop the free form description that the properties also apply
> to the child nodes.
>
> Signed-off-by: Rob Herring <robh@xxxxxxxxxx>
> ---
> .../bindings/arm/arm,coresight-cti.yaml | 33 ++++++++++++++-----
> 1 file changed, 24 insertions(+), 9 deletions(-)
>

Applied, thanks!