brintos

brintos / linux-shallow public Read only

0
0
Text · 3.1 KiB · a7eb260 Raw
130 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/display/bridge/ite,it66121.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: ITE it66121 HDMI bridge8 9maintainers:10  - Phong LE <ple@baylibre.com>11  - Neil Armstrong <neil.armstrong@linaro.org>12 13description: |14  The IT66121 is a high-performance and low-power single channel HDMI15  transmitter, fully compliant with HDMI 1.3a, HDCP 1.2 and backward compatible16  to DVI 1.0 specifications.17 18properties:19  compatible:20    enum:21      - ite,it6612122      - ite,it661023 24  reg:25    maxItems: 126 27  reset-gpios:28    maxItems: 129    description: GPIO connected to active low reset30 31  vrf12-supply:32    description: Regulator for 1.2V analog core power.33 34  vcn33-supply:35    description: Regulator for 3.3V digital core power.36 37  vcn18-supply:38    description: Regulator for 1.8V IO core power.39 40  interrupts:41    maxItems: 142 43  "#sound-dai-cells":44    const: 045 46  ports:47    $ref: /schemas/graph.yaml#/properties/ports48 49    properties:50      port@0:51        $ref: /schemas/graph.yaml#/$defs/port-base52        unevaluatedProperties: false53        description: DPI input port.54 55        properties:56          endpoint:57            $ref: /schemas/graph.yaml#/$defs/endpoint-base58            unevaluatedProperties: false59 60            properties:61              bus-width:62                description:63                  Endpoint bus width.64                enum:65                  - 12  # 12 data lines connected and dual-edge mode66                  - 24  # 24 data lines connected and single-edge mode67                default: 2468 69      port@1:70        $ref: /schemas/graph.yaml#/properties/port71        description: HDMI Connector port.72 73    required:74      - port@075      - port@176 77required:78  - compatible79  - reg80  - reset-gpios81  - vrf12-supply82  - vcn33-supply83  - vcn18-supply84  - interrupts85  - ports86 87additionalProperties: false88 89examples:90  - |91    #include <dt-bindings/interrupt-controller/irq.h>92    #include <dt-bindings/gpio/gpio.h>93    i2c {94        #address-cells = <1>;95        #size-cells = <0>;96 97        it66121hdmitx: hdmitx@4c {98            compatible = "ite,it66121";99            pinctrl-names = "default";100            pinctrl-0 = <&ite_pins_default>;101            vcn33-supply = <&mt6358_vcn33_wifi_reg>;102            vcn18-supply = <&mt6358_vcn18_reg>;103            vrf12-supply = <&mt6358_vrf12_reg>;104            reset-gpios = <&pio 160 GPIO_ACTIVE_LOW>;105            interrupt-parent = <&pio>;106            interrupts = <4 IRQ_TYPE_LEVEL_LOW>;107            reg = <0x4c>;108 109            ports {110                #address-cells = <1>;111                #size-cells = <0>;112 113                port@0 {114                    reg = <0>;115                    it66121_in: endpoint {116                        bus-width = <12>;117                        remote-endpoint = <&display_out>;118                    };119                };120 121                port@1 {122                    reg = <1>;123                    hdmi_conn_out: endpoint {124                        remote-endpoint = <&hdmi_conn_in>;125                    };126                };127            };128        };129    };130