110 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---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 - Andrzej Hajda <andrzej.hajda@intel.com>11 - Neil Armstrong <neil.armstrong@linaro.org>12 - Robert Foss <robert.foss@linaro.org>13 14properties:15 compatible:16 enum:17 - analogix,anx780818 - analogix,anx781219 - analogix,anx781420 - analogix,anx781621 - analogix,anx781822 23 reg:24 maxItems: 125 description: I2C address of the device.26 27 interrupts:28 maxItems: 129 description: Should contain the INTP interrupt.30 31 hpd-gpios:32 deprecated: true33 maxItems: 134 description: Which GPIO to use for hpd.35 36 pd-gpios:37 maxItems: 138 description: Which GPIO to use for power down.39 40 reset-gpios:41 maxItems: 142 description: Which GPIO to use for reset.43 44 dvdd10-supply:45 description: Regulator for 1.0V digital core power.46 47 ports:48 $ref: /schemas/graph.yaml#/properties/ports49 50 properties:51 port@0:52 $ref: /schemas/graph.yaml#/properties/port53 description: Video port for HDMI input.54 55 port@1:56 $ref: /schemas/graph.yaml#/properties/port57 description:58 Video port for SlimPort, DisplayPort, eDP or MyDP output.59 60 required:61 - port@062 - port@163 64required:65 - compatible66 - reg67 - ports68 69additionalProperties: false70 71examples:72 - |73 #include <dt-bindings/interrupt-controller/arm-gic.h>74 #include <dt-bindings/gpio/gpio.h>75 76 i2c {77 #address-cells = <1>;78 #size-cells = <0>;79 80 anx7814: bridge@38 {81 compatible = "analogix,anx7814";82 reg = <0x38>;83 interrupt-parent = <&gpio0>;84 interrupts = <99 IRQ_TYPE_LEVEL_LOW>; /* INTP */85 pd-gpios = <&pio 33 GPIO_ACTIVE_HIGH>;86 reset-gpios = <&pio 98 GPIO_ACTIVE_HIGH>;87 88 ports {89 #address-cells = <1>;90 #size-cells = <0>;91 92 port@0 {93 reg = <0>;94 anx7814_in: endpoint {95 remote-endpoint = <&hdmi0_out>;96 };97 };98 99 port@1 {100 reg = <1>;101 anx7814_out: endpoint {102 remote-endpoint = <&edp_out>;103 };104 };105 };106 };107 };108 109...110