* [PATCH] dt-bindings: dp-connector: describe separate DP and AUX lines
@ 2025-09-06 21:48 Dmitry Baryshkov
2025-09-09 17:22 ` Rob Herring (Arm)
0 siblings, 1 reply; 2+ messages in thread
From: Dmitry Baryshkov @ 2025-09-06 21:48 UTC (permalink / raw)
To: David Airlie, Simona Vetter, Maarten Lankhorst, Maxime Ripard,
Thomas Zimmermann, Rob Herring, Krzysztof Kozlowski, Conor Dooley,
Tomi Valkeinen
Cc: dri-devel, devicetree, linux-kernel
In some cases it's reasonable to describe DP lanes and AUX signal lines
separately in the DT. One of the typical reasons is if the source of DP
signals can support either USB-C or DP connections. In such a case the
transmitter of DP signals have separate ports: one for SS lanes and
another one for SBU / AUX signals.
Instead of leaving AUX signals from the controller unconnected, add an
option to the DT schema to AUX signal lines separately from the main
link lanes.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
---
.../bindings/display/connector/dp-connector.yaml | 52 +++++++++++++++++++++-
1 file changed, 51 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/display/connector/dp-connector.yaml b/Documentation/devicetree/bindings/display/connector/dp-connector.yaml
index 22792a79e7ce5177113f17ab472048c220dbb3c3..1f2b449dc9102c34ad015bbe7beae0d67a2df5c5 100644
--- a/Documentation/devicetree/bindings/display/connector/dp-connector.yaml
+++ b/Documentation/devicetree/bindings/display/connector/dp-connector.yaml
@@ -31,10 +31,32 @@ properties:
$ref: /schemas/graph.yaml#/properties/port
description: Connection to controller providing DP signals
+ ports:
+ $ref: /schemas/graph.yaml#/properties/ports
+ description: OF graph representation of signales routed to DP connector
+
+ properties:
+ port@0:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: Connection to controller providing DP signals
+
+ port@1:
+ $ref: /schemas/graph.yaml#/properties/port
+ description: Connection to controller providing AUX signals
+
+ required:
+ - port@0
+ - port@1
+
required:
- compatible
- type
- - port
+
+oneOf:
+ - required:
+ - port
+ - required:
+ - ports
additionalProperties: false
@@ -52,4 +74,32 @@ examples:
};
};
+ - |
+ /* DP connecttor being driven by the USB+DP combo PHY */
+ connector {
+ compatible = "dp-connector";
+ label = "dp0";
+ type = "full-size";
+
+ ports {
+ #address-cells = <1>;
+ #size-cells = <0>;
+
+ port@0 {
+ reg = <0>;
+
+ endpoint {
+ remote-endpoint = <&phy_ss_out>;
+ };
+ };
+
+ port@1 {
+ reg = <1>;
+
+ endpoint {
+ remote-endpoint = <&phy_sbu_out>;
+ };
+ };
+ };
+ };
...
---
base-commit: 8cd53fb40a304576fa86ba985f3045d5c55b0ae3
change-id: 20250907-dp-conenctor-sbu-3ecd5023765c
Best regards,
--
With best wishes
Dmitry
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] dt-bindings: dp-connector: describe separate DP and AUX lines
2025-09-06 21:48 [PATCH] dt-bindings: dp-connector: describe separate DP and AUX lines Dmitry Baryshkov
@ 2025-09-09 17:22 ` Rob Herring (Arm)
0 siblings, 0 replies; 2+ messages in thread
From: Rob Herring (Arm) @ 2025-09-09 17:22 UTC (permalink / raw)
To: Dmitry Baryshkov
Cc: Maxime Ripard, David Airlie, linux-kernel, Thomas Zimmermann,
dri-devel, devicetree, Krzysztof Kozlowski, Tomi Valkeinen,
Conor Dooley, Maarten Lankhorst, Simona Vetter
On Sun, 07 Sep 2025 00:48:52 +0300, Dmitry Baryshkov wrote:
> In some cases it's reasonable to describe DP lanes and AUX signal lines
> separately in the DT. One of the typical reasons is if the source of DP
> signals can support either USB-C or DP connections. In such a case the
> transmitter of DP signals have separate ports: one for SS lanes and
> another one for SBU / AUX signals.
>
> Instead of leaving AUX signals from the controller unconnected, add an
> option to the DT schema to AUX signal lines separately from the main
> link lanes.
>
> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
> ---
> .../bindings/display/connector/dp-connector.yaml | 52 +++++++++++++++++++++-
> 1 file changed, 51 insertions(+), 1 deletion(-)
>
Applied, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-09-09 17:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-09-06 21:48 [PATCH] dt-bindings: dp-connector: describe separate DP and AUX lines Dmitry Baryshkov
2025-09-09 17:22 ` Rob Herring (Arm)
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).