dmaengine: sh: rz-dmac: Add reset support
authorBiju Das <biju.das.jz@bp.renesas.com>
Wed, 15 Mar 2023 06:45:01 +0000 (06:45 +0000)
committerVinod Koul <vkoul@kernel.org>
Fri, 17 Mar 2023 17:26:41 +0000 (22:56 +0530)
commitd1e71a3a7ab9db0168b6885171e0576383216ac8
tree79b54052dccf7bfeaac12c957e0ddf8bc3c31d6c
parent4a69516f97bc35134f41de959000ea6cb93a1d50
dmaengine: sh: rz-dmac: Add reset support

Add reset support for DMAC module found on RZ/G2L alike SoCs.

For booting the board, reset release of the DMAC module is required
otherwise we don't get GIC interrupts. Currently the reset release
was done by the bootloader now move this to the driver instead.

Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Link: https://lore.kernel.org/r/20230315064501.21491-1-biju.das.jz@bp.renesas.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/rz-dmac.c