dmagengine: pl330: add code to get reset property
authorDinh Nguyen <dinguyen@kernel.org>
Tue, 11 Jun 2019 15:34:33 +0000 (10:34 -0500)
committerVinod Koul <vkoul@kernel.org>
Fri, 14 Jun 2019 05:55:47 +0000 (11:25 +0530)
commit0eaab70a7a1b70ec39e61817553321b3bc638156
treefcef00a14c656aa7885d354d5db2830f26e3847f
parent0ed91bded307cc980f9542eff861266f1744c303
dmagengine: pl330: add code to get reset property

The DMA controller on some SoCs can be held in reset, and thus requires
the reset signal(s) to deasserted. Most SoCs will have just one reset
signal, but there are others, i.e. Arria10/Stratix10 will have an
additional reset signal, referred to as the OCP.

Add code to get the reset property from the device tree for deassert and
assert.

Signed-off-by: Dinh Nguyen <dinguyen@kernel.org>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/pl330.c