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/analogix,anx7814.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Analogix ANX7814 SlimPort (Full-HD Transmitter) 8 9maintainers: 10 - Enric Balletbo i Serra <enric.balletbo@collabora.com> 11 12properties: 13 compatible: 14 enum: 15 - analogix,anx7808 16 - analogix,anx7812 17 - analogix,anx7814 18 - analogix,anx7818 19 20 reg: 21 maxItems: 1 22 description: I2C address of the device. 23 24 interrupts: 25 maxItems: 1 26 description: Should contain the INTP interrupt. 27 28 hpd-gpios: 29 deprecated: true 30 maxItems: 1 31 description: Which GPIO to use for hpd. 32 33 pd-gpios: 34 maxItems: 1 35 description: Which GPIO to use for power down. 36 37 reset-gpios: 38 maxItems: 1 39 description: Which GPIO to use for reset. 40 41 dvdd10-supply: 42 description: Regulator for 1.0V digital core power. 43 44 ports: 45 $ref: /schemas/graph.yaml#/properties/ports 46 47 properties: 48 port@0: 49 $ref: /schemas/graph.yaml#/properties/port 50 description: Video port for HDMI input. 51 52 port@1: 53 $ref: /schemas/graph.yaml#/properties/port 54 description: 55 Video port for SlimPort, DisplayPort, eDP or MyDP output. 56 57 required: 58 - port@0 59 - port@1 60 61required: 62 - compatible 63 - reg 64 - ports 65 66additionalProperties: false 67 68examples: 69 - | 70 #include <dt-bindings/interrupt-controller/arm-gic.h> 71 #include <dt-bindings/gpio/gpio.h> 72 73 i2c { 74 #address-cells = <1>; 75 #size-cells = <0>; 76 77 anx7814: bridge@38 { 78 compatible = "analogix,anx7814"; 79 reg = <0x38>; 80 interrupt-parent = <&gpio0>; 81 interrupts = <99 IRQ_TYPE_LEVEL_LOW>; /* INTP */ 82 pd-gpios = <&pio 33 GPIO_ACTIVE_HIGH>; 83 reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>; 84 85 ports { 86 #address-cells = <1>; 87 #size-cells = <0>; 88 89 port@0 { 90 reg = <0>; 91 anx7814_in: endpoint { 92 remote-endpoint = <&hdmi0_out>; 93 }; 94 }; 95 96 port@1 { 97 reg = <1>; 98 anx7814_out: endpoint { 99 remote-endpoint = <&edp_out>; 100 }; 101 }; 102 }; 103 }; 104 }; 105 106... 107