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