Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-05 Thread Mugunthan V N
On Wednesday 05 October 2016 02:16 PM, Peter Ujfalusi wrote: > On 10/05/16 11:17, Mugunthan V N wrote: >> On Wednesday 05 October 2016 12:01 PM, Peter Ujfalusi wrote: >>> On 10/05/16 09:21, Mugunthan V N wrote: On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi wrote: > On 10/03/16 16:03,

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-05 Thread Peter Ujfalusi
On 10/05/16 11:17, Mugunthan V N wrote: > On Wednesday 05 October 2016 12:01 PM, Peter Ujfalusi wrote: >> On 10/05/16 09:21, Mugunthan V N wrote: >>> On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi wrote: On 10/03/16 16:03, Mugunthan V N wrote: > +static int tiadc_request_dma(struct pl

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-05 Thread Mugunthan V N
On Wednesday 05 October 2016 12:01 PM, Peter Ujfalusi wrote: > On 10/05/16 09:21, Mugunthan V N wrote: >> On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi wrote: >>> On 10/03/16 16:03, Mugunthan V N wrote: +static int tiadc_request_dma(struct platform_device *pdev, +

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-04 Thread Peter Ujfalusi
On 10/05/16 09:21, Mugunthan V N wrote: > On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi wrote: >> On 10/03/16 16:03, Mugunthan V N wrote: >>> +static int tiadc_request_dma(struct platform_device *pdev, >>> +struct tiadc_device *adc_dev) >>> +{ >>> + struct tiadc_dma

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-04 Thread Mugunthan V N
On Tuesday 04 October 2016 02:02 PM, Peter Ujfalusi wrote: > On 10/03/16 16:03, Mugunthan V N wrote: >> +static int tiadc_request_dma(struct platform_device *pdev, >> + struct tiadc_device *adc_dev) >> +{ >> +struct tiadc_dma*dma = &adc_dev->dma; >> +dma_cap_

Re: [PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-04 Thread Peter Ujfalusi
On 10/03/16 16:03, Mugunthan V N wrote: > +static int tiadc_request_dma(struct platform_device *pdev, > + struct tiadc_device *adc_dev) > +{ > + struct tiadc_dma*dma = &adc_dev->dma; > + dma_cap_mask_t mask; > + > + /* Default slave configuratio

[PATCH v2 2/4] drivers: iio: ti_am335x_adc: add dma support

2016-10-03 Thread Mugunthan V N
This patch adds the required pieces to ti_am335x_adc driver for DMA support Signed-off-by: Mugunthan V N --- drivers/iio/adc/ti_am335x_adc.c | 145 ++- include/linux/mfd/ti_am335x_tscadc.h | 7 ++ 2 files changed, 149 insertions(+), 3 deletions(-) diff --g