2020-10-26 08:13:28

by Togorean, Bogdan

[permalink] [raw]
Subject: [PATCH v2 2/2] drm: dt-bindings: adi: axi-hdmi-tx: Add DT bindings for axi-hdmi-tx

Add YAML device tree bindings for Analog Devices Inc. AXI HDMI TX
IP core DRM driver.

Signed-off-by: Bogdan Togorean <[email protected]>
---
.../bindings/display/adi/adi,axi-hdmi-tx.yaml | 72 +++++++++++++++++++
1 file changed, 72 insertions(+)
create mode 100644 Documentation/devicetree/bindings/display/adi/adi,axi-hdmi-tx.yaml

diff --git a/Documentation/devicetree/bindings/display/adi/adi,axi-hdmi-tx.yaml b/Documentation/devicetree/bindings/display/adi/adi,axi-hdmi-tx.yaml
new file mode 100644
index 000000000000..12a0ed9b187e
--- /dev/null
+++ b/Documentation/devicetree/bindings/display/adi/adi,axi-hdmi-tx.yaml
@@ -0,0 +1,72 @@
+# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/display/adi/adi,axi-hdmi-tx.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Analog Devices AXI HDMI TX HDL core
+
+maintainers:
+ - Bogdan Togorean <[email protected]>
+
+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: enable color space conversion
+
+ port:
+ type: object
+ description: |
+ Port as described in Documentation/devicetree/bindings/graph.txt.
+ Remote output connection to bridge driver
+
+required:
+ - compatible
+ - reg
+ - dmas
+ - dma-names
+ - clocks
+ - port
+
+additionalProperties: false
+
+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


2020-10-30 18:44:16

by Rob Herring

[permalink] [raw]
Subject: Re: [PATCH v2 2/2] drm: dt-bindings: adi: axi-hdmi-tx: Add DT bindings for axi-hdmi-tx

On Mon, 26 Oct 2020 08:41:06 +0200, Bogdan Togorean wrote:
> Add YAML device tree bindings for Analog Devices Inc. AXI HDMI TX
> IP core DRM driver.
>
> Signed-off-by: Bogdan Togorean <[email protected]>
> ---
> .../bindings/display/adi/adi,axi-hdmi-tx.yaml | 72 +++++++++++++++++++
> 1 file changed, 72 insertions(+)
> create mode 100644 Documentation/devicetree/bindings/display/adi/adi,axi-hdmi-tx.yaml
>

Reviewed-by: Rob Herring <[email protected]>