From 4b07d5d5ada28762673b35f375f6ecf3563c9132 Mon Sep 17 00:00:00 2001 From: Shengjiu Wang Date: Mon, 10 Feb 2020 17:16:42 +0800 Subject: [PATCH] MLK-23287-2: ASoC: fsl_aud2htx: Add binding document Add binding document. Signed-off-by: Shengjiu Wang Reviewed-by: Viorel Suman --- .../devicetree/bindings/sound/fsl,aud2htx.txt | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/fsl,aud2htx.txt diff --git a/Documentation/devicetree/bindings/sound/fsl,aud2htx.txt b/Documentation/devicetree/bindings/sound/fsl,aud2htx.txt new file mode 100644 index 000000000000..a9eaa055e6b4 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/fsl,aud2htx.txt @@ -0,0 +1,35 @@ +fsl,aud2htx The AUD2HTX is a digital module that provides a bridge between +the Audio Subsystem and the HDMI RTX Subsystem. + +Required properties: + +- compatible: Must contain one of "fsl,imx8mp-aud2htx". +- reg: Offset and length of the register set for the device. +- interrupts: where a is the interrupt number and b is a + field that represents an encoding of the sense and + level information for the interrupt. This should be + encoded based on the information in section 2) + depending on the type of interrupt controller you + have. +- clocks: A list of phandles + clock-specifiers, one for each + entry in clock-names +- clock-names: Must contain "bus" + +Optional properties: +- dmas: Generic dma devicetree binding as described in + Documentation/devicetree/bindings/dma/dma.txt. +- dma-names: One dmas have to be defined, "tx". + +Example: + +aud2htx: aud2htx@30cb0000 { + compatible = "fsl,imx8mp-aud2htx"; + reg = <0x30cb0000 0x10000>; + interrupts = ; + clocks = <&audiomix_clk IMX8MP_CLK_AUDIOMIX_AUD2HTX_IPG>; + clock-names = "bus"; + dmas = <&sdma2 26 2 0>; + dma-names = "tx"; + power-domains = <&audiomix_pd>; + status = "disabled"; +};