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 Device Tree Bindings
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    maxItems: 1
39    description: I/O voltage
40
41  pwr18-supply:
42    maxItems: 1
43    description: core voltage
44
45  interrupts:
46    maxItems: 1
47    description: interrupt specifier of INT pin
48
49  reset-gpios:
50    maxItems: 1
51    description: gpio specifier of RESET pin
52
53  extcon:
54    maxItems: 1
55    description: extcon specifier for the Power Delivery
56
57  port:
58    type: object
59    description: A port node pointing to DPI host port node
60
61required:
62  - compatible
63  - ovdd-supply
64  - pwr18-supply
65  - interrupts
66  - reset-gpios
67  - extcon
68
69additionalProperties: false
70
71examples:
72  - |
73    #include <dt-bindings/interrupt-controller/irq.h>
74
75    i2c {
76        #address-cells = <1>;
77        #size-cells = <0>;
78
79        dp-bridge@5c {
80            compatible = "ite,it6505";
81            interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>;
82            reg = <0x5c>;
83            pinctrl-names = "default";
84            pinctrl-0 = <&it6505_pins>;
85            ovdd-supply = <&mt6358_vsim1_reg>;
86            pwr18-supply = <&it6505_pp18_reg>;
87            reset-gpios = <&pio 179 1>;
88            extcon = <&usbc_extcon>;
89
90            port {
91                it6505_in: endpoint {
92                    remote-endpoint = <&dpi_out>;
93                };
94            };
95        };
96    };
97