dmaengine: qcom: bam_dma: add controlled-remotely dt property
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Mon, 11 Apr 2016 08:38:41 +0000 (11:38 +0300)
committerVinod Koul <vinod.koul@intel.com>
Tue, 19 Apr 2016 15:41:31 +0000 (21:11 +0530)
commit5172c9eb89d4ea41f86ff91b15b2b0dc75ded869
tree526284146909045c1f996f12134506f8ff6fb4fa
parentc778ed46e6d245186522d2ebe2d39b52bbc4432b
dmaengine: qcom: bam_dma: add controlled-remotely dt property

Some of the peripherals has bam which is controlled by remote
processor, thus the bam dma driver must avoid register writes
which initialise bam hw block. Those registers are protected
from xPU block and any writes to them will lead to secure
violation and system reboot.

Adding the contolled_remotely flag in bam driver to avoid
not permitted register writes in bam_init function.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Reviewed-by: Andy Gross <andy.gross@linaro.org>
Tested-by: Pramod Gurav <gpramod@codeaurora.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom/bam_dma.c
This page took 0.024106 seconds and 5 git commands to generate.