1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/ite,it6505.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: ITE it6505 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10c66ec88fSEmmanuel Vadot - Allen Chen <allen.chen@ite.com.tw> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot The IT6505 is a high-performance DisplayPort 1.1a transmitter, 14c66ec88fSEmmanuel Vadot fully compliant with DisplayPort 1.1a, HDCP 1.3 specifications. 15c66ec88fSEmmanuel Vadot The IT6505 supports color depth of up to 36 bits (12 bits/color) 16c66ec88fSEmmanuel Vadot and ensures robust transmission of high-quality uncompressed video 17c66ec88fSEmmanuel Vadot content, along with uncompressed and compressed digital audio content. 18c66ec88fSEmmanuel Vadot 19c66ec88fSEmmanuel Vadot Aside from the various video output formats supported, the IT6505 20c66ec88fSEmmanuel Vadot also encodes and transmits up to 8 channels of I2S digital audio, 21c66ec88fSEmmanuel Vadot with sampling rate up to 192kHz and sample size up to 24 bits. 22c66ec88fSEmmanuel Vadot In addition, an S/PDIF input port takes in compressed audio of up to 23c66ec88fSEmmanuel Vadot 192kHz frame rate. 24c66ec88fSEmmanuel Vadot 25c66ec88fSEmmanuel Vadot Each IT6505 chip comes preprogrammed with an unique HDCP key, 26c66ec88fSEmmanuel Vadot in compliance with the HDCP 1.3 standard so as to provide secure 27c66ec88fSEmmanuel Vadot transmission of high-definition content. Users of the IT6505 need not 28c66ec88fSEmmanuel Vadot purchase any HDCP keys or ROMs. 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadotproperties: 31c66ec88fSEmmanuel Vadot compatible: 32c66ec88fSEmmanuel Vadot const: ite,it6505 33c66ec88fSEmmanuel Vadot 346be33864SEmmanuel Vadot reg: 356be33864SEmmanuel Vadot maxItems: 1 366be33864SEmmanuel Vadot 37c66ec88fSEmmanuel Vadot ovdd-supply: 38c66ec88fSEmmanuel Vadot description: I/O voltage 39c66ec88fSEmmanuel Vadot 40c66ec88fSEmmanuel Vadot pwr18-supply: 41c66ec88fSEmmanuel Vadot description: core voltage 42c66ec88fSEmmanuel Vadot 43c66ec88fSEmmanuel Vadot interrupts: 44c66ec88fSEmmanuel Vadot maxItems: 1 45c66ec88fSEmmanuel Vadot description: interrupt specifier of INT pin 46c66ec88fSEmmanuel Vadot 47c66ec88fSEmmanuel Vadot reset-gpios: 48c66ec88fSEmmanuel Vadot maxItems: 1 49c66ec88fSEmmanuel Vadot description: gpio specifier of RESET pin 50c66ec88fSEmmanuel Vadot 51c66ec88fSEmmanuel Vadot extcon: 52c66ec88fSEmmanuel Vadot maxItems: 1 53c66ec88fSEmmanuel Vadot description: extcon specifier for the Power Delivery 54c66ec88fSEmmanuel Vadot 55*cb7aa33aSEmmanuel Vadot ports: 56*cb7aa33aSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 57*cb7aa33aSEmmanuel Vadot 58*cb7aa33aSEmmanuel Vadot properties: 59*cb7aa33aSEmmanuel Vadot port@0: 60*cb7aa33aSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/port-base 61*cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 62c66ec88fSEmmanuel Vadot description: A port node pointing to DPI host port node 63c66ec88fSEmmanuel Vadot 64*cb7aa33aSEmmanuel Vadot properties: 65*cb7aa33aSEmmanuel Vadot endpoint: 66*cb7aa33aSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/endpoint-base 67*cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 68*cb7aa33aSEmmanuel Vadot 69*cb7aa33aSEmmanuel Vadot properties: 70*cb7aa33aSEmmanuel Vadot link-frequencies: 71*cb7aa33aSEmmanuel Vadot minItems: 1 72*cb7aa33aSEmmanuel Vadot maxItems: 1 73*cb7aa33aSEmmanuel Vadot description: Allowed max link frequencies in Hz 74*cb7aa33aSEmmanuel Vadot 75*cb7aa33aSEmmanuel Vadot port@1: 76*cb7aa33aSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/port-base 77*cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 78*cb7aa33aSEmmanuel Vadot description: Video port for DP output 79*cb7aa33aSEmmanuel Vadot 80*cb7aa33aSEmmanuel Vadot properties: 81*cb7aa33aSEmmanuel Vadot endpoint: 82*cb7aa33aSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/endpoint-base 83*cb7aa33aSEmmanuel Vadot unevaluatedProperties: false 84*cb7aa33aSEmmanuel Vadot 85*cb7aa33aSEmmanuel Vadot properties: 86*cb7aa33aSEmmanuel Vadot data-lanes: 87*cb7aa33aSEmmanuel Vadot minItems: 1 88*cb7aa33aSEmmanuel Vadot uniqueItems: true 89*cb7aa33aSEmmanuel Vadot items: 90*cb7aa33aSEmmanuel Vadot - enum: [ 0, 1 ] 91*cb7aa33aSEmmanuel Vadot - const: 1 92*cb7aa33aSEmmanuel Vadot - const: 2 93*cb7aa33aSEmmanuel Vadot - const: 3 94*cb7aa33aSEmmanuel Vadot 95*cb7aa33aSEmmanuel Vadot required: 96*cb7aa33aSEmmanuel Vadot - port@0 97*cb7aa33aSEmmanuel Vadot - port@1 98*cb7aa33aSEmmanuel Vadot 99c66ec88fSEmmanuel Vadotrequired: 100c66ec88fSEmmanuel Vadot - compatible 101c66ec88fSEmmanuel Vadot - ovdd-supply 102c66ec88fSEmmanuel Vadot - pwr18-supply 103c66ec88fSEmmanuel Vadot - interrupts 104c66ec88fSEmmanuel Vadot - reset-gpios 105c66ec88fSEmmanuel Vadot - extcon 106*cb7aa33aSEmmanuel Vadot - ports 107c66ec88fSEmmanuel Vadot 1086be33864SEmmanuel VadotadditionalProperties: false 1096be33864SEmmanuel Vadot 110c66ec88fSEmmanuel Vadotexamples: 111c66ec88fSEmmanuel Vadot - | 112c66ec88fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 113c66ec88fSEmmanuel Vadot 114c66ec88fSEmmanuel Vadot i2c { 115c66ec88fSEmmanuel Vadot #address-cells = <1>; 116c66ec88fSEmmanuel Vadot #size-cells = <0>; 117c66ec88fSEmmanuel Vadot 118c66ec88fSEmmanuel Vadot dp-bridge@5c { 119c66ec88fSEmmanuel Vadot compatible = "ite,it6505"; 120c66ec88fSEmmanuel Vadot interrupts = <152 IRQ_TYPE_EDGE_FALLING 152 0>; 121c66ec88fSEmmanuel Vadot reg = <0x5c>; 122c66ec88fSEmmanuel Vadot pinctrl-names = "default"; 123c66ec88fSEmmanuel Vadot pinctrl-0 = <&it6505_pins>; 124c66ec88fSEmmanuel Vadot ovdd-supply = <&mt6358_vsim1_reg>; 125c66ec88fSEmmanuel Vadot pwr18-supply = <&it6505_pp18_reg>; 126c66ec88fSEmmanuel Vadot reset-gpios = <&pio 179 1>; 127c66ec88fSEmmanuel Vadot extcon = <&usbc_extcon>; 128c66ec88fSEmmanuel Vadot 129*cb7aa33aSEmmanuel Vadot ports { 130*cb7aa33aSEmmanuel Vadot #address-cells = <1>; 131*cb7aa33aSEmmanuel Vadot #size-cells = <0>; 132*cb7aa33aSEmmanuel Vadot 133*cb7aa33aSEmmanuel Vadot port@0 { 134*cb7aa33aSEmmanuel Vadot reg = <0>; 135c66ec88fSEmmanuel Vadot it6505_in: endpoint { 136c66ec88fSEmmanuel Vadot remote-endpoint = <&dpi_out>; 137*cb7aa33aSEmmanuel Vadot link-frequencies = /bits/ 64 <150000000>; 138*cb7aa33aSEmmanuel Vadot }; 139*cb7aa33aSEmmanuel Vadot }; 140*cb7aa33aSEmmanuel Vadot 141*cb7aa33aSEmmanuel Vadot port@1 { 142*cb7aa33aSEmmanuel Vadot reg = <1>; 143*cb7aa33aSEmmanuel Vadot it6505_out: endpoint { 144*cb7aa33aSEmmanuel Vadot remote-endpoint = <&dp_in>; 145*cb7aa33aSEmmanuel Vadot data-lanes = <0 1>; 146*cb7aa33aSEmmanuel Vadot }; 147c66ec88fSEmmanuel Vadot }; 148c66ec88fSEmmanuel Vadot }; 149c66ec88fSEmmanuel Vadot }; 150c66ec88fSEmmanuel Vadot }; 151