dmaengine: imx-sdma: support hdmi in sdma
authorJoy Zou <joy.zou@nxp.com>
Tue, 15 Nov 2022 09:38:23 +0000 (17:38 +0800)
committerVinod Koul <vkoul@kernel.org>
Wed, 28 Dec 2022 11:19:58 +0000 (16:49 +0530)
commite873d4329ccb891bf3b17f1e0d44396de943e92d
tree7c741ff5174e7087ca698bb4b6ab7fde3bf59b7b
parent7bdbd87d40082a9df56a015a956ed32f909e4009
dmaengine: imx-sdma: support hdmi in sdma

The hdmi script already supported in sdma firmware. So add support hdmi
in sdma driver.

The design of hdmi script is different from common script such as sai.
There is no need to config buffer descriptor for HDMI. The cyclic
capability is achieved by the hdmi script. The slave config is so simple,
only config src_addr, dts_addr and direction DMA_TRANS_NONE.

Signed-off-by: Joy Zou <joy.zou@nxp.com>
Reviewed-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20221115093823.2879128-3-joy.zou@nxp.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/imx-sdma.c
include/linux/dma/imx-dma.h