diff mbox series

[1/7] dt-bindings: arm: qcom: separate msm8996pro bindings

Message ID 20220724140421.1933004-2-dmitry.baryshkov@linaro.org
State Accepted
Commit 358ef0c03e7ce62ab197af02e91b843b92ef4717
Headers show
Series arm64: dts: qcom: msm8996: fixes for CPU and GPU OPP tables | expand

Commit Message

Dmitry Baryshkov July 24, 2022, 2:04 p.m. UTC
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>
---
 Documentation/devicetree/bindings/arm/qcom.yaml | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Krzysztof Kozlowski July 26, 2022, 11:09 a.m. UTC | #1
On 24/07/2022 16:04, Dmitry Baryshkov wrote:
> 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>


Best regards,
Krzysztof
diff mbox series

Patch

diff --git a/Documentation/devicetree/bindings/arm/qcom.yaml b/Documentation/devicetree/bindings/arm/qcom.yaml
index fb1d00bcc847..3892aedd9215 100644
--- a/Documentation/devicetree/bindings/arm/qcom.yaml
+++ b/Documentation/devicetree/bindings/arm/qcom.yaml
@@ -223,8 +223,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: