15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/ite,it66121.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 78bab661aSEmmanuel Vadottitle: ITE it66121 HDMI bridge 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotmaintainers: 105956d97fSEmmanuel Vadot - Phong LE <ple@baylibre.com> 11b97ee269SEmmanuel Vadot - Neil Armstrong <neil.armstrong@linaro.org> 125956d97fSEmmanuel Vadot 135956d97fSEmmanuel Vadotdescription: | 145956d97fSEmmanuel Vadot The IT66121 is a high-performance and low-power single channel HDMI 155956d97fSEmmanuel Vadot transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible 165956d97fSEmmanuel Vadot to DVI 1.0 specifications. 175956d97fSEmmanuel Vadot 185956d97fSEmmanuel Vadotproperties: 195956d97fSEmmanuel Vadot compatible: 20*cb7aa33aSEmmanuel Vadot enum: 21*cb7aa33aSEmmanuel Vadot - ite,it66121 22*cb7aa33aSEmmanuel Vadot - ite,it6610 235956d97fSEmmanuel Vadot 245956d97fSEmmanuel Vadot reg: 255956d97fSEmmanuel Vadot maxItems: 1 265956d97fSEmmanuel Vadot 275956d97fSEmmanuel Vadot reset-gpios: 285956d97fSEmmanuel Vadot maxItems: 1 295956d97fSEmmanuel Vadot description: GPIO connected to active low reset 305956d97fSEmmanuel Vadot 315956d97fSEmmanuel Vadot vrf12-supply: 325956d97fSEmmanuel Vadot description: Regulator for 1.2V analog core power. 335956d97fSEmmanuel Vadot 345956d97fSEmmanuel Vadot vcn33-supply: 355956d97fSEmmanuel Vadot description: Regulator for 3.3V digital core power. 365956d97fSEmmanuel Vadot 375956d97fSEmmanuel Vadot vcn18-supply: 385956d97fSEmmanuel Vadot description: Regulator for 1.8V IO core power. 395956d97fSEmmanuel Vadot 405956d97fSEmmanuel Vadot interrupts: 415956d97fSEmmanuel Vadot maxItems: 1 425956d97fSEmmanuel Vadot 43d5b0e70fSEmmanuel Vadot "#sound-dai-cells": 44d5b0e70fSEmmanuel Vadot const: 0 45d5b0e70fSEmmanuel Vadot 465956d97fSEmmanuel Vadot ports: 475956d97fSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/ports 485956d97fSEmmanuel Vadot 495956d97fSEmmanuel Vadot properties: 505956d97fSEmmanuel Vadot port@0: 515956d97fSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/port-base 525956d97fSEmmanuel Vadot unevaluatedProperties: false 535956d97fSEmmanuel Vadot description: DPI input port. 545956d97fSEmmanuel Vadot 555956d97fSEmmanuel Vadot properties: 565956d97fSEmmanuel Vadot endpoint: 575956d97fSEmmanuel Vadot $ref: /schemas/graph.yaml#/$defs/endpoint-base 585956d97fSEmmanuel Vadot unevaluatedProperties: false 595956d97fSEmmanuel Vadot 605956d97fSEmmanuel Vadot properties: 615956d97fSEmmanuel Vadot bus-width: 625956d97fSEmmanuel Vadot description: 635956d97fSEmmanuel Vadot Endpoint bus width. 645956d97fSEmmanuel Vadot enum: 655956d97fSEmmanuel Vadot - 12 # 12 data lines connected and dual-edge mode 665956d97fSEmmanuel Vadot - 24 # 24 data lines connected and single-edge mode 675956d97fSEmmanuel Vadot default: 24 685956d97fSEmmanuel Vadot 695956d97fSEmmanuel Vadot port@1: 705956d97fSEmmanuel Vadot $ref: /schemas/graph.yaml#/properties/port 715956d97fSEmmanuel Vadot description: HDMI Connector port. 725956d97fSEmmanuel Vadot 735956d97fSEmmanuel Vadot required: 745956d97fSEmmanuel Vadot - port@0 755956d97fSEmmanuel Vadot - port@1 765956d97fSEmmanuel Vadot 775956d97fSEmmanuel Vadotrequired: 785956d97fSEmmanuel Vadot - compatible 795956d97fSEmmanuel Vadot - reg 805956d97fSEmmanuel Vadot - reset-gpios 815956d97fSEmmanuel Vadot - vrf12-supply 825956d97fSEmmanuel Vadot - vcn33-supply 835956d97fSEmmanuel Vadot - vcn18-supply 845956d97fSEmmanuel Vadot - interrupts 855956d97fSEmmanuel Vadot - ports 865956d97fSEmmanuel Vadot 875956d97fSEmmanuel VadotadditionalProperties: false 885956d97fSEmmanuel Vadot 895956d97fSEmmanuel Vadotexamples: 905956d97fSEmmanuel Vadot - | 915956d97fSEmmanuel Vadot #include <dt-bindings/interrupt-controller/irq.h> 925956d97fSEmmanuel Vadot #include <dt-bindings/gpio/gpio.h> 935956d97fSEmmanuel Vadot i2c { 945956d97fSEmmanuel Vadot #address-cells = <1>; 955956d97fSEmmanuel Vadot #size-cells = <0>; 965956d97fSEmmanuel Vadot 975956d97fSEmmanuel Vadot it66121hdmitx: hdmitx@4c { 985956d97fSEmmanuel Vadot compatible = "ite,it66121"; 995956d97fSEmmanuel Vadot pinctrl-names = "default"; 1005956d97fSEmmanuel Vadot pinctrl-0 = <&ite_pins_default>; 1015956d97fSEmmanuel Vadot vcn33-supply = <&mt6358_vcn33_wifi_reg>; 1025956d97fSEmmanuel Vadot vcn18-supply = <&mt6358_vcn18_reg>; 1035956d97fSEmmanuel Vadot vrf12-supply = <&mt6358_vrf12_reg>; 1045956d97fSEmmanuel Vadot reset-gpios = <&pio 160 GPIO_ACTIVE_LOW>; 1055956d97fSEmmanuel Vadot interrupt-parent = <&pio>; 1065956d97fSEmmanuel Vadot interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 1075956d97fSEmmanuel Vadot reg = <0x4c>; 1085956d97fSEmmanuel Vadot 1095956d97fSEmmanuel Vadot ports { 1105956d97fSEmmanuel Vadot #address-cells = <1>; 1115956d97fSEmmanuel Vadot #size-cells = <0>; 1125956d97fSEmmanuel Vadot 1135956d97fSEmmanuel Vadot port@0 { 1145956d97fSEmmanuel Vadot reg = <0>; 1155956d97fSEmmanuel Vadot it66121_in: endpoint { 1165956d97fSEmmanuel Vadot bus-width = <12>; 1175956d97fSEmmanuel Vadot remote-endpoint = <&display_out>; 1185956d97fSEmmanuel Vadot }; 1195956d97fSEmmanuel Vadot }; 1205956d97fSEmmanuel Vadot 1215956d97fSEmmanuel Vadot port@1 { 1225956d97fSEmmanuel Vadot reg = <1>; 1235956d97fSEmmanuel Vadot hdmi_conn_out: endpoint { 1245956d97fSEmmanuel Vadot remote-endpoint = <&hdmi_conn_in>; 1255956d97fSEmmanuel Vadot }; 1265956d97fSEmmanuel Vadot }; 1275956d97fSEmmanuel Vadot }; 1285956d97fSEmmanuel Vadot }; 1295956d97fSEmmanuel Vadot }; 130