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