diff mbox series

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

Message ID 20220725202709.2861789-1-bhupesh.sharma@linaro.org
State Accepted
Commit 331753ff3292d5ef987ad6106f737853c3a187ba
Headers show
Series dt-bindings: mmc: sdhci-msm: Fix 'operating-points-v2 was unexpected' issue | expand

Commit Message

Bhupesh Sharma July 25, 2022, 8:27 p.m. UTC
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(+)

Comments

Rob Herring (Arm) July 27, 2022, 3:01 p.m. UTC | #1
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>
Rob Herring (Arm) Aug. 9, 2022, 9:19 p.m. UTC | #2
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
diff mbox series

Patch

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: