]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
dt-bindings: arm: qcom: separate msm8996pro bindings
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 24 Jul 2022 14:04:15 +0000 (17:04 +0300)
committerBjorn Andersson <andersson@kernel.org>
Mon, 17 Oct 2022 18:55:26 +0000 (13:55 -0500)
Xiaomi Mi 5s Plus (natrium) and Xiaomi Mi Note 2 (scorpio) use
MSM8996Pro rather than plain MSM8996. Describe this in the arm/qcom.yaml
bindings.

Since MSM8996Pro is largely compatible with MSM8996, keep old compatible
too rather than insiting on qcom,msm8996pro only. This allows the code
that doesn't yet know about msm8996pro to continue supporting these
devices.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220724140421.1933004-2-dmitry.baryshkov@linaro.org
Documentation/devicetree/bindings/arm/qcom.yaml

index 1b5ac6b02bc5aeaed4c5cf779e971cad48b517bd..3514cd30718ca1df37fd2fe9269c5c46969f87ca 100644 (file)
@@ -226,8 +226,13 @@ properties:
               - sony,kagura-row
               - sony,keyaki-row
               - xiaomi,gemini
+          - const: qcom,msm8996
+
+      - items:
+          - enum:
               - xiaomi,natrium
               - xiaomi,scorpio
+          - const: qcom,msm8996pro
           - const: qcom,msm8996
 
       - items: