Re: [PATCH v2] regulator: dt-bindings: add missing unevaluatedProperties for each regulator

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> Closes: https://git.codelinaro.org/linaro/qcomlt/kernel/-/commit/1c8aeef8a6e84520b77f0c270d99c8bf692c5933
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

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@xxxxxxxxxx>
> 
> 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@xxxxxxxxxx>



[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux