[PATCH] dt-bindings: mmc: sdhci-msm: Fix 'operating-points-v2 was unexpected' issue

Bhupesh Sharma posted 1 patch 3 years, 8 months ago
Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 2 ++
1 file changed, 2 insertions(+)
[PATCH] dt-bindings: mmc: sdhci-msm: Fix 'operating-points-v2 was unexpected' issue
Posted by Bhupesh Sharma 3 years, 8 months ago
As Rob reported in [1], there is one more issue present
in the 'sdhci-msm' dt-binding which shows up when a fix for
'unevaluatedProperties' handling is applied:

 Documentation/devicetree/bindings/mmc/sdhci-msm.example.dtb:
  mmc@8804000: Unevaluated properties are not allowed
   ('operating-points-v2' was unexpected)

Fix the same.

[1]. https://lore.kernel.org/lkml/20220514220116.1008254-1-bhupesh.sharma@linaro.org/

Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
Cc: Rob Herring <robh@kernel.org>
Cc: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
---
 - Rebased on linux-next/master.

 Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
index b00578ae1dea..fc0e81c2066c 100644
--- a/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
+++ b/Documentation/devicetree/bindings/mmc/sdhci-msm.yaml
@@ -137,6 +137,8 @@ properties:
 
   max-frequency: true
 
+  operating-points-v2: true
+
 patternProperties:
   '^opp-table(-[a-z0-9]+)?$':
     if:
-- 
2.35.3
Re: [PATCH] dt-bindings: mmc: sdhci-msm: Fix 'operating-points-v2 was unexpected' issue
Posted by Rob Herring 3 years, 8 months ago
On Tue, 26 Jul 2022 01:57:09 +0530, Bhupesh Sharma wrote:
> As Rob reported in [1], there is one more issue present
> in the 'sdhci-msm' dt-binding which shows up when a fix for
> 'unevaluatedProperties' handling is applied:
> 
>  Documentation/devicetree/bindings/mmc/sdhci-msm.example.dtb:
>   mmc@8804000: Unevaluated properties are not allowed
>    ('operating-points-v2' was unexpected)
> 
> Fix the same.
> 
> [1]. https://lore.kernel.org/lkml/20220514220116.1008254-1-bhupesh.sharma@linaro.org/
> 
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
> ---
>  - Rebased on linux-next/master.
> 
>  Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

I picked this one up so it can be fixed for rc1.

Rob
Re: [PATCH] dt-bindings: mmc: sdhci-msm: Fix 'operating-points-v2 was unexpected' issue
Posted by Rob Herring 3 years, 8 months ago
On Tue, 26 Jul 2022 01:57:09 +0530, Bhupesh Sharma wrote:
> As Rob reported in [1], there is one more issue present
> in the 'sdhci-msm' dt-binding which shows up when a fix for
> 'unevaluatedProperties' handling is applied:
> 
>  Documentation/devicetree/bindings/mmc/sdhci-msm.example.dtb:
>   mmc@8804000: Unevaluated properties are not allowed
>    ('operating-points-v2' was unexpected)
> 
> Fix the same.
> 
> [1]. https://lore.kernel.org/lkml/20220514220116.1008254-1-bhupesh.sharma@linaro.org/
> 
> Cc: Bjorn Andersson <bjorn.andersson@linaro.org>
> Cc: Rob Herring <robh@kernel.org>
> Cc: Ulf Hansson <ulf.hansson@linaro.org>
> Signed-off-by: Bhupesh Sharma <bhupesh.sharma@linaro.org>
> ---
>  - Rebased on linux-next/master.
> 
>  Documentation/devicetree/bindings/mmc/sdhci-msm.yaml | 2 ++
>  1 file changed, 2 insertions(+)
> 

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