Re: [PATCH 1/2] dmaengine: qcom_bam_dma: Add v1.3.0 driver support

2014-04-18 Thread Andy Gross
On Fri, Apr 18, 2014 at 02:01:19AM +0300, Stanimir Vabanov wrote: > > > > static const struct of_device_id bam_of_match[] = { > > + { .compatible = "qcom,bam-v1.3.0", }, > > { .compatible = "qcom,bam-v1.4.0", }, > > you could use the of_device_id::data field to switch between different

Re: [PATCH 1/2] dmaengine: qcom_bam_dma: Add v1.3.0 driver support

2014-04-17 Thread Stanimir Vabanov
Hi Andy, Thanks for the patch! On 04/17/2014 12:45 AM, Andy Gross wrote: > This patch adds support for the v1.3.0 version of the BAM dma ip block. This > patch adds register access abstraction to deal with the changes to the > register > map between the two versions. Blocks of registers moved

[PATCH 1/2] dmaengine: qcom_bam_dma: Add v1.3.0 driver support

2014-04-16 Thread Andy Gross
This patch adds support for the v1.3.0 version of the BAM dma ip block. This patch adds register access abstraction to deal with the changes to the register map between the two versions. Blocks of registers moved around within the address space, and multipliers used for calculating the pipe regis