[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20220824060436.in2weji5hpyabtsl@vireshk-i7>
Date: Wed, 24 Aug 2022 11:34:36 +0530
From: Viresh Kumar <viresh.kumar@...aro.org>
To: Rob Herring <robh@...nel.org>
Cc: Ilia Lin <ilia.lin@...nel.org>, Viresh Kumar <vireshk@...nel.org>,
Nishanth Menon <nm@...com>, Stephen Boyd <sboyd@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Niklas Cassel <nks@...wful.org>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] dt-bindings: opp: Add missing
(unevaluated|additional)Properties on child nodes
On 23-08-22, 09:56, Rob Herring wrote:
> In order to ensure only documented properties are present, node schemas
> must have unevaluatedProperties or additionalProperties set to false
> (typically).
>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml | 1 +
> Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml b/Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml
> index 59663e897dae..a202b6c6561d 100644
> --- a/Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml
> +++ b/Documentation/devicetree/bindings/opp/opp-v2-kryo-cpu.yaml
> @@ -40,6 +40,7 @@ properties:
> patternProperties:
> '^opp-?[0-9]+$':
> type: object
> + additionalProperties: false
>
> properties:
> opp-hz: true
> diff --git a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml
> index 14a7a689ad6d..df8442fb11f0 100644
> --- a/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml
> +++ b/Documentation/devicetree/bindings/opp/opp-v2-qcom-level.yaml
> @@ -19,6 +19,7 @@ properties:
> patternProperties:
> '^opp-?[0-9]+$':
> type: object
> + additionalProperties: false
>
> properties:
> opp-level: true
Applied. Thanks.
--
viresh
Powered by blists - more mailing lists