Back to home page

OSCL-LXR

 
 

    


0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/display/bridge/google,cros-ec-anx7688.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006 
0007 title: ChromeOS EC ANX7688 HDMI to DP Converter through Type-C Port
0008 
0009 maintainers:
0010   - Nicolas Boichat <drinkcat@chromium.org>
0011 
0012 description: |
0013   ChromeOS EC ANX7688 is a display bridge that converts HDMI 2.0 to
0014   DisplayPort 1.3 Ultra-HDi (4096x2160p60). It is an Analogix ANX7688 chip
0015   which is connected to and operated by the ChromeOS Embedded Controller
0016   (See google,cros-ec.yaml). It is accessed using I2C tunneling through
0017   the EC and therefore its node should be a child of an EC I2C tunnel node
0018   (See google,cros-ec-i2c-tunnel.yaml).
0019 
0020 properties:
0021   compatible:
0022     const: google,cros-ec-anx7688
0023 
0024   reg:
0025     maxItems: 1
0026     description: I2C address of the device.
0027 
0028   ports:
0029     $ref: /schemas/graph.yaml#/properties/ports
0030 
0031     properties:
0032       port@0:
0033         $ref: /schemas/graph.yaml#/properties/port
0034         description: Video port for HDMI input.
0035 
0036       port@1:
0037         $ref: /schemas/graph.yaml#/properties/port
0038         description: USB Type-c connector.
0039 
0040     required:
0041       - port@0
0042       - port@1
0043 
0044 required:
0045   - compatible
0046   - reg
0047   - ports
0048 
0049 additionalProperties: false
0050 
0051 examples:
0052   - |
0053     i2c_tunnel_b: i2c-tunnel1 {
0054         compatible = "google,cros-ec-i2c-tunnel";
0055         google,remote-bus = <1>;
0056         #address-cells = <1>;
0057         #size-cells = <0>;
0058 
0059         anx7688: anx7688@2c {
0060             compatible = "google,cros-ec-anx7688";
0061             reg = <0x2c>;
0062 
0063             ports {
0064                 #address-cells = <1>;
0065                 #size-cells = <0>;
0066                 port@0 {
0067                     reg = <0>;
0068                     anx7688_in: endpoint {
0069                         remote-endpoint = <&hdmi0_out>;
0070                     };
0071                 };
0072                 port@1 {
0073                     reg = <1>;
0074                     anx7688_out: endpoint {
0075                         remote-endpoint = <&typec_connector>;
0076                     };
0077                 };
0078             };
0079         };
0080     };