summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/display/bridge/sil,sii8620.yaml
blob: 6d1a36b76fcb2724aba553543adadf23072527c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
%YAML 1.2
---
$id: http://devicetree.org/schemas/display/bridge/sil,sii8620.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Silicon Image SiI8620 HDMI/MHL bridge

maintainers:
  - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

properties:
  compatible:
    const: sil,sii8620

  reg:
    maxItems: 1

  clocks:
    maxItems: 1

  clock-names:
    items:
      - const: xtal

  cvcc10-supply:
    description: Digital Core Supply Voltage (1.0V)

  interrupts:
    maxItems: 1

  iovcc18-supply:
    description: I/O Supply Voltage (1.8V)

  reset-gpios:
    maxItems: 1

  ports:
    $ref: /schemas/graph.yaml#/properties/ports
    unevaluatedProperties: false

    properties:
      port@0:
        $ref: /schemas/graph.yaml#/properties/port
        description:
          Video port for HDMI (encoder) input

      port@1:
        $ref: /schemas/graph.yaml#/properties/port
        description:
          MHL to connector port

    required:
      - port@0
      - port@1

required:
  - compatible
  - reg
  - clocks
  - cvcc10-supply
  - interrupts
  - iovcc18-supply
  - reset-gpios
  - ports

additionalProperties: false

examples:
  - |
    #include <dt-bindings/gpio/gpio.h>
    #include <dt-bindings/interrupt-controller/irq.h>

    i2c {
        #address-cells = <1>;
        #size-cells = <0>;

        bridge@39 {
            reg = <0x39>;
            compatible = "sil,sii8620";
            cvcc10-supply = <&ldo36_reg>;
            iovcc18-supply = <&ldo34_reg>;
            interrupt-parent = <&gpf0>;
            interrupts = <2 IRQ_TYPE_LEVEL_HIGH>;
            reset-gpios = <&gpv7 0 GPIO_ACTIVE_LOW>;
            clocks = <&pmu_system_controller 0>;
            clock-names = "xtal";

            ports {
                #address-cells = <1>;
                #size-cells = <0>;

                port@0 {
                    reg = <0>;
                    mhl_to_hdmi: endpoint {
                        remote-endpoint = <&hdmi_to_mhl>;
                    };
                };

                port@1 {
                    reg = <1>;
                    mhl_to_musb_con: endpoint {
                        remote-endpoint = <&musb_con_to_mhl>;
                    };
                };
            };
        };
    };