]> www.infradead.org Git - users/dwmw2/linux.git/commit
dt-bindings: arm,coresight-cti: Add missing additionalProperties on child nodes
authorRob Herring <robh@kernel.org>
Mon, 25 Sep 2023 22:05:06 +0000 (17:05 -0500)
committerRob Herring <robh@kernel.org>
Mon, 30 Oct 2023 21:06:02 +0000 (16:06 -0500)
commit70b416afc99863d9f5a5959f6555bbb290d70eee
treed47d310f85084b0b3a25fe6b807f298d5b66ae3c
parent5027cf58e402351bf5585d3d22fb8d92056782eb
dt-bindings: arm,coresight-cti: Add missing additionalProperties on child nodes

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.

Acked-by: Conor Dooley <conor.dooley@microchip.com>
Reviewed-by: Mike Leach <mike.leach@linaro.org>
Link: https://lore.kernel.org/r/20230925220511.2026514-2-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/arm/arm,coresight-cti.yaml