Re: [PATCH v11 2/6] dt-bindings: display/msm: dp-controller: document QCS8300 compatible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 9/4/2025 9:43 PM, Dmitry Baryshkov wrote:
On Thu, Sep 04, 2025 at 03:22:37PM +0800, Yongxing Mou wrote:
Add compatible string for the DisplayPort controller found on the
Qualcomm QCS8300 SoC.

The Qualcomm QCS8300 platform comes with one DisplayPort controller
that supports 4 MST streams.

Signed-off-by: Yongxing Mou <yongxing.mou@xxxxxxxxxxxxxxxx>
---
  .../bindings/display/msm/dp-controller.yaml        | 22 ++++++++++++++++++++++
  1 file changed, 22 insertions(+)

diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
index aeb4e4f36044a0ff1e78ad47b867e232b21df509..ad08fd11588c45698f7e63ecc3218a749fc8ca67 100644
--- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
@@ -18,6 +18,7 @@ properties:
    compatible:
      oneOf:
        - enum:
+          - qcom,qcs8300-dp

Can we use fallback to qcom,sa8775p-dp instead of declaring a completely
new one?

I think we can not use fallback to sa8775p, since we don't have DP1 controller for QCS8300. SA8775P actually have 4 DP controllers (now only 2 really used). So in the hardware, i think it is different with SA8775P and we need a new one.>> - qcom,sa8775p-dp
            - qcom,sc7180-dp
            - qcom,sc7280-dp
@@ -195,6 +196,7 @@ allOf:
            compatible:
              contains:
                enum:
+                - qcom,qcs8300-dp
                  - qcom,sa8775p-dp
                  - qcom,x1e80100-dp
        then:
@@ -295,6 +297,26 @@ allOf:
            minItems: 6
            maxItems: 8
+ - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              # QCS8300 only has one DP controller that supports 4
+              # streams MST.
+              - qcom,qcs8300-dp
+    then:
+      properties:
+        reg:
+          minItems: 9
+          maxItems: 9
+        clocks:
+          minItems: 8
+          maxItems: 8
+        clocks-names:
+          minItems: 8
+          maxItems: 8
+
  additionalProperties: false
examples:

--
2.34.1







[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [Linux for Sparc]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux