From: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
To: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Cc: Rob Clark <robin.clark@oss.qualcomm.com>,
Dmitry Baryshkov <lumag@kernel.org>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Jessica Zhang <jessica.zhang@oss.qualcomm.com>,
Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
David Airlie <airlied@gmail.com>, Simona Vetter <simona@ffwll.ch>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Neil Armstrong <neil.armstrong@linaro.org>,
Kuogee Hsieh <quic_khsieh@quicinc.com>,
Bjorn Andersson <andersson@kernel.org>,
Konrad Dybcio <konradybcio@kernel.org>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH v8 2/6] dt-bindings: display/msm: dp-controller: document QCS8300 compatible
Date: Fri, 22 Aug 2025 11:06:58 +0800 [thread overview]
Message-ID: <b86a1759-e49f-48b1-833d-fdc37b450f5e@oss.qualcomm.com> (raw)
In-Reply-To: <3ws6xfmmrnjybn4umbbnzjdksqberzuxslz6uxpabtsz2yzyss@jwblshilyx4p>
On 2025/8/21 18:28, Dmitry Baryshkov wrote:
> On Thu, Aug 21, 2025 at 11:35:57AM +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
>> with same base offset as SM8650. It requires new compatible string
>> because QCS8300 controller supports 4 MST streams. And 4 MST streams
>> support will be enabled as part of MST feature support. Currently, using
>> SM8650 data structure to enable SST on QCS8300 in the driver.
>
> Bindings describe the hardware. There is no point in discussing the
> driver here.
>
Thanks for point it.. "The Qualcomm QCS8300 platform comes with one
DisplayPort controller that supports 4 MST streams", do you think this
description will more appropriate?, only discusses the DP controller,
not referencing the driver or SM8650..
>>
>> Signed-off-by: Yongxing Mou <yongxing.mou@oss.qualcomm.com>
>> ---
>> Documentation/devicetree/bindings/display/msm/dp-controller.yaml | 5 ++++-
>> 1 file changed, 4 insertions(+), 1 deletion(-)
>>
>> diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
>> index 68a6fd27506fda004e53174db5bcc88a29e8d2a6..ac44abfdd2853393ae199387c9ae2c37e1c48f52 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
>> - qcom,sa8775p-dp
>> - qcom,sc7180-dp
>> - qcom,sc7280-dp
>> @@ -179,6 +180,7 @@ allOf:
>> compatible:
>> contains:
>> enum:
>> + - qcom,qcs8300-dp
>> - qcom,sa8775p-dp
>> - qcom,x1e80100-dp
>> then:
>> @@ -217,8 +219,9 @@ allOf:
>> compatible:
>> contains:
>> enum:
>> - # some of SA8775P DP controllers support 4 streams MST,
>> + # SA8775P DP0 and QCS8300 DP controllers support 4 streams MST,
>> # others just 2 streams MST
>
> QCS8300 has only one DP. As such, it doesn't belong to this clause.
>
Emm,thanks, i got this point. So here need add another clause only work
for QCS8300(one DP controller with 4 streams), and i put codes before
"# Default to 2 streams MST", is this the correct place?
- # Default to 2 streams MST
- properties:
- clocks:
- minItems: 6
- maxItems: 6
+ if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ # QCS8300 only have one DP controllers support 4
streams
+ # MST, no second DP controller.
+ -qcom,qcs8300-dp
+ then:
+ properties:
+ clocks:
+ minItems: 8
+ maxItems: 8
+ else:
+ # Default to 2 streams MST
+ properties:
+ clocks:
+ minItems: 6
+ maxItems: 6
>> + - qcom,qcs8300-dp
>> - qcom,sa8775p-dp
>> then:
>> properties:
>>
>> --
>> 2.34.1
>>
>
next prev parent reply other threads:[~2025-08-22 3:07 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-21 3:35 [PATCH v8 0/6] Display enablement changes for Qualcomm QCS8300 platform Yongxing Mou
2025-08-21 3:35 ` [PATCH v8 1/6] dt-bindings: display/msm: Document the DPU for QCS8300 Yongxing Mou
2025-08-21 3:35 ` [PATCH v8 2/6] dt-bindings: display/msm: dp-controller: document QCS8300 compatible Yongxing Mou
2025-08-21 10:28 ` Dmitry Baryshkov
2025-08-22 3:06 ` Yongxing Mou [this message]
2025-08-22 10:34 ` Dmitry Baryshkov
2025-08-25 2:58 ` Yongxing Mou
2025-08-21 3:35 ` [PATCH v8 3/6] dt-bindings: display/msm: Document MDSS on QCS8300 Yongxing Mou
2025-08-21 3:35 ` [PATCH v8 4/6] soc: qcom: ubwc: Add QCS8300 UBWC cfg Yongxing Mou
2025-08-21 3:36 ` [PATCH v8 5/6] drm/msm: mdss: Add QCS8300 support Yongxing Mou
2025-08-22 10:34 ` Dmitry Baryshkov
2025-10-02 16:23 ` ChaosEsque Team
2025-08-21 3:36 ` [PATCH v8 6/6] drm/msm/dp: Add DisplayPort controller for QCS8300 Yongxing Mou
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=b86a1759-e49f-48b1-833d-fdc37b450f5e@oss.qualcomm.com \
--to=yongxing.mou@oss.qualcomm.com \
--cc=abhinav.kumar@linux.dev \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dmitry.baryshkov@oss.qualcomm.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=freedreno@lists.freedesktop.org \
--cc=jessica.zhang@oss.qualcomm.com \
--cc=konradybcio@kernel.org \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=lumag@kernel.org \
--cc=maarten.lankhorst@linux.intel.com \
--cc=marijn.suijten@somainline.org \
--cc=mripard@kernel.org \
--cc=neil.armstrong@linaro.org \
--cc=quic_khsieh@quicinc.com \
--cc=robh@kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sean@poorly.run \
--cc=simona@ffwll.ch \
--cc=tzimmermann@suse.de \
/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
all inboxes | Powered by JetHome®