From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Jessica Zhang <jessica.zhang@oss.qualcomm.com>
Cc: Abhinav Kumar <quic_abhinavk@quicinc.com>,
Dmitry Baryshkov <lumag@kernel.org>, Sean Paul <sean@poorly.run>,
Marijn Suijten <marijn.suijten@somainline.org>,
David Airlie <airlied@gmail.com>,
Simona Vetter <simona@ffwll.ch>,
Maarten Lankhorst <maarten.lankhorst@linux.intel.com>,
Maxime Ripard <mripard@kernel.org>,
Thomas Zimmermann <tzimmermann@suse.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Kuogee Hsieh <quic_khsieh@quicinc.com>,
Abel Vesa <abel.vesa@linaro.org>,
Bjorn Andersson <andersson@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>,
Mahadevan <quic_mahap@quicinc.com>,
Krishna Manikandan <quic_mkrishn@quicinc.com>,
Konrad Dybcio <konradybcio@kernel.org>,
Rob Clark <robin.clark@oss.qualcomm.com>,
Abhinav Kumar <abhinav.kumar@linux.dev>,
Danila Tikhonov <danila@jiaxyga.com>,
cros-qcom-dts-watchers@chromium.org,
Abhinav Kumar <abhinav.kumar@oss.qualcomm.com>,
linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org,
freedreno@lists.freedesktop.org, devicetree@vger.kernel.org,
linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org,
Yongxing Mou <quic_yongmou@quicinc.com>
Subject: Re: [PATCH v3 4/5] dt-bindings: display/msm: add stream pixel clock bindings for MST
Date: Fri, 18 Jul 2025 09:26:34 +0200 [thread overview]
Message-ID: <20250718-enigmatic-grumpy-worm-64fdd0@kuoka> (raw)
In-Reply-To: <20250717-dp_mst_bindings-v3-4-72ce08285703@oss.qualcomm.com>
On Thu, Jul 17, 2025 at 04:28:46PM -0700, Jessica Zhang wrote:
> From: Abhinav Kumar <quic_abhinavk@quicinc.com>
>
> On some chipsets such as qcom,sa8775p-dp, qcom,sm8650-dp and some more,
> the display port controller can support more than one pixel stream
> (multi-stream transport).
>
> These chipsets can support up to 4 stream pixel clocks for display port
> controller. To support MST on these platforms, add the appropriate
> stream pixel clock bindings
>
> Since this mode is not supported on all chipsets, add exception
> rules and min/max items to clearly mark which chipsets support
> only SST mode (single stream) and which ones support MST.
>
> Note: On chipsets that do support MST, the number of streams supported
> can vary between controllers. For example, SA8775P supports 4 MST
> streams on mdss_dp0 but only 2 streams on mdss_dp1.
>
> In addition, many chipsets depend on the "sm8350-dp" compatibility
> string but not all (ex. SM6350) support MST. Because of these reasons,
> the min/maxItem for MST-supported platforms is a range of 5-8.
Then you need to rework if:. Don't use contains for the sm8350-dp, but
list the front compatibles supporting.
>
> Signed-off-by: Abhinav Kumar <quic_abhinavk@quicinc.com>
> Signed-off-by: Jessica Zhang <jessica.zhang@oss.qualcomm.com>
> ---
> .../bindings/display/msm/dp-controller.yaml | 36 +++++++++++++++++++++-
> .../bindings/display/msm/qcom,sa8775p-mdss.yaml | 10 ++++--
> .../bindings/display/msm/qcom,sar2130p-mdss.yaml | 6 ++--
> .../bindings/display/msm/qcom,sc7280-mdss.yaml | 6 ++--
> .../bindings/display/msm/qcom,sm8750-mdss.yaml | 6 ++--
> .../bindings/display/msm/qcom,x1e80100-mdss.yaml | 6 ++--
> 6 files changed, 59 insertions(+), 11 deletions(-)
>
> diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> index d8d94f62c102..2893f097df82 100644
> --- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> +++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
> @@ -58,20 +58,28 @@ properties:
> maxItems: 1
>
> clocks:
> + minItems: 5
> items:
> - description: AHB clock to enable register access
> - description: Display Port AUX clock
> - description: Display Port Link clock
> - description: Link interface clock between DP and PHY
> - - description: Display Port Pixel clock
> + - description: Display Port stream 0 Pixel clock
> + - description: Display Port stream 1 Pixel clock
> + - description: Display Port stream 2 Pixel clock
> + - description: Display Port stream 3 Pixel clock
>
> clock-names:
> + minItems: 5
> items:
> - const: core_iface
> - const: core_aux
> - const: ctrl_link
> - const: ctrl_link_iface
> - const: stream_pixel
> + - const: stream_1_pixel
> + - const: stream_2_pixel
> + - const: stream_3_pixel
>
> phys:
> maxItems: 1
> @@ -173,6 +181,32 @@ allOf:
> required:
> - "#sound-dai-cells"
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + enum:
> + - qcom,sa8775p-dp
> + - qcom,sc7280-dp
> + - qcom,sc8180x-dp
> + - qcom,sc8280xp-dp
> + - qcom,sc8280xp-edp
> + - qcom,sm8150-dp
> + - qcom,sm8350-dp
> + - qcom,sm8650-dp
> + - qcom,x1e80100-dp
> + then:
> + properties:
> + clocks:
> + minItems: 5
> + maxItems: 8
This if is redundant, drop.
> +
> + else:
> + properties:
> + clocks:
> + minItems: 5
> + maxItems: 5
Only this part has an actual effect.
Best regards,
Krzysztof
next prev parent reply other threads:[~2025-07-18 7:26 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-07-17 23:28 [PATCH v3 0/5] dt-bindings: msm/dp: Add support for 4 pixel streams Jessica Zhang
2025-07-17 23:28 ` [PATCH v3 1/5] dt-bindings: Fixup x1e80100 to add DP MST support Jessica Zhang
2025-07-18 6:16 ` Krzysztof Kozlowski
2025-07-18 16:38 ` Jessica Zhang
2025-07-18 9:13 ` Dmitry Baryshkov
2025-07-19 0:16 ` Jessica Zhang
2025-07-19 8:42 ` Dmitry Baryshkov
2025-07-17 23:28 ` [PATCH v3 2/5] dt-bindings: clock: Add SC7280 DISPCC DP pixel 1 clock binding Jessica Zhang
2025-07-17 23:28 ` [PATCH v3 3/5] dt-bindings: display/msm: drop assigned-clock-parents for dp controller Jessica Zhang
2025-07-18 7:32 ` Krzysztof Kozlowski
2025-07-17 23:28 ` [PATCH v3 4/5] dt-bindings: display/msm: add stream pixel clock bindings for MST Jessica Zhang
2025-07-18 7:26 ` Krzysztof Kozlowski [this message]
2025-07-18 9:14 ` Dmitry Baryshkov
2025-07-18 9:16 ` Dmitry Baryshkov
2025-07-24 11:55 ` Dmitry Baryshkov
2025-07-17 23:28 ` [PATCH v3 5/5] arm64: dts: qcom: Add MST pixel streams for displayport Jessica Zhang
2025-07-18 9:20 ` Dmitry Baryshkov
2025-07-18 16:35 ` Jessica Zhang
2025-07-18 9:23 ` Konrad Dybcio
2025-07-18 16:37 ` Jessica Zhang
2025-07-18 9:22 ` [PATCH v3 0/5] dt-bindings: msm/dp: Add support for 4 pixel streams Dmitry Baryshkov
2025-07-18 16:43 ` Jessica Zhang
2025-07-19 9:14 ` [PATCH] dt-bindings: display/msm: dp-controller: allow eDP for X1E8 and SA8775P Dmitry Baryshkov
2025-07-21 14:38 ` Rob Herring (Arm)
2025-07-28 18:29 ` Jessica Zhang
2025-07-28 18:59 ` Dmitry Baryshkov
2025-07-20 0:06 ` [PATCH v3 0/5] dt-bindings: msm/dp: Add support for 4 pixel streams Rob Herring (Arm)
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=20250718-enigmatic-grumpy-worm-64fdd0@kuoka \
--to=krzysztof.kozlowski@linaro.org \
--cc=abel.vesa@linaro.org \
--cc=abhinav.kumar@linux.dev \
--cc=abhinav.kumar@oss.qualcomm.com \
--cc=airlied@gmail.com \
--cc=andersson@kernel.org \
--cc=conor+dt@kernel.org \
--cc=cros-qcom-dts-watchers@chromium.org \
--cc=danila@jiaxyga.com \
--cc=devicetree@vger.kernel.org \
--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-clk@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=mturquette@baylibre.com \
--cc=quic_abhinavk@quicinc.com \
--cc=quic_khsieh@quicinc.com \
--cc=quic_mahap@quicinc.com \
--cc=quic_mkrishn@quicinc.com \
--cc=quic_yongmou@quicinc.com \
--cc=robh@kernel.org \
--cc=robin.clark@oss.qualcomm.com \
--cc=sboyd@kernel.org \
--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;
as well as URLs for NNTP newsgroup(s).