Re: [PATCH 2/4] dmaengine: qcom: bam_dma: add num-channels binding for remotely controlled

From: Rob Herring
Date: Mon Jan 29 2018 - 11:19:21 EST


On Tue, Jan 16, 2018 at 07:02:34PM +0000, srinivas.kandagatla@xxxxxxxxxx wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
>
> When Linux is master of BAM, it can directly read registers to know number
> of supported channels, however when its remotely controlled reading these
> registers would trigger a crash if the BAM is not yet intialized/powered up
> on the remote side.
>
> This patch adds num-channels binding to specify number of supported
> dma channels on remotely controlled BAM.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
> ---
> Documentation/devicetree/bindings/dma/qcom_bam_dma.txt | 2 ++

Reviewed-by: Rob Herring <robh@xxxxxxxxxx>

> drivers/dma/qcom/bam_dma.c | 13 +++++++++++--
> 2 files changed, 13 insertions(+), 2 deletions(-)