xref: /freebsd/sys/contrib/device-tree/Bindings/display/bridge/google,cros-ec-anx7688.yaml (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*5956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2*5956d97fSEmmanuel Vadot%YAML 1.2
3*5956d97fSEmmanuel Vadot---
4*5956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/display/bridge/google,cros-ec-anx7688.yaml#
5*5956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6*5956d97fSEmmanuel Vadot
7*5956d97fSEmmanuel Vadottitle: ChromeOS EC ANX7688 HDMI to DP Converter through Type-C Port
8*5956d97fSEmmanuel Vadot
9*5956d97fSEmmanuel Vadotmaintainers:
10*5956d97fSEmmanuel Vadot  - Nicolas Boichat <drinkcat@chromium.org>
11*5956d97fSEmmanuel Vadot
12*5956d97fSEmmanuel Vadotdescription: |
13*5956d97fSEmmanuel Vadot  ChromeOS EC ANX7688 is a display bridge that converts HDMI 2.0 to
14*5956d97fSEmmanuel Vadot  DisplayPort 1.3 Ultra-HDi (4096x2160p60). It is an Analogix ANX7688 chip
15*5956d97fSEmmanuel Vadot  which is connected to and operated by the ChromeOS Embedded Controller
16*5956d97fSEmmanuel Vadot  (See google,cros-ec.yaml). It is accessed using I2C tunneling through
17*5956d97fSEmmanuel Vadot  the EC and therefore its node should be a child of an EC I2C tunnel node
18*5956d97fSEmmanuel Vadot  (See google,cros-ec-i2c-tunnel.yaml).
19*5956d97fSEmmanuel Vadot
20*5956d97fSEmmanuel Vadotproperties:
21*5956d97fSEmmanuel Vadot  compatible:
22*5956d97fSEmmanuel Vadot    const: google,cros-ec-anx7688
23*5956d97fSEmmanuel Vadot
24*5956d97fSEmmanuel Vadot  reg:
25*5956d97fSEmmanuel Vadot    maxItems: 1
26*5956d97fSEmmanuel Vadot    description: I2C address of the device.
27*5956d97fSEmmanuel Vadot
28*5956d97fSEmmanuel Vadot  ports:
29*5956d97fSEmmanuel Vadot    $ref: /schemas/graph.yaml#/properties/ports
30*5956d97fSEmmanuel Vadot
31*5956d97fSEmmanuel Vadot    properties:
32*5956d97fSEmmanuel Vadot      port@0:
33*5956d97fSEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
34*5956d97fSEmmanuel Vadot        description: Video port for HDMI input.
35*5956d97fSEmmanuel Vadot
36*5956d97fSEmmanuel Vadot      port@1:
37*5956d97fSEmmanuel Vadot        $ref: /schemas/graph.yaml#/properties/port
38*5956d97fSEmmanuel Vadot        description: USB Type-c connector.
39*5956d97fSEmmanuel Vadot
40*5956d97fSEmmanuel Vadot    required:
41*5956d97fSEmmanuel Vadot      - port@0
42*5956d97fSEmmanuel Vadot      - port@1
43*5956d97fSEmmanuel Vadot
44*5956d97fSEmmanuel Vadotrequired:
45*5956d97fSEmmanuel Vadot  - compatible
46*5956d97fSEmmanuel Vadot  - reg
47*5956d97fSEmmanuel Vadot  - ports
48*5956d97fSEmmanuel Vadot
49*5956d97fSEmmanuel VadotadditionalProperties: false
50*5956d97fSEmmanuel Vadot
51*5956d97fSEmmanuel Vadotexamples:
52*5956d97fSEmmanuel Vadot  - |
53*5956d97fSEmmanuel Vadot    i2c_tunnel_b: i2c-tunnel1 {
54*5956d97fSEmmanuel Vadot        compatible = "google,cros-ec-i2c-tunnel";
55*5956d97fSEmmanuel Vadot        google,remote-bus = <1>;
56*5956d97fSEmmanuel Vadot        #address-cells = <1>;
57*5956d97fSEmmanuel Vadot        #size-cells = <0>;
58*5956d97fSEmmanuel Vadot
59*5956d97fSEmmanuel Vadot        anx7688: anx7688@2c {
60*5956d97fSEmmanuel Vadot            compatible = "google,cros-ec-anx7688";
61*5956d97fSEmmanuel Vadot            reg = <0x2c>;
62*5956d97fSEmmanuel Vadot
63*5956d97fSEmmanuel Vadot            ports {
64*5956d97fSEmmanuel Vadot                #address-cells = <1>;
65*5956d97fSEmmanuel Vadot                #size-cells = <0>;
66*5956d97fSEmmanuel Vadot                port@0 {
67*5956d97fSEmmanuel Vadot                    reg = <0>;
68*5956d97fSEmmanuel Vadot                    anx7688_in: endpoint {
69*5956d97fSEmmanuel Vadot                        remote-endpoint = <&hdmi0_out>;
70*5956d97fSEmmanuel Vadot                    };
71*5956d97fSEmmanuel Vadot                };
72*5956d97fSEmmanuel Vadot                port@1 {
73*5956d97fSEmmanuel Vadot                    reg = <1>;
74*5956d97fSEmmanuel Vadot                    anx7688_out: endpoint {
75*5956d97fSEmmanuel Vadot                        remote-endpoint = <&typec_connector>;
76*5956d97fSEmmanuel Vadot                    };
77*5956d97fSEmmanuel Vadot                };
78*5956d97fSEmmanuel Vadot            };
79*5956d97fSEmmanuel Vadot        };
80*5956d97fSEmmanuel Vadot    };
81