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/google,cros-ec-anx7688.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: ChromeOS EC ANX7688 HDMI to DP Converter through Type-C Port 8 9maintainers: 10 - Nicolas Boichat <drinkcat@chromium.org> 11 - Enric Balletbo i Serra <enric.balletbo@collabora.com> 12 13description: | 14 ChromeOS EC ANX7688 is a display bridge that converts HDMI 2.0 to 15 DisplayPort 1.3 Ultra-HDi (4096x2160p60). It is an Analogix ANX7688 chip 16 which is connected to and operated by the ChromeOS Embedded Controller 17 (See google,cros-ec.yaml). It is accessed using I2C tunneling through 18 the EC and therefore its node should be a child of an EC I2C tunnel node 19 (See google,cros-ec-i2c-tunnel.yaml). 20 21properties: 22 compatible: 23 const: google,cros-ec-anx7688 24 25 reg: 26 maxItems: 1 27 description: I2C address of the device. 28 29 ports: 30 $ref: /schemas/graph.yaml#/properties/ports 31 32 properties: 33 port@0: 34 $ref: /schemas/graph.yaml#/properties/port 35 description: Video port for HDMI input. 36 37 port@1: 38 $ref: /schemas/graph.yaml#/properties/port 39 description: USB Type-c connector. 40 41 required: 42 - port@0 43 - port@1 44 45required: 46 - compatible 47 - reg 48 - ports 49 50additionalProperties: false 51 52examples: 53 - | 54 i2c_tunnel_b: i2c-tunnel1 { 55 compatible = "google,cros-ec-i2c-tunnel"; 56 google,remote-bus = <1>; 57 #address-cells = <1>; 58 #size-cells = <0>; 59 60 anx7688: anx7688@2c { 61 compatible = "google,cros-ec-anx7688"; 62 reg = <0x2c>; 63 64 ports { 65 #address-cells = <1>; 66 #size-cells = <0>; 67 port@0 { 68 reg = <0>; 69 anx7688_in: endpoint { 70 remote-endpoint = <&hdmi0_out>; 71 }; 72 }; 73 port@1 { 74 reg = <1>; 75 anx7688_out: endpoint { 76 remote-endpoint = <&typec_connector>; 77 }; 78 }; 79 }; 80 }; 81 }; 82 83