mirror-linux/Documentation/devicetree/bindings/display/bridge/lontium,lt8713sx.yaml

114 lines
2.8 KiB
YAML

# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/bridge/lontium,lt8713sx.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#
title: Lontium LT8713SX Type-C/DP1.4 to Type-C/DP1.4/HDMI2.0/DP++ bridge-hub
maintainers:
- Vishnu Saini <vishnu.saini@oss.qualcomm.com>
description:
The Lontium LT8713SX is a Type-C/DP1.4 to Type-C/DP1.4/HDMI2.0 converter
that integrates one DP input and up to three configurable output interfaces
(DP1.4 / HDMI2.0 / DP++), with SST/MST functionality and audio support.
properties:
compatible:
enum:
- lontium,lt8713sx
reg:
maxItems: 1
vcc-supply:
description: Regulator for 3.3V vcc.
vdd-supply:
description: Regulator for 1.1V vdd.
reset-gpios:
description: GPIO connected to active low RESET pin.
ports:
$ref: /schemas/graph.yaml#/properties/ports
properties:
port@0:
$ref: /schemas/graph.yaml#/properties/port
description:
DP port for DP input from soc to bridge chip
port@1:
$ref: /schemas/graph.yaml#/properties/port
description:
DP port for DP output from bridge
port@2:
$ref: /schemas/graph.yaml#/properties/port
description:
Additional DP port for DP output from bridge
port@3:
$ref: /schemas/graph.yaml#/properties/port
description:
Additional DP port for DP output from bridge
required:
- port@0
required:
- compatible
- reg
- ports
additionalProperties: false
examples:
- |
#include <dt-bindings/gpio/gpio.h>
i2c {
#address-cells = <1>;
#size-cells = <0>;
bridge@4f {
compatible = "lontium,lt8713sx";
reg = <0x4f>;
reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
ports {
#address-cells = <1>;
#size-cells = <0>;
port@0 {
reg = <0>;
lt8713sx_dp_in: endpoint {
remote-endpoint = <&mdss_dp0_out>;
};
};
port@1 {
reg = <1>;
lt8713sx_dp0_out: endpoint {
remote-endpoint = <&dp0_connector_in>;
};
};
port@2 {
reg = <2>;
lt8713sx_dp1_out: endpoint {
remote-endpoint = <&dp1_connector_in>;
};
};
port@3 {
reg = <3>;
lt8713sx_dp2_out: endpoint {
remote-endpoint = <&dp2_connector_in>;
};
};
};
};
};