[PATCH v3 0/5] dmaengine: qcom: bam_dma: fixes for remotely controlled bam

From: srinivas . kandagatla
Date: Thu Feb 15 2018 - 07:27:24 EST


From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>

Hi Andy,

I did hit few issues while trying out SLIMBus BAM on DB820c, this BAM instance
is remotely controlled and powered up after ADSP is booted using QMI commands.

Firstly some of the master registers are written even when the BAM is remotely
controlled, and secondly reading registers when bam is not ready yet.

These 4 patches address these issues, there are few more issues like doing PM
in simillar usecase, these will be addressed soon.

Thanks,
Srini

Changes since v2:
return clk error in default case, suggested by Bjorn

Srinivas Kandagatla (5):
dmaengine: qcom: bam_dma: make bam clk optional
dt-bindings: dmaengine: bam_dma: add remote controlled bindings
dmaengine: qcom: bam_dma: get num-channels and num-ees from dt
dmaengine: qcom: bam_dma: do not write to global regs in remote mode
dmaengine: qcom: bam_dma: disable runtime pm on remote controlled

.../devicetree/bindings/dma/qcom_bam_dma.txt | 4 ++
drivers/dma/qcom/bam_dma.c | 59 +++++++++++++++++-----
2 files changed, 49 insertions(+), 14 deletions(-)

--
2.15.1