lkml.org 
[lkml]   [2023]   [Jul]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] regulator: dt-bindings: add missing unevaluatedProperties for each regulator
On Wed, Jul 26, 2023 at 09:49:40AM +0200, Krzysztof Kozlowski wrote:
> Each regulator node, which references common regulator.yaml schema,
> should disallow additional or unevaluated properties. Otherwise
> mistakes in properties will go unnoticed.
>
> Reported-by: Konrad Dybcio <konrad.dybcio@linaro.org>
> Closes: https://git.codelinaro.org/linaro/qcomlt/kernel/-/commit/1c8aeef8a6e84520b77f0c270d99c8bf692c5933
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

Humm, I have a meta-schema to check this and did a pass fixing them, but
seems some of them I missed. I'll have to check the meta-schema (still
some false positives in it, so I haven't committed it)

>
> ---
>
> Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
>
> Changes in v2:
> 1. Rebase, drop patches from work-in-progress branch
> ---
> Documentation/devicetree/bindings/regulator/mps,mp5416.yaml | 2 ++
> Documentation/devicetree/bindings/regulator/mps,mpq7920.yaml | 2 ++
> Documentation/devicetree/bindings/regulator/pfuze100.yaml | 4 ++++
> .../devicetree/bindings/regulator/qcom,rpmh-regulator.yaml | 2 ++
> .../devicetree/bindings/regulator/qcom,smd-rpm-regulator.yaml | 1 +
> .../bindings/regulator/richtek,rt4831-regulator.yaml | 1 +
> .../bindings/regulator/richtek,rtmv20-regulator.yaml | 1 +
> .../bindings/regulator/richtek,rtq6752-regulator.yaml | 1 +
> .../devicetree/bindings/regulator/st,stm32mp1-pwr-reg.yaml | 2 +-
> Documentation/devicetree/bindings/regulator/wlf,arizona.yaml | 2 ++
> 10 files changed, 17 insertions(+), 1 deletion(-)

Reviewed-by: Rob Herring <robh@kernel.org>

\
 
 \ /
  Last update: 2023-07-26 19:34    [W:0.028 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site