]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
dt-bindings: display/msm: add SoC-specific compats to qcom, mdp5.yaml
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Wed, 18 Jan 2023 04:12:34 +0000 (06:12 +0200)
committerDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Fri, 20 Jan 2023 07:44:03 +0000 (09:44 +0200)
Add platform-specific compatible entries to the qcom,mdp5.yaml to allow
distinguishing between various platforms.

Reviewed-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Patchwork: https://patchwork.freedesktop.org/patch/518817/
Link: https://lore.kernel.org/r/20230118041243.1720520-3-dmitry.baryshkov@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Documentation/devicetree/bindings/display/msm/qcom,mdp5.yaml
Documentation/devicetree/bindings/display/msm/qcom,mdss.yaml

index 5e3cd7abf04663aedf45df9741e1fd07ee362146..cb7bf48c3a5870d049fee825e8958da88d879f21 100644 (file)
@@ -16,7 +16,22 @@ maintainers:
 
 properties:
   compatible:
-    const: qcom,mdp5
+    oneOf:
+      - const: qcom,mdp5
+        deprecated: true
+      - items:
+          - enum:
+              - qcom,apq8084-mdp5
+              - qcom,msm8916-mdp5
+              - qcom,msm8917-mdp5
+              - qcom,msm8953-mdp5
+              - qcom,msm8974-mdp5
+              - qcom,msm8976-mdp5
+              - qcom,msm8994-mdp5
+              - qcom,msm8996-mdp5
+              - qcom,sdm630-mdp5
+              - qcom,sdm660-mdp5
+          - const: qcom,mdp5
 
   reg:
     maxItems: 1
index ba0460268731b303fd2e108bb43d30a7a2def4bd..90819272002ba6aad8aad8fb6ec51da02dc23eb5 100644 (file)
@@ -88,7 +88,8 @@ patternProperties:
     type: object
     properties:
       compatible:
-        const: qcom,mdp5
+        contains:
+          const: qcom,mdp5
 
   "^dsi@[1-9a-f][0-9a-f]*$":
     type: object