xref: /linux/Documentation/devicetree/bindings/display/bridge/lontium,lt8713sx.yaml (revision 0fc8f6200d2313278fbf4539bbab74677c685531)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/bridge/lontium,lt8713sx.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Lontium LT8713SX Type-C/DP1.4 to Type-C/DP1.4/HDMI2.0/DP++ bridge-hub
8
9maintainers:
10  - Vishnu Saini <vishnu.saini@oss.qualcomm.com>
11
12description:
13  The Lontium LT8713SX is a Type-C/DP1.4 to Type-C/DP1.4/HDMI2.0 converter
14  that integrates one DP input and up to three configurable output interfaces
15  (DP1.4 / HDMI2.0 / DP++), with SST/MST functionality and audio support.
16
17properties:
18  compatible:
19    enum:
20      - lontium,lt8713sx
21
22  reg:
23    maxItems: 1
24
25  vcc-supply:
26    description: Regulator for 3.3V vcc.
27
28  vdd-supply:
29    description: Regulator for 1.1V vdd.
30
31  reset-gpios:
32    description: GPIO connected to active low RESET pin.
33
34  ports:
35    $ref: /schemas/graph.yaml#/properties/ports
36
37    properties:
38      port@0:
39        $ref: /schemas/graph.yaml#/properties/port
40        description:
41          DP port for DP input from soc to bridge chip
42
43      port@1:
44        $ref: /schemas/graph.yaml#/properties/port
45        description:
46          DP port for DP output from bridge
47
48      port@2:
49        $ref: /schemas/graph.yaml#/properties/port
50        description:
51          Additional DP port for DP output from bridge
52
53      port@3:
54        $ref: /schemas/graph.yaml#/properties/port
55        description:
56          Additional DP port for DP output from bridge
57
58    required:
59      - port@0
60
61required:
62  - compatible
63  - reg
64  - ports
65
66additionalProperties: false
67
68examples:
69  - |
70    #include <dt-bindings/gpio/gpio.h>
71
72    i2c {
73        #address-cells = <1>;
74        #size-cells = <0>;
75        bridge@4f {
76            compatible = "lontium,lt8713sx";
77            reg = <0x4f>;
78            reset-gpios = <&tlmm 6 GPIO_ACTIVE_LOW>;
79
80            ports {
81                #address-cells = <1>;
82                #size-cells = <0>;
83
84                port@0 {
85                    reg = <0>;
86                    lt8713sx_dp_in: endpoint {
87                        remote-endpoint = <&mdss_dp0_out>;
88                    };
89                };
90
91                port@1 {
92                    reg = <1>;
93                    lt8713sx_dp0_out: endpoint {
94                        remote-endpoint = <&dp0_connector_in>;
95                    };
96                };
97
98                port@2 {
99                    reg = <2>;
100                    lt8713sx_dp1_out: endpoint {
101                        remote-endpoint = <&dp1_connector_in>;
102                    };
103                };
104
105                port@3 {
106                    reg = <3>;
107                    lt8713sx_dp2_out: endpoint {
108                        remote-endpoint = <&dp2_connector_in>;
109                    };
110                };
111            };
112        };
113    };
114