Add YAML device tree bindings for Analog Devices Inc. AXI HDMI TX IP core DRM driver. Signed-off-by: Bogdan Togorean <bogdan.togorean@xxxxxxxxxx> --- .../bindings/gpu/adi,axi-hdmi-tx.yaml | 70 +++++++++++++++++++ 1 file changed, 70 insertions(+) create mode 100644 Documentation/devicetree/bindings/gpu/adi,axi-hdmi-tx.yaml diff --git a/Documentation/devicetree/bindings/gpu/adi,axi-hdmi-tx.yaml b/Documentation/devicetree/bindings/gpu/adi,axi-hdmi-tx.yaml new file mode 100644 index 000000000000..ab7e71d14d1d --- /dev/null +++ b/Documentation/devicetree/bindings/gpu/adi,axi-hdmi-tx.yaml @@ -0,0 +1,70 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/gpu/adi,axi-hdmi-tx.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Analog Devices AXI HDMI TX HDL core + +maintainers: + - Bogdan Togorean <bogdan.togorean@xxxxxxxxxx> + +description: | + The AXI HDMI HDL driver is the driver for the HDL graphics core which + is used on various FPGA designs. It's mostly used to interface with + the ADV7511 driver on some Zynq boards (e.g. ZC702 & ZedBoard). + +properties: + compatible: + const: adi,axi-hdmi-tx-1.00.a + + reg: + maxItems: 1 + + dmas: + items: + - description: phandle to AXIS DMA controller + maxItems: 1 + + dma-names: + items: + - const: video + + clocks: + maxItems: 1 + description: phandle to the pixel clock + + adi,is-rgb: + type: boolean + description: control color space conversion + + port: + type: object + description: | + Port as described in Documentation/devicetree/bindings/graph.txt. + Remote output connection to ADV7511 driver + +required: + - compatible + - reg + - dmas + - dma-names + - clocks + - port + +examples: + - | + axi_hdmi_tx: axi_hdmi@70e00000 { + compatible = "adi,axi-hdmi-tx-1.00.a"; + reg = <0x70e00000 0x10000>; + dmas = <&hdmi_dma 0>; + dma-names = "video"; + clocks = <&hdmi_clock>; + + port { + axi_hdmi_out: endpoint { + remote-endpoint = <&zynq_hdmi_in>; + }; + }; + }; +... -- 2.28.0