xref: /linux/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml (revision 0526b56cbc3c489642bd6a5fe4b718dea7ef0ee8)
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/ite,it6505.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: ITE it6505
8
9maintainers:
10  - Allen Chen <allen.chen@ite.com.tw>
11
12description: |
13  The IT6505 is a high-performance DisplayPort 1.1a transmitter,
14  fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications.
15  The IT6505 supports color depth of up to 36 bits (12 bits/color)
16  and ensures robust transmission of high-quality uncompressed video
17  content, along with uncompressed and compressed digital audio content.
18
19  Aside from the various video output formats supported, the IT6505
20  also encodes and transmits up to 8 channels of I2S digital audio,
21  with sampling rate up to 192kHz and sample size up to 24 bits.
22  In addition, an S/PDIF input port takes in compressed audio of up to
23  192kHz frame rate.
24
25  Each IT6505 chip comes preprogrammed with an unique HDCP key,
26  in compliance with the HDCP 1.3 standard so as to provide secure
27  transmission of high-definition content. Users of the IT6505 need not
28  purchase any HDCP keys or ROMs.
29
30properties:
31  compatible:
32    const: ite,it6505
33
34  reg:
35    maxItems: 1
36
37  ovdd-supply:
38    description: I/O voltage
39
40  pwr18-supply:
41    description: core voltage
42
43  interrupts:
44    maxItems: 1
45    description: interrupt specifier of INT pin
46
47  reset-gpios:
48    maxItems: 1
49    description: gpio specifier of RESET pin
50
51  extcon:
52    maxItems: 1
53    description: extcon specifier for the Power Delivery
54
55  ports:
56    $ref: /schemas/graph.yaml#/properties/ports
57
58    properties:
59      port@0:
60        $ref: /schemas/graph.yaml#/$defs/port-base
61        unevaluatedProperties: false
62        description: A port node pointing to DPI host port node
63
64        properties:
65          endpoint:
66            $ref: /schemas/graph.yaml#/$defs/endpoint-base
67            unevaluatedProperties: false
68
69            properties:
70              link-frequencies:
71                minItems: 1
72                maxItems: 1
73                description: Allowed max link frequencies in Hz
74
75      port@1:
76        $ref: /schemas/graph.yaml#/$defs/port-base
77        unevaluatedProperties: false
78        description: Video port for DP output
79
80        properties:
81          endpoint:
82            $ref: /schemas/graph.yaml#/$defs/endpoint-base
83            unevaluatedProperties: false
84
85            properties:
86              data-lanes:
87                minItems: 1
88                uniqueItems: true
89                items:
90                  - enum: [ 0, 1 ]
91                  - const: 1
92                  - const: 2
93                  - const: 3
94
95    required:
96      - port@0
97      - port@1
98
99required:
100  - compatible
101  - ovdd-supply
102  - pwr18-supply
103  - interrupts
104  - reset-gpios
105  - extcon
106  - ports
107
108additionalProperties: false
109
110examples:
111  - |
112    #include <dt-bindings/interrupt-controller/irq.h>
113
114    i2c {
115        #address-cells = <1>;
116        #size-cells = <0>;
117
118        dp-bridge@5c {
119            compatible = "ite,it6505";
120            interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>;
121            reg = <0x5c>;
122            pinctrl-names = "default";
123            pinctrl-0 = <&it6505_pins>;
124            ovdd-supply = <&mt6358_vsim1_reg>;
125            pwr18-supply = <&it6505_pp18_reg>;
126            reset-gpios = <&pio 179 1>;
127            extcon = <&usbc_extcon>;
128
129            ports {
130                #address-cells = <1>;
131                #size-cells = <0>;
132
133                port@0 {
134                    reg = <0>;
135                    it6505_in: endpoint {
136                        remote-endpoint = <&dpi_out>;
137                        link-frequencies = /bits/ 64 <150000000>;
138                    };
139                };
140
141                port@1 {
142                    reg = <1>;
143                    it6505_out: endpoint {
144                        remote-endpoint = <&dp_in>;
145                        data-lanes = <0 1>;
146                    };
147                };
148            };
149        };
150    };
151