From: Srinivas Kandagatla <srinivas.kandaga...@linaro.org>
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.
Changes since v1:
- Move dt bindings to separate patch
- merge num-channels and num-ees driver changes
- fixed few typos.
- added runtime pm disable, as suggested by Sagar
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 | 66 +++++++++++++++-------
2 files changed, 51 insertions(+), 19 deletions(-)