dmaengine: sh: rz-dmac: Add DMA clock handling
authorBiju Das <biju.das.jz@bp.renesas.com>
Thu, 23 Sep 2021 10:24:51 +0000 (11:24 +0100)
committerVinod Koul <vkoul@kernel.org>
Mon, 18 Oct 2021 06:36:44 +0000 (12:06 +0530)
commit161596fd776a54df922158175ed844804a861c37
tree88c538da1fef97ff8b7d0efb47a045e6657bcce1
parentc5b64b6826e020041ef4f68a281dee2f33c827d6
dmaengine: sh: rz-dmac: Add DMA clock handling

Currently, DMA clocks are turned on by the bootloader.
This patch adds support for DMA clock handling so that
the driver manages the DMA clocks.

Fixes: 5000d37042a6 ("dmaengine: sh: Add DMAC driver for RZ/G2L SoC")
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20210923102451.11403-1-biju.das.jz@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rz-dmac.c