xref: /linux/Documentation/devicetree/bindings/display/bridge/ite,it6505.yaml (revision db5d28c0bfe566908719bec8e25443aabecbb802)
15e6ed29dSallen# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25e6ed29dSallen%YAML 1.2
35e6ed29dSallen---
45e6ed29dSallen$id: http://devicetree.org/schemas/display/bridge/ite,it6505.yaml#
55e6ed29dSallen$schema: http://devicetree.org/meta-schemas/core.yaml#
65e6ed29dSallen
7a612130cSKrzysztof Kozlowskititle: ITE it6505
85e6ed29dSallen
95e6ed29dSallenmaintainers:
105e6ed29dSallen  - Allen Chen <allen.chen@ite.com.tw>
115e6ed29dSallen
12*325af1beSChen-Yu TsaiallOf:
13*325af1beSChen-Yu Tsai  - $ref: /schemas/sound/dai-common.yaml#
14*325af1beSChen-Yu Tsai
155e6ed29dSallendescription: |
165e6ed29dSallen  The IT6505 is a high-performance DisplayPort 1.1a transmitter,
175e6ed29dSallen  fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications.
185e6ed29dSallen  The IT6505 supports color depth of up to 36 bits (12 bits/color)
195e6ed29dSallen  and ensures robust transmission of high-quality uncompressed video
205e6ed29dSallen  content, along with uncompressed and compressed digital audio content.
215e6ed29dSallen
225e6ed29dSallen  Aside from the various video output formats supported, the IT6505
235e6ed29dSallen  also encodes and transmits up to 8 channels of I2S digital audio,
245e6ed29dSallen  with sampling rate up to 192kHz and sample size up to 24 bits.
255e6ed29dSallen  In addition, an S/PDIF input port takes in compressed audio of up to
265e6ed29dSallen  192kHz frame rate.
275e6ed29dSallen
285e6ed29dSallen  Each IT6505 chip comes preprogrammed with an unique HDCP key,
295e6ed29dSallen  in compliance with the HDCP 1.3 standard so as to provide secure
305e6ed29dSallen  transmission of high-definition content. Users of the IT6505 need not
315e6ed29dSallen  purchase any HDCP keys or ROMs.
325e6ed29dSallen
335e6ed29dSallenproperties:
345e6ed29dSallen  compatible:
355e6ed29dSallen    const: ite,it6505
365e6ed29dSallen
375be478f9SRob Herring  reg:
385be478f9SRob Herring    maxItems: 1
395be478f9SRob Herring
405e6ed29dSallen  ovdd-supply:
415e6ed29dSallen    description: I/O voltage
425e6ed29dSallen
435e6ed29dSallen  pwr18-supply:
445e6ed29dSallen    description: core voltage
455e6ed29dSallen
465e6ed29dSallen  interrupts:
475e6ed29dSallen    maxItems: 1
485e6ed29dSallen    description: interrupt specifier of INT pin
495e6ed29dSallen
505e6ed29dSallen  reset-gpios:
515e6ed29dSallen    maxItems: 1
525e6ed29dSallen    description: gpio specifier of RESET pin
535e6ed29dSallen
545e6ed29dSallen  extcon:
555e6ed29dSallen    maxItems: 1
565e6ed29dSallen    description: extcon specifier for the Power Delivery
575e6ed29dSallen
58*325af1beSChen-Yu Tsai  "#sound-dai-cells":
59*325af1beSChen-Yu Tsai    const: 0
60*325af1beSChen-Yu Tsai
61bc809594Sallen chen  ports:
62bc809594Sallen chen    $ref: /schemas/graph.yaml#/properties/ports
63bc809594Sallen chen
64bc809594Sallen chen    properties:
65bc809594Sallen chen      port@0:
66bc809594Sallen chen        $ref: /schemas/graph.yaml#/$defs/port-base
67bc809594Sallen chen        unevaluatedProperties: false
685e6ed29dSallen        description: A port node pointing to DPI host port node
695e6ed29dSallen
70bc809594Sallen chen        properties:
71bc809594Sallen chen          endpoint:
72bc809594Sallen chen            $ref: /schemas/graph.yaml#/$defs/endpoint-base
73bc809594Sallen chen            unevaluatedProperties: false
74bc809594Sallen chen
75bc809594Sallen chen            properties:
76bc809594Sallen chen              link-frequencies:
77bc809594Sallen chen                minItems: 1
78bc809594Sallen chen                maxItems: 1
79bc809594Sallen chen                description: Allowed max link frequencies in Hz
80bc809594Sallen chen
81bc809594Sallen chen      port@1:
82bc809594Sallen chen        $ref: /schemas/graph.yaml#/$defs/port-base
83bc809594Sallen chen        unevaluatedProperties: false
84bc809594Sallen chen        description: Video port for DP output
85bc809594Sallen chen
86bc809594Sallen chen        properties:
87bc809594Sallen chen          endpoint:
88bc809594Sallen chen            $ref: /schemas/graph.yaml#/$defs/endpoint-base
89bc809594Sallen chen            unevaluatedProperties: false
90bc809594Sallen chen
91bc809594Sallen chen            properties:
92bc809594Sallen chen              data-lanes:
93bc809594Sallen chen                minItems: 1
94bc809594Sallen chen                uniqueItems: true
95bc809594Sallen chen                items:
96bc809594Sallen chen                  - enum: [ 0, 1 ]
97bc809594Sallen chen                  - const: 1
98bc809594Sallen chen                  - const: 2
99bc809594Sallen chen                  - const: 3
100bc809594Sallen chen
101bc809594Sallen chen    required:
102bc809594Sallen chen      - port@0
103bc809594Sallen chen      - port@1
104bc809594Sallen chen
1055e6ed29dSallenrequired:
1065e6ed29dSallen  - compatible
1075e6ed29dSallen  - ovdd-supply
1085e6ed29dSallen  - pwr18-supply
1095e6ed29dSallen  - interrupts
1105e6ed29dSallen  - reset-gpios
1115e6ed29dSallen  - extcon
112bc809594Sallen chen  - ports
1135e6ed29dSallen
114*325af1beSChen-Yu TsaiunevaluatedProperties: false
1155be478f9SRob Herring
1165e6ed29dSallenexamples:
1175e6ed29dSallen  - |
1185e6ed29dSallen    #include <dt-bindings/interrupt-controller/irq.h>
1195e6ed29dSallen
1205e6ed29dSallen    i2c {
1215e6ed29dSallen        #address-cells = <1>;
1225e6ed29dSallen        #size-cells = <0>;
1235e6ed29dSallen
1245e6ed29dSallen        dp-bridge@5c {
1255e6ed29dSallen            compatible = "ite,it6505";
1265e6ed29dSallen            interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>;
1275e6ed29dSallen            reg = <0x5c>;
1285e6ed29dSallen            pinctrl-names = "default";
1295e6ed29dSallen            pinctrl-0 = <&it6505_pins>;
1305e6ed29dSallen            ovdd-supply = <&mt6358_vsim1_reg>;
1315e6ed29dSallen            pwr18-supply = <&it6505_pp18_reg>;
1325e6ed29dSallen            reset-gpios = <&pio 179 1>;
1335e6ed29dSallen            extcon = <&usbc_extcon>;
1345e6ed29dSallen
135bc809594Sallen chen            ports {
136bc809594Sallen chen                #address-cells = <1>;
137bc809594Sallen chen                #size-cells = <0>;
138bc809594Sallen chen
139bc809594Sallen chen                port@0 {
140bc809594Sallen chen                    reg = <0>;
1415e6ed29dSallen                    it6505_in: endpoint {
1425e6ed29dSallen                        remote-endpoint = <&dpi_out>;
143bc809594Sallen chen                        link-frequencies = /bits/ 64 <150000000>;
144bc809594Sallen chen                    };
145bc809594Sallen chen                };
146bc809594Sallen chen
147bc809594Sallen chen                port@1 {
148bc809594Sallen chen                    reg = <1>;
149bc809594Sallen chen                    it6505_out: endpoint {
150bc809594Sallen chen                        remote-endpoint = <&dp_in>;
151bc809594Sallen chen                        data-lanes = <0 1>;
152bc809594Sallen chen                    };
1535e6ed29dSallen                };
1545e6ed29dSallen            };
1555e6ed29dSallen        };
1565e6ed29dSallen    };
157