xref: /linux/Documentation/devicetree/bindings/display/bridge/sil,sii9234.yaml (revision 702648721db590b3425c31ade294000e18808345)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/display/bridge/sil,sii9234.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Silicon Image SiI9234 HDMI/MHL bridge
8
9maintainers:
10  - Maciej Purski <m.purski@samsung.com>
11
12properties:
13  compatible:
14    const: sil,sii9234
15
16  reg:
17    description: I2C address for TPI interface
18    maxItems: 1
19
20  avcc12-supply:
21    description: TMDS Analog Supply Voltage, 1.2V
22
23  avcc33-supply:
24    description: MHL/USB Switch Supply Voltage, 3.3V
25
26  cvcc12-supply:
27    description: Digital Core Supply Voltage, 1.2V
28
29  iovcc18-supply:
30    description: I/O voltage supply, 1.8V
31
32  interrupts:
33    maxItems: 1
34
35  reset-gpios:
36    description: GPIO connected to the reset pin.
37    maxItems: 1
38
39  ports:
40    $ref: /schemas/graph.yaml#/properties/ports
41
42    properties:
43      port@0:
44        $ref: /schemas/graph.yaml#/properties/port
45        description:
46          Video port for HDMI (encoder) input
47
48      port@1:
49        $ref: /schemas/graph.yaml#/properties/port
50        description:
51          MHL to connector port
52
53    required:
54      - port@0
55
56required:
57  - compatible
58  - reg
59  - avcc12-supply
60  - avcc33-supply
61  - cvcc12-supply
62  - iovcc18-supply
63  - interrupts
64  - reset-gpios
65  - ports
66
67additionalProperties: false
68
69examples:
70  - |
71    #include <dt-bindings/gpio/gpio.h>
72    #include <dt-bindings/interrupt-controller/irq.h>
73
74    i2c {
75      #address-cells = <1>;
76      #size-cells = <0>;
77
78      bridge@39 {
79        compatible = "sil,sii9234";
80        reg = <0x39>;
81        avcc12-supply = <&vsil12>;
82        avcc33-supply = <&vcc33mhl>;
83        cvcc12-supply = <&vsil12>;
84        iovcc18-supply = <&vcc18mhl>;
85        interrupt-parent = <&gpf3>;
86        interrupts = <5 IRQ_TYPE_LEVEL_HIGH>;
87        reset-gpios = <&gpf3 4 GPIO_ACTIVE_LOW>;
88
89        ports {
90          #address-cells = <1>;
91          #size-cells = <0>;
92
93          port@0 {
94            reg = <0>;
95            mhl_to_hdmi: endpoint {
96              remote-endpoint = <&hdmi_to_mhl>;
97            };
98          };
99
100          port@1 {
101            reg = <1>;
102            mhl_to_connector: endpoint {
103              remote-endpoint = <&connector_to_mhl>;
104            };
105          };
106        };
107      };
108    };
109
110...
111