diff mbox series

[06/18] dt-bindings: arm: qcom: Document alcatel,idol347 board

Message ID 20210308060826.3074234-7-vkoul@kernel.org
State Accepted
Commit e9dd2f7204edbc8ae6842f87a187ade04e381809
Headers show
Series arm64: qcom: fix dtbs_check warning | expand

Commit Message

Vinod Koul March 8, 2021, 6:08 a.m. UTC
Document the alcatel,idol347 board. It was missing leading to warning:

arch/arm64/boot/dts/qcom/msm8916-alcatel-idol347.dt.yaml: /: compatible: 'oneOf' conditional failed, one must be fixed:
        Additional items are not allowed ('qcom,msm8916' was unexpected)

Signed-off-by: Vinod Koul <vkoul@kernel.org>

---
 Documentation/devicetree/bindings/arm/qcom.yaml | 2 ++
 1 file changed, 2 insertions(+)

-- 
2.26.2

Comments

Konrad Dybcio March 10, 2021, 1:42 p.m. UTC | #1
> @@ -125,6 +125,8 @@ properties:

>            - const: qcom,msm8974

>  

>        - items:

> +          - enum:

> +              - alcatel,idol347

>            - const: qcom,msm8916-mtp/1

>            - const: qcom,msm8916-mtp

>            - const: qcom,msm8916

>


qcom,msm8916-mtp/1 and -mtp are separate boards and therefore should probably also go into the enum.


Konrad
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index dc87238d411b..7d97246dc379 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -125,6 +125,8 @@  properties:
           - const: qcom,msm8974
 
       - items:
+          - enum:
+              - alcatel,idol347
           - const: qcom,msm8916-mtp/1
           - const: qcom,msm8916-mtp
           - const: qcom,msm8916