brintos

brintos / linux-shallow public Read only

0
0
Text · 4.0 KiB · c4469f4 Raw
157 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/ite,it6505.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ITE it65058 9maintainers:10  - Allen Chen <allen.chen@ite.com.tw>11 12allOf:13  - $ref: /schemas/sound/dai-common.yaml#14 15description: |16  The IT6505 is a high-performance DisplayPort 1.1a transmitter,17  fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications.18  The IT6505 supports color depth of up to 36 bits (12 bits/color)19  and ensures robust transmission of high-quality uncompressed video20  content, along with uncompressed and compressed digital audio content.21 22  Aside from the various video output formats supported, the IT650523  also encodes and transmits up to 8 channels of I2S digital audio,24  with sampling rate up to 192kHz and sample size up to 24 bits.25  In addition, an S/PDIF input port takes in compressed audio of up to26  192kHz frame rate.27 28  Each IT6505 chip comes preprogrammed with an unique HDCP key,29  in compliance with the HDCP 1.3 standard so as to provide secure30  transmission of high-definition content. Users of the IT6505 need not31  purchase any HDCP keys or ROMs.32 33properties:34  compatible:35    const: ite,it650536 37  reg:38    maxItems: 139 40  ovdd-supply:41    description: I/O voltage42 43  pwr18-supply:44    description: core voltage45 46  interrupts:47    maxItems: 148    description: interrupt specifier of INT pin49 50  reset-gpios:51    maxItems: 152    description: gpio specifier of RESET pin53 54  extcon:55    maxItems: 156    description: extcon specifier for the Power Delivery57 58  "#sound-dai-cells":59    const: 060 61  ports:62    $ref: /schemas/graph.yaml#/properties/ports63 64    properties:65      port@0:66        $ref: /schemas/graph.yaml#/$defs/port-base67        unevaluatedProperties: false68        description: A port node pointing to DPI host port node69 70        properties:71          endpoint:72            $ref: /schemas/graph.yaml#/$defs/endpoint-base73            unevaluatedProperties: false74 75            properties:76              link-frequencies:77                minItems: 178                maxItems: 179                description: Allowed max link frequencies in Hz80 81      port@1:82        $ref: /schemas/graph.yaml#/$defs/port-base83        unevaluatedProperties: false84        description: Video port for DP output85 86        properties:87          endpoint:88            $ref: /schemas/graph.yaml#/$defs/endpoint-base89            unevaluatedProperties: false90 91            properties:92              data-lanes:93                minItems: 194                uniqueItems: true95                items:96                  - enum: [ 0, 1 ]97                  - const: 198                  - const: 299                  - const: 3100 101    required:102      - port@0103      - port@1104 105required:106  - compatible107  - ovdd-supply108  - pwr18-supply109  - interrupts110  - reset-gpios111  - extcon112  - ports113 114unevaluatedProperties: false115 116examples:117  - |118    #include <dt-bindings/interrupt-controller/irq.h>119 120    i2c {121        #address-cells = <1>;122        #size-cells = <0>;123 124        dp-bridge@5c {125            compatible = "ite,it6505";126            interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>;127            reg = <0x5c>;128            pinctrl-names = "default";129            pinctrl-0 = <&it6505_pins>;130            ovdd-supply = <&mt6358_vsim1_reg>;131            pwr18-supply = <&it6505_pp18_reg>;132            reset-gpios = <&pio 179 1>;133            extcon = <&usbc_extcon>;134 135            ports {136                #address-cells = <1>;137                #size-cells = <0>;138 139                port@0 {140                    reg = <0>;141                    it6505_in: endpoint {142                        remote-endpoint = <&dpi_out>;143                        link-frequencies = /bits/ 64 <150000000>;144                    };145                };146 147                port@1 {148                    reg = <1>;149                    it6505_out: endpoint {150                        remote-endpoint = <&dp_in>;151                        data-lanes = <0 1>;152                    };153                };154            };155        };156    };157