mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 15:02:40 -04:00
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> Link: https://lore.kernel.org/r/20250907-dp-conenctor-sbu-v1-1-de79c0fcd64d@oss.qualcomm.com Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
106 lines
2.1 KiB
YAML
106 lines
2.1 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/display/connector/dp-connector.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: DisplayPort Connector
|
|
|
|
maintainers:
|
|
- Tomi Valkeinen <tomi.valkeinen@ti.com>
|
|
|
|
properties:
|
|
compatible:
|
|
const: dp-connector
|
|
|
|
label: true
|
|
|
|
type:
|
|
enum:
|
|
- full-size
|
|
- mini
|
|
|
|
hpd-gpios:
|
|
description: A GPIO line connected to HPD
|
|
maxItems: 1
|
|
|
|
dp-pwr-supply:
|
|
description: Power supply for the DP_PWR pin
|
|
|
|
port:
|
|
$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
|
|
|
|
oneOf:
|
|
- required:
|
|
- port
|
|
- required:
|
|
- ports
|
|
|
|
additionalProperties: false
|
|
|
|
examples:
|
|
- |
|
|
connector {
|
|
compatible = "dp-connector";
|
|
label = "dp0";
|
|
type = "full-size";
|
|
|
|
port {
|
|
dp_connector_in: endpoint {
|
|
remote-endpoint = <&dp_out>;
|
|
};
|
|
};
|
|
};
|
|
|
|
- |
|
|
/* 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>;
|
|
};
|
|
};
|
|
};
|
|
};
|
|
...
|