[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200427065201.GD3559@dell>
Date: Mon, 27 Apr 2020 07:52:01 +0100
From: Lee Jones <lee.jones@...aro.org>
To: Rob Herring <robh@...nel.org>
Cc: devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
Iskren Chernev <iskren.chernev@...il.com>,
Saravanan Sekar <sravanhome@...il.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>
Subject: Re: [PATCH] dt-bindings: Fix erroneous 'additionalProperties'
On Fri, 24 Apr 2020, Rob Herring wrote:
> There's several cases of json-schema 'additionalProperties' at the wrong
> indentation level which has the effect of making them DT properties. This
> is harmless, but let's fix them so a meta-schema check for this can be
> added.
>
> In all the cases, either the 'additionalProperties' was extra or doesn't
> work because there's a $ref to more properties. In the latter case, we
> can use 'unevaluatedProperties' instead.
>
> Reported-by: Iskren Chernev <iskren.chernev@...il.com>
> Cc: Lee Jones <lee.jones@...aro.org>
> Cc: Saravanan Sekar <sravanhome@...il.com>
> Cc: Liam Girdwood <lgirdwood@...il.com>
> Cc: Mark Brown <broonie@...nel.org>
> Signed-off-by: Rob Herring <robh@...nel.org>
> ---
> Documentation/devicetree/bindings/mfd/st,stpmic1.yaml | 2 --
Acked-by: Lee Jones <lee.jones@...aro.org>
> Documentation/devicetree/bindings/regulator/mps,mp5416.yaml | 1 -
> .../devicetree/bindings/regulator/mps,mpq7920.yaml | 3 ++-
> .../bindings/regulator/rohm,bd71828-regulator.yaml | 6 +++++-
> .../bindings/regulator/rohm,bd71837-regulator.yaml | 6 +++++-
> .../bindings/regulator/rohm,bd71847-regulator.yaml | 6 +++++-
> 6 files changed, 17 insertions(+), 7 deletions(-)
--
Lee Jones [李琼斯]
Linaro Services Technical Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
Powered by blists - more mailing lists