* [PATCH] dt-bindings: display: msm: Fix reg ranges and clocks on Glymur
@ 2026-02-27 14:23 Abel Vesa
2026-02-27 16:57 ` Rob Herring (Arm)
0 siblings, 1 reply; 3+ messages in thread
From: Abel Vesa @ 2026-02-27 14:23 UTC (permalink / raw)
To: Rob Clark, Dmitry Baryshkov, Abhinav Kumar, Jessica Zhang,
Sean Paul, Marijn Suijten, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, David Airlie, Simona Vetter, Rob Herring,
Krzysztof Kozlowski, Conor Dooley, Kuogee Hsieh, Abel Vesa
Cc: Dmitry Baryshkov, Krzysztof Kozlowski, linux-arm-msm, dri-devel,
freedreno, devicetree, linux-kernel, stable, Abel Vesa
The Glymur platform has four DisplayPort controllers. All the
controllers support four streams (MST). However, the first three only
have two streams wired up physically to the display subsystem, while the
fourth controller has only one stream (SST).
So add a dedicated clause for Glymur compatible to enforce reg ranges to
describing all four streams while allowing either one pixel clock, for the
third DP controller, or two pixel clocks, for the rest of them.
Cc: stable@vger.kernel.org # v6.19
Fixes: 8f63bf908213 ("dt-bindings: display: msm: Document the Glymur DiplayPort controller")
Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
---
.../bindings/display/msm/dp-controller.yaml | 21 ++++++++++++++++++++-
1 file changed, 20 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
index ebda78db87a6..02ddfaab5f56 100644
--- a/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
+++ b/Documentation/devicetree/bindings/display/msm/dp-controller.yaml
@@ -253,7 +253,6 @@ allOf:
enum:
# these platforms support 2 streams MST on some interfaces,
# others are SST only
- - qcom,glymur-dp
- qcom,sc8280xp-dp
- qcom,x1e80100-dp
then:
@@ -310,6 +309,26 @@ allOf:
minItems: 6
maxItems: 8
+ - if:
+ properties:
+ compatible:
+ contains:
+ enum:
+ # these platforms support 2 streams MST on some interfaces,
+ # others are SST only, but all controllers have 4 ports
+ - qcom,glymur-dp
+ then:
+ properties:
+ reg:
+ minItems: 9
+ maxItems: 9
+ clocks:
+ minItems: 5
+ maxItems: 6
+ clocks-names:
+ minItems: 5
+ maxItems: 6
+
unevaluatedProperties: false
examples:
---
base-commit: 7c21b660e919698b10efa8bdb120f0f9bc3d3832
change-id: 20260227-glymur-fix-dp-bindings-reg-clocks-704d0ccbeef9
Best regards,
--
Abel Vesa <abel.vesa@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] dt-bindings: display: msm: Fix reg ranges and clocks on Glymur
2026-02-27 14:23 [PATCH] dt-bindings: display: msm: Fix reg ranges and clocks on Glymur Abel Vesa
@ 2026-02-27 16:57 ` Rob Herring (Arm)
2026-02-27 18:34 ` Abel Vesa
0 siblings, 1 reply; 3+ messages in thread
From: Rob Herring (Arm) @ 2026-02-27 16:57 UTC (permalink / raw)
To: Abel Vesa
Cc: David Airlie, devicetree, freedreno, Marijn Suijten,
Krzysztof Kozlowski, stable, linux-kernel, Jessica Zhang,
Kuogee Hsieh, Dmitry Baryshkov, Conor Dooley,
Krzysztof Kozlowski, Maxime Ripard, dri-devel, Dmitry Baryshkov,
Abhinav Kumar, Rob Clark, Abel Vesa, Thomas Zimmermann,
Sean Paul, linux-arm-msm, Simona Vetter, Maarten Lankhorst
On Fri, 27 Feb 2026 16:23:00 +0200, Abel Vesa wrote:
> The Glymur platform has four DisplayPort controllers. All the
> controllers support four streams (MST). However, the first three only
> have two streams wired up physically to the display subsystem, while the
> fourth controller has only one stream (SST).
>
> So add a dedicated clause for Glymur compatible to enforce reg ranges to
> describing all four streams while allowing either one pixel clock, for the
> third DP controller, or two pixel clocks, for the rest of them.
>
> Cc: stable@vger.kernel.org # v6.19
> Fixes: 8f63bf908213 ("dt-bindings: display: msm: Document the Glymur DiplayPort controller")
> Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> ---
> .../bindings/display/msm/dp-controller.yaml | 21 ++++++++++++++++++++-
> 1 file changed, 20 insertions(+), 1 deletion(-)
>
My bot found errors running 'make dt_binding_check' on your patch:
yamllint warnings/errors:
dtschema/dtc warnings/errors:
/builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,glymur-mdss.example.dtb: displayport-controller@ae90000 (qcom,glymur-dp): reg: [[183042048, 512], [183042560, 512], [183043072, 1536], [183046144, 1024], [183047168, 1024]] is too short
from schema $id: http://devicetree.org/schemas/display/msm/dp-controller.yaml
doc reference errors (make refcheckdocs):
See https://patchwork.kernel.org/project/devicetree/patch/20260227-glymur-fix-dp-bindings-reg-clocks-v1-1-99f7b42b43aa@oss.qualcomm.com
The base for the series is generally the latest rc1. A different dependency
should be noted in *this* patch.
If you already ran 'make dt_binding_check' and didn't see the above
error(s), then make sure 'yamllint' is installed and dt-schema is up to
date:
pip3 install dtschema --upgrade
Please check and re-submit after running the above command yourself. Note
that DT_SCHEMA_FILES can be set to your schema file to speed up checking
your schema. However, it must be unset to test all examples with your schema.
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] dt-bindings: display: msm: Fix reg ranges and clocks on Glymur
2026-02-27 16:57 ` Rob Herring (Arm)
@ 2026-02-27 18:34 ` Abel Vesa
0 siblings, 0 replies; 3+ messages in thread
From: Abel Vesa @ 2026-02-27 18:34 UTC (permalink / raw)
To: Rob Herring (Arm)
Cc: David Airlie, devicetree, freedreno, Marijn Suijten,
Krzysztof Kozlowski, stable, linux-kernel, Jessica Zhang,
Kuogee Hsieh, Dmitry Baryshkov, Conor Dooley,
Krzysztof Kozlowski, Maxime Ripard, dri-devel, Dmitry Baryshkov,
Abhinav Kumar, Rob Clark, Abel Vesa, Thomas Zimmermann,
Sean Paul, linux-arm-msm, Simona Vetter, Maarten Lankhorst
On 26-02-27 10:57:25, Rob Herring (Arm) wrote:
>
> On Fri, 27 Feb 2026 16:23:00 +0200, Abel Vesa wrote:
> > The Glymur platform has four DisplayPort controllers. All the
> > controllers support four streams (MST). However, the first three only
> > have two streams wired up physically to the display subsystem, while the
> > fourth controller has only one stream (SST).
> >
> > So add a dedicated clause for Glymur compatible to enforce reg ranges to
> > describing all four streams while allowing either one pixel clock, for the
> > third DP controller, or two pixel clocks, for the rest of them.
> >
> > Cc: stable@vger.kernel.org # v6.19
> > Fixes: 8f63bf908213 ("dt-bindings: display: msm: Document the Glymur DiplayPort controller")
> > Signed-off-by: Abel Vesa <abel.vesa@oss.qualcomm.com>
> > ---
> > .../bindings/display/msm/dp-controller.yaml | 21 ++++++++++++++++++++-
> > 1 file changed, 20 insertions(+), 1 deletion(-)
> >
>
> My bot found errors running 'make dt_binding_check' on your patch:
>
> yamllint warnings/errors:
>
> dtschema/dtc warnings/errors:
> /builds/robherring/dt-review-ci/linux/Documentation/devicetree/bindings/display/msm/qcom,glymur-mdss.example.dtb: displayport-controller@ae90000 (qcom,glymur-dp): reg: [[183042048, 512], [183042560, 512], [183043072, 1536], [183046144, 1024], [183047168, 1024]] is too short
> from schema $id: http://devicetree.org/schemas/display/msm/dp-controller.yaml
Yep, I need to fix the qcom,glymur-mdss.yaml as well. Will do in v2.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-02-27 18:34 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-02-27 14:23 [PATCH] dt-bindings: display: msm: Fix reg ranges and clocks on Glymur Abel Vesa
2026-02-27 16:57 ` Rob Herring (Arm)
2026-02-27 18:34 ` Abel Vesa
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®