1*b7745a16SPhong LE# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2*b7745a16SPhong LE%YAML 1.2 3*b7745a16SPhong LE--- 4*b7745a16SPhong LE$id: http://devicetree.org/schemas/display/bridge/ite,it66121.yaml# 5*b7745a16SPhong LE$schema: http://devicetree.org/meta-schemas/core.yaml# 6*b7745a16SPhong LE 7*b7745a16SPhong LEtitle: ITE it66121 HDMI bridge Device Tree Bindings 8*b7745a16SPhong LE 9*b7745a16SPhong LEmaintainers: 10*b7745a16SPhong LE - Phong LE <ple@baylibre.com> 11*b7745a16SPhong LE - Neil Armstrong <narmstrong@baylibre.com> 12*b7745a16SPhong LE 13*b7745a16SPhong LEdescription: | 14*b7745a16SPhong LE The IT66121 is a high-performance and low-power single channel HDMI 15*b7745a16SPhong LE transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible 16*b7745a16SPhong LE to DVI 1.0 specifications. 17*b7745a16SPhong LE 18*b7745a16SPhong LEproperties: 19*b7745a16SPhong LE compatible: 20*b7745a16SPhong LE const: ite,it66121 21*b7745a16SPhong LE 22*b7745a16SPhong LE reg: 23*b7745a16SPhong LE maxItems: 1 24*b7745a16SPhong LE 25*b7745a16SPhong LE reset-gpios: 26*b7745a16SPhong LE maxItems: 1 27*b7745a16SPhong LE description: GPIO connected to active low reset 28*b7745a16SPhong LE 29*b7745a16SPhong LE vrf12-supply: 30*b7745a16SPhong LE description: Regulator for 1.2V analog core power. 31*b7745a16SPhong LE 32*b7745a16SPhong LE vcn33-supply: 33*b7745a16SPhong LE description: Regulator for 3.3V digital core power. 34*b7745a16SPhong LE 35*b7745a16SPhong LE vcn18-supply: 36*b7745a16SPhong LE description: Regulator for 1.8V IO core power. 37*b7745a16SPhong LE 38*b7745a16SPhong LE interrupts: 39*b7745a16SPhong LE maxItems: 1 40*b7745a16SPhong LE 41*b7745a16SPhong LE ports: 42*b7745a16SPhong LE $ref: /schemas/graph.yaml#/properties/ports 43*b7745a16SPhong LE 44*b7745a16SPhong LE properties: 45*b7745a16SPhong LE port@0: 46*b7745a16SPhong LE $ref: /schemas/graph.yaml#/$defs/port-base 47*b7745a16SPhong LE unevaluatedProperties: false 48*b7745a16SPhong LE description: DPI input port. 49*b7745a16SPhong LE 50*b7745a16SPhong LE properties: 51*b7745a16SPhong LE endpoint: 52*b7745a16SPhong LE $ref: /schemas/graph.yaml#/$defs/endpoint-base 53*b7745a16SPhong LE unevaluatedProperties: false 54*b7745a16SPhong LE 55*b7745a16SPhong LE properties: 56*b7745a16SPhong LE bus-width: 57*b7745a16SPhong LE description: 58*b7745a16SPhong LE Endpoint bus width. 59*b7745a16SPhong LE enum: 60*b7745a16SPhong LE - 12 # 12 data lines connected and dual-edge mode 61*b7745a16SPhong LE - 24 # 24 data lines connected and single-edge mode 62*b7745a16SPhong LE default: 24 63*b7745a16SPhong LE 64*b7745a16SPhong LE port@1: 65*b7745a16SPhong LE $ref: /schemas/graph.yaml#/properties/port 66*b7745a16SPhong LE description: HDMI Connector port. 67*b7745a16SPhong LE 68*b7745a16SPhong LE required: 69*b7745a16SPhong LE - port@0 70*b7745a16SPhong LE - port@1 71*b7745a16SPhong LE 72*b7745a16SPhong LErequired: 73*b7745a16SPhong LE - compatible 74*b7745a16SPhong LE - reg 75*b7745a16SPhong LE - reset-gpios 76*b7745a16SPhong LE - vrf12-supply 77*b7745a16SPhong LE - vcn33-supply 78*b7745a16SPhong LE - vcn18-supply 79*b7745a16SPhong LE - interrupts 80*b7745a16SPhong LE - ports 81*b7745a16SPhong LE 82*b7745a16SPhong LEadditionalProperties: false 83*b7745a16SPhong LE 84*b7745a16SPhong LEexamples: 85*b7745a16SPhong LE - | 86*b7745a16SPhong LE #include <dt-bindings/interrupt-controller/irq.h> 87*b7745a16SPhong LE #include <dt-bindings/gpio/gpio.h> 88*b7745a16SPhong LE i2c { 89*b7745a16SPhong LE #address-cells = <1>; 90*b7745a16SPhong LE #size-cells = <0>; 91*b7745a16SPhong LE 92*b7745a16SPhong LE it66121hdmitx: hdmitx@4c { 93*b7745a16SPhong LE compatible = "ite,it66121"; 94*b7745a16SPhong LE pinctrl-names = "default"; 95*b7745a16SPhong LE pinctrl-0 = <&ite_pins_default>; 96*b7745a16SPhong LE vcn33-supply = <&mt6358_vcn33_wifi_reg>; 97*b7745a16SPhong LE vcn18-supply = <&mt6358_vcn18_reg>; 98*b7745a16SPhong LE vrf12-supply = <&mt6358_vrf12_reg>; 99*b7745a16SPhong LE reset-gpios = <&pio 160 GPIO_ACTIVE_LOW>; 100*b7745a16SPhong LE interrupt-parent = <&pio>; 101*b7745a16SPhong LE interrupts = <4 IRQ_TYPE_LEVEL_LOW>; 102*b7745a16SPhong LE reg = <0x4c>; 103*b7745a16SPhong LE 104*b7745a16SPhong LE ports { 105*b7745a16SPhong LE #address-cells = <1>; 106*b7745a16SPhong LE #size-cells = <0>; 107*b7745a16SPhong LE 108*b7745a16SPhong LE port@0 { 109*b7745a16SPhong LE reg = <0>; 110*b7745a16SPhong LE it66121_in: endpoint { 111*b7745a16SPhong LE bus-width = <12>; 112*b7745a16SPhong LE remote-endpoint = <&display_out>; 113*b7745a16SPhong LE }; 114*b7745a16SPhong LE }; 115*b7745a16SPhong LE 116*b7745a16SPhong LE port@1 { 117*b7745a16SPhong LE reg = <1>; 118*b7745a16SPhong LE hdmi_conn_out: endpoint { 119*b7745a16SPhong LE remote-endpoint = <&hdmi_conn_in>; 120*b7745a16SPhong LE }; 121*b7745a16SPhong LE }; 122*b7745a16SPhong LE }; 123*b7745a16SPhong LE }; 124*b7745a16SPhong LE }; 125