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 1/3] dt-bindings: arm: qcom: stop describing individual boards
Date: Sat, 23 Jul 2022 12:09:40 +0300 [thread overview]
Message-ID: <20220723090942.1637676-2-dmitry.baryshkov@linaro.org> (raw)
In-Reply-To: <20220723090942.1637676-1-dmitry.baryshkov@linaro.org>
Describing each compatible board in DT schema seems wrong to me. It
means that each new board is incompatible by default, until added to the
DT schema. If any of the vendors for whatever reasons tries to validate
their new device's DT, they will be stuck with it being incompatible
with arm/qcom.yaml until the file is expanded to include such devices.
Rework simple cases by dropping individual board compatible strings and
replacing them with the empty schema.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
---
.../devicetree/bindings/arm/qcom.yaml | 203 ++++--------------
1 file changed, 39 insertions(+), 164 deletions(-)
diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index fb1d00bcc847..d4d945a43178 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -107,60 +107,39 @@ properties:
compatible:
oneOf:
- items:
- - enum:
- - qcom,apq8016-sbc
+ - {}
- const: qcom,apq8016
- items:
- - enum:
- - asus,sparrow
- - lg,lenok
+ - {}
- const: qcom,apq8026
- items:
- - enum:
- - asus,nexus7-flo
- - lg,nexus4-mako
- - sony,xperia-yuga
- - qcom,apq8064-cm-qs600
- - qcom,apq8064-ifc6410
+ - {}
- const: qcom,apq8064
- items:
- - enum:
- - qcom,apq8074-dragonboard
+ - {}
- const: qcom,apq8074
- items:
- - enum:
- - qcom,apq8060-dragonboard
- - qcom,msm8660-surf
+ - {}
- const: qcom,msm8660
- items:
- - enum:
- - qcom,apq8084-mtp
- - qcom,apq8084-sbc
+ - {}
- const: qcom,apq8084
- items:
- - enum:
- - samsung,s3ve3g
+ - {}
- const: qcom,msm8226
- items:
- - enum:
- - qcom,msm8960-cdp
+ - {}
- const: qcom,msm8960
- items:
- - enum:
- - fairphone,fp2
- - lge,hammerhead
- - samsung,klte
- - sony,xperia-amami
- - sony,xperia-castor
- - sony,xperia-honami
+ - {}
- const: qcom,msm8974
- items:
@@ -169,16 +148,7 @@ properties:
- const: qcom,msm8916
- items:
- - enum:
- - alcatel,idol347
- - asus,z00l
- - huawei,g7
- - longcheer,l8910
- - samsung,a3u-eur
- - samsung,a5u-eur
- - samsung,j5
- - samsung,serranove
- - wingtech,wt88047
+ - {}
- const: qcom,msm8916
- items:
@@ -187,26 +157,15 @@ properties:
- const: qcom,msm8916
- items:
- - enum:
- - lg,bullhead
- - microsoft,talkman
- - xiaomi,libra
+ - {}
- const: qcom,msm8992
- items:
- - enum:
- - sony,karin_windy
+ - {}
- const: qcom,apq8094
- items:
- - enum:
- - huawei,angler
- - microsoft,cityman
- - sony,ivy-row
- - sony,karin-row
- - sony,satsuki-row
- - sony,sumire-row
- - sony,suzuran-row
+ - {}
- const: qcom,msm8994
- items:
@@ -217,49 +176,23 @@ properties:
- const: qcom,apq8096
- items:
- - enum:
- - qcom,msm8996-mtp
- - sony,dora-row
- - sony,kagura-row
- - sony,keyaki-row
- - xiaomi,gemini
- - xiaomi,natrium
- - xiaomi,scorpio
+ - {}
- const: qcom,msm8996
- items:
- - enum:
- - asus,novago-tp370ql
- - fxtec,pro1
- - hp,envy-x2
- - lenovo,miix-630
- - oneplus,cheeseburger
- - oneplus,dumpling
- - qcom,msm8998-mtp
- - sony,xperia-lilac
- - sony,xperia-maple
- - sony,xperia-poplar
+ - {}
- const: qcom,msm8998
- items:
- - enum:
- - qcom,ipq4019-ap-dk01.1-c1
- - qcom,ipq4019-ap-dk04.1-c3
- - qcom,ipq4019-ap-dk07.1-c1
- - qcom,ipq4019-ap-dk07.1-c2
- - qcom,ipq4019-dk04.1-c1
+ - {}
- const: qcom,ipq4019
- items:
- - enum:
- - qcom,ipq8064-ap148
+ - {}
- const: qcom,ipq8064
- items:
- - enum:
- - qcom,ipq8074-hk01
- - qcom,ipq8074-hk10-c1
- - qcom,ipq8074-hk10-c2
+ - {}
- const: qcom,ipq8074
- description: Qualcomm Technologies, Inc. SC7180 IDP
@@ -576,146 +509,88 @@ properties:
- const: qcom,sc7280
- items:
- - enum:
- - lenovo,flex-5g
- - microsoft,surface-prox
- - qcom,sc8180x-primus
+ - {}
- const: qcom,sc8180x
- items:
- - enum:
- - lenovo,thinkpad-x13s
- - qcom,sc8280xp-crd
- - qcom,sc8280xp-qrd
+ - {}
- const: qcom,sc8280xp
- items:
- - enum:
- - sony,discovery-row
- - sony,kirin-row
- - sony,pioneer-row
- - sony,voyager-row
+ - {}
- const: qcom,sdm630
- items:
- - enum:
- - inforce,ifc6560
+ - {}
- const: qcom,sda660
- items:
- - enum:
- - fairphone,fp3
+ - {}
- const: qcom,sdm632
- items:
- - enum:
- - sony,mermaid-row
+ - {}
- const: qcom,sdm636
- items:
- - enum:
- - xiaomi,lavender
+ - {}
- const: qcom,sdm660
- items:
- - enum:
- - qcom,sdx55-mtp
- - qcom,sdx55-telit-fn980-tlb
- - qcom,sdx55-t55
+ - {}
- const: qcom,sdx55
- items:
- - enum:
- - qcom,sdx65-mtp
+ - {}
- const: qcom,sdx65
- items:
- - enum:
- - qcom,ipq6018-cp01
- - qcom,ipq6018-cp01-c1
+ - {}
- const: qcom,ipq6018
- items:
- - enum:
- - qcom,qcs404-evb-1000
- - qcom,qcs404-evb-4000
+ - {}
- const: qcom,qcs404-evb
- const: qcom,qcs404
- items:
- - enum:
- - qcom,sa8155p-adp
+ - {}
- const: qcom,sa8155p
- items:
- - enum:
- - qcom,sa8295p-adp
+ - {}
- const: qcom,sa8540p
- items:
- - enum:
- - lenovo,yoga-c630
- - lg,judyln
- - lg,judyp
- - oneplus,enchilada
- - oneplus,fajita
- - qcom,sdm845-mtp
- - shift,axolotl
- - samsung,w737
- - sony,akari-row
- - sony,akatsuki-row
- - sony,apollo-row
- - thundercomm,db845c
- - xiaomi,beryllium
- - xiaomi,polaris
+ - {}
- const: qcom,sdm845
- items:
- - enum:
- - sony,pdx201
+ - {}
- const: qcom,sm6125
- items:
- - enum:
- - sony,pdx213
+ - {}
- const: qcom,sm6350
- items:
- - enum:
- - fairphone,fp4
+ - {}
- const: qcom,sm7225
- items:
- - enum:
- - microsoft,surface-duo
- - qcom,sm8150-hdk
- - qcom,sm8150-mtp
- - sony,bahamut-generic
- - sony,griffin-generic
+ - {}
- const: qcom,sm8150
- items:
- - enum:
- - qcom,qrb5165-rb5
- - qcom,sm8250-hdk
- - qcom,sm8250-mtp
- - sony,pdx203-generic
- - sony,pdx206-generic
+ - {}
- const: qcom,sm8250
- items:
- - enum:
- - microsoft,surface-duo2
- - qcom,sm8350-hdk
- - qcom,sm8350-mtp
- - sony,pdx214-generic
- - sony,pdx215-generic
+ - {}
- const: qcom,sm8350
- items:
- - enum:
- - qcom,sm8450-hdk
- - qcom,sm8450-qrd
+ - {}
- const: qcom,sm8450
additionalProperties: true
--
2.35.1
next prev 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 ` Dmitry Baryshkov [this message]
2022-07-23 17:49 ` [PATCH 1/3] dt-bindings: arm: qcom: stop describing individual boards Krzysztof Kozlowski
2022-07-23 9:09 ` [PATCH 2/3] dt-bindings: arm: qcom: merge simple platform definitions Dmitry Baryshkov
2022-07-23 17:50 ` 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-2-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).