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