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 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 video 20 content, along with uncompressed and compressed digital audio content. 21 22 Aside from the various video output formats supported, the IT6505 23 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 to 26 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 secure 30 transmission of high-definition content. Users of the IT6505 need not 31 purchase any HDCP keys or ROMs. 32 33properties: 34 compatible: 35 const: ite,it6505 36 37 reg: 38 maxItems: 1 39 40 ovdd-supply: 41 description: I/O voltage 42 43 pwr18-supply: 44 description: core voltage 45 46 interrupts: 47 maxItems: 1 48 description: interrupt specifier of INT pin 49 50 reset-gpios: 51 maxItems: 1 52 description: gpio specifier of RESET pin 53 54 extcon: 55 maxItems: 1 56 description: extcon specifier for the Power Delivery 57 58 "#sound-dai-cells": 59 const: 0 60 61 ports: 62 $ref: /schemas/graph.yaml#/properties/ports 63 64 properties: 65 port@0: 66 $ref: /schemas/graph.yaml#/$defs/port-base 67 unevaluatedProperties: false 68 description: A port node pointing to DPI host port node 69 70 properties: 71 endpoint: 72 $ref: /schemas/graph.yaml#/$defs/endpoint-base 73 unevaluatedProperties: false 74 75 properties: 76 link-frequencies: 77 minItems: 1 78 maxItems: 1 79 description: Allowed max link frequencies in Hz 80 81 port@1: 82 $ref: /schemas/graph.yaml#/$defs/port-base 83 unevaluatedProperties: false 84 description: Video port for DP output 85 86 properties: 87 endpoint: 88 $ref: /schemas/graph.yaml#/$defs/endpoint-base 89 unevaluatedProperties: false 90 91 properties: 92 data-lanes: 93 minItems: 1 94 uniqueItems: true 95 items: 96 - enum: [ 0, 1 ] 97 - const: 1 98 - const: 2 99 - const: 3 100 101 required: 102 - port@0 103 - port@1 104 105required: 106 - compatible 107 - ovdd-supply 108 - pwr18-supply 109 - interrupts 110 - reset-gpios 111 - extcon 112 - ports 113 114unevaluatedProperties: false 115 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