From 3c56e35787769d9efd5239f66cb1c4e4543cb0a7 Mon Sep 17 00:00:00 2001 From: Robin Gong Date: Thu, 31 May 2018 02:38:03 +0800 Subject: =?UTF-8?q?MLK-18449:=20dmaengine:=20imx-sdma=EF=BC=9Aadd=20sw=5Fd?= =?UTF-8?q?one=20support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add new cell for sw_done/sw_done_selector, because PDM need enable software done feature in sdma script. The new fourth cell defined as below: Bit31: sw_done Bit15~bit0: selector For example: 0x80000000 means sw_done enabled for done0 sector which is for PDM on i.mx8mm. Signed-off-by: Robin Gong Reviewed-by: Shengjiu Wang --- Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'Documentation/devicetree') diff --git a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt index 81b8cad86d17..80174b587df3 100644 --- a/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt +++ b/Documentation/devicetree/bindings/dma/fsl-imx-sdma.txt @@ -53,7 +53,12 @@ The full ID of peripheral types can be found below. 24 SAI 25 HDMI Audio -The third cell specifies the transfer priority as below. +The third cell specifies the transfer priority and software done +as below. + + Bit31: sw_done + Bit15~Bit8: selector + Bit7~Bit0: priority level ID transfer priority ------------------------- @@ -61,6 +66,9 @@ The third cell specifies the transfer priority as below. 1 Medium 2 Low +For example: 0x80000000 means sw_done enabled for done0 sector and + High priority for PDM on i.mx8mm. + Optional properties: - gpr : The phandle to the General Purpose Register (GPR) node. -- cgit v1.2.3