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