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  port:
56    $ref: /schemas/graph.yaml#/properties/port
57    description: A port node pointing to DPI host port node
58
59required:
60  - compatible
61  - ovdd-supply
62  - pwr18-supply
63  - interrupts
64  - reset-gpios
65  - extcon
66
67additionalProperties: false
68
69examples:
70  - |
71    #include <dt-bindings/interrupt-controller/irq.h>
72
73    i2c {
74        #address-cells = <1>;
75        #size-cells = <0>;
76
77        dp-bridge@5c {
78            compatible = "ite,it6505";
79            interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>;
80            reg = <0x5c>;
81            pinctrl-names = "default";
82            pinctrl-0 = <&it6505_pins>;
83            ovdd-supply = <&mt6358_vsim1_reg>;
84            pwr18-supply = <&it6505_pp18_reg>;
85            reset-gpios = <&pio 179 1>;
86            extcon = <&usbc_extcon>;
87
88            port {
89                it6505_in: endpoint {
90                    remote-endpoint = <&dpi_out>;
91                };
92            };
93        };
94    };
95