devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
To: Andy Gross <agross@kernel.org>,
	Bjorn Andersson <bjorn.andersson@linaro.org>,
	Konrad Dybcio <konrad.dybcio@somainline.org>,
	Rob Herring <robh+dt@kernel.org>,
	Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>
Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org,
	Doug Anderson <dianders@chromium.org>
Subject: [PATCH 2/3] dt-bindings: arm: qcom: merge simple platform definitions
Date: Sat, 23 Jul 2022 12:09:41 +0300	[thread overview]
Message-ID: <20220723090942.1637676-3-dmitry.baryshkov@linaro.org> (raw)
In-Reply-To: <20220723090942.1637676-1-dmitry.baryshkov@linaro.org>

Merge most existing Qualcomm platform definitions, which consist of
empty schema plus single SoC string.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
 .../devicetree/bindings/arm/qcom.yaml         | 188 ++++--------------
 1 file changed, 39 insertions(+), 149 deletions(-)

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index d4d945a43178..809d3de18194 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -108,66 +108,56 @@ properties:
     oneOf:
       - items:
           - {}
-          - const: qcom,apq8016
-
-      - items:
-          - {}
-          - const: qcom,apq8026
-
-      - items:
-          - {}
-          - const: qcom,apq8064
-
-      - items:
-          - {}
-          - const: qcom,apq8074
-
-      - items:
-          - {}
-          - const: qcom,msm8660
-
-      - items:
-          - {}
-          - const: qcom,apq8084
-
-      - items:
-          - {}
-          - const: qcom,msm8226
-
-      - items:
-          - {}
-          - const: qcom,msm8960
-
-      - items:
-          - {}
-          - const: qcom,msm8974
+          - enum:
+              - qcom,apq8016
+              - qcom,apq8026
+              - qcom,apq8064
+              - qcom,apq8074
+              - qcom,apq8084
+              - qcom,apq8094
+              - qcom,ipq4019
+              - qcom,ipq6018
+              - qcom,ipq8064
+              - qcom,ipq8074
+              - qcom,msm8226
+              - qcom,msm8660
+              - qcom,msm8916
+              - qcom,msm8960
+              - qcom,msm8974
+              - qcom,msm8992
+              - qcom,msm8994
+              - qcom,msm8996
+              - qcom,msm8998
+              - qcom,sa8155p
+              - qcom,sa8540p
+              - qcom,sc8180x
+              - qcom,sc8280xp
+              - qcom,sda660
+              - qcom,sdm630
+              - qcom,sdm632
+              - qcom,sdm636
+              - qcom,sdm660
+              - qcom,sdm845
+              - qcom,sdx55
+              - qcom,sdx65
+              - qcom,sm6125
+              - qcom,sm6350
+              - qcom,sm7225
+              - qcom,sm8150
+              - qcom,sm8250
+              - qcom,sm8350
+              - qcom,sm8450
 
       - items:
           - const: qcom,msm8916-mtp
           - const: qcom,msm8916-mtp/1
           - const: qcom,msm8916
 
-      - items:
-          - {}
-          - const: qcom,msm8916
-
       - items:
           - const: longcheer,l8150
           - const: qcom,msm8916-v1-qrd/9-v1
           - const: qcom,msm8916
 
-      - items:
-          - {}
-          - const: qcom,msm8992
-
-      - items:
-          - {}
-          - const: qcom,apq8094
-
-      - items:
-          - {}
-          - const: qcom,msm8994
-
       - items:
           - enum:
               - arrow,apq8096-db820c
@@ -175,26 +165,6 @@ properties:
           - const: qcom,apq8096-sbc
           - const: qcom,apq8096
 
-      - items:
-          - {}
-          - const: qcom,msm8996
-
-      - items:
-          - {}
-          - const: qcom,msm8998
-
-      - items:
-          - {}
-          - const: qcom,ipq4019
-
-      - items:
-          - {}
-          - const: qcom,ipq8064
-
-      - items:
-          - {}
-          - const: qcom,ipq8074
-
       - description: Qualcomm Technologies, Inc. SC7180 IDP
         items:
           - enum:
@@ -508,91 +478,11 @@ properties:
           - const: google,villager
           - const: qcom,sc7280
 
-      - items:
-          - {}
-          - const: qcom,sc8180x
-
-      - items:
-          - {}
-          - const: qcom,sc8280xp
-
-      - items:
-          - {}
-          - const: qcom,sdm630
-
-      - items:
-          - {}
-          - const: qcom,sda660
-
-      - items:
-          - {}
-          - const: qcom,sdm632
-
-      - items:
-          - {}
-          - const: qcom,sdm636
-
-      - items:
-          - {}
-          - const: qcom,sdm660
-
-      - items:
-          - {}
-          - const: qcom,sdx55
-
-      - items:
-          - {}
-          - const: qcom,sdx65
-
-      - items:
-          - {}
-          - const: qcom,ipq6018
-
       - items:
           - {}
           - const: qcom,qcs404-evb
           - const: qcom,qcs404
 
-      - items:
-          - {}
-          - const: qcom,sa8155p
-
-      - items:
-          - {}
-          - const: qcom,sa8540p
-
-      - items:
-          - {}
-          - const: qcom,sdm845
-
-      - items:
-          - {}
-          - const: qcom,sm6125
-
-      - items:
-          - {}
-          - const: qcom,sm6350
-
-      - items:
-          - {}
-          - const: qcom,sm7225
-
-      - items:
-          - {}
-          - const: qcom,sm8150
-
-      - items:
-          - {}
-          - const: qcom,sm8250
-
-      - items:
-          - {}
-          - const: qcom,sm8350
-
-      - items:
-          - {}
-          - const: qcom,sm8450
-
 additionalProperties: true
 
 ...
-- 
2.35.1


  parent reply	other threads:[~2022-07-23  9:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-23  9:09 [PATCH 0/3] dt-bindings: arm: qcom: define schema, not devices Dmitry Baryshkov
2022-07-23  9:09 ` [PATCH 1/3] dt-bindings: arm: qcom: stop describing individual boards Dmitry Baryshkov
2022-07-23 17:49   ` Krzysztof Kozlowski
2022-07-23  9:09 ` Dmitry Baryshkov [this message]
2022-07-23 17:50   ` [PATCH 2/3] dt-bindings: arm: qcom: merge simple platform definitions Krzysztof Kozlowski
2022-07-23  9:09 ` [PATCH 3/3] dt-bindings: arm: qcom: drop individual descriptions of Google devices Dmitry Baryshkov
2022-07-23 17:51   ` Krzysztof Kozlowski
2022-07-23 17:48 ` [PATCH 0/3] dt-bindings: arm: qcom: define schema, not devices Krzysztof Kozlowski
2022-07-23 22:50   ` Dmitry Baryshkov
2022-07-25 16:18     ` Krzysztof Kozlowski
2022-07-25 17:13       ` Dmitry Baryshkov
2022-07-25 17:25         ` Krzysztof Kozlowski
2022-07-25 16:25     ` Doug Anderson
2022-07-25 16:41       ` Krzysztof Kozlowski
2022-07-25 16:54         ` Doug Anderson
2022-07-25 17:07           ` Krzysztof Kozlowski
2022-07-25 17:09             ` Doug Anderson
2022-07-25 17:14               ` Krzysztof Kozlowski
2022-07-25 17:22                 ` Doug Anderson
2022-07-25 17:29                   ` Krzysztof Kozlowski
2022-07-25 17:35                     ` Doug Anderson
2022-07-25 16:56         ` Krzysztof Kozlowski
2022-07-25 17:30     ` Rob Herring

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220723090942.1637676-3-dmitry.baryshkov@linaro.org \
    --to=dmitry.baryshkov@linaro.org \
    --cc=agross@kernel.org \
    --cc=bjorn.andersson@linaro.org \
    --cc=devicetree@vger.kernel.org \
    --cc=dianders@chromium.org \
    --cc=konrad.dybcio@somainline.org \
    --cc=krzysztof.kozlowski+dt@linaro.org \
    --cc=linux-arm-msm@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).