[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <169869996316.2462412.6288547804608819639.robh@kernel.org>
Date: Mon, 30 Oct 2023 16:06:05 -0500
From: Rob Herring <robh@...nel.org>
To: Rob Herring <robh@...nel.org>
Cc: Leo Yan <leo.yan@...aro.org>, Mike Leach <mike.leach@...aro.org>,
James Clark <james.clark@....com>,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
Conor Dooley <conor+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
coresight@...ts.linaro.org,
Suzuki K Poulose <suzuki.poulose@....com>,
devicetree@...r.kernel.org
Subject: Re: [PATCH 2/2] dt-bindings: arm,coresight-cti: Add missing
additionalProperties on child nodes
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@...nel.org>
> ---
> .../bindings/arm/arm,coresight-cti.yaml | 33 ++++++++++++++-----
> 1 file changed, 24 insertions(+), 9 deletions(-)
>
Applied, thanks!
Powered by blists - more mailing lists