All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Add DMA support for ti_am335x_adc driver
@ 2016-09-21 16:11 ` Mugunthan V N
  0 siblings, 0 replies; 60+ messages in thread
From: Mugunthan V N @ 2016-09-21 16:11 UTC (permalink / raw)
  To: linux-iio
  Cc: Tony Lindgren, Rob Herring, Mark Rutland, Russell King,
	Jonathan Cameron, Hartmut Knaack, Lars-Peter Clausen,
	Peter Meerwald-Stadler, Lee Jones, Vignesh R, Andrew F . Davis,
	linux-omap, devicetree, linux-arm-kernel, linux-kernel,
	Sekhar Nori, Peter Ujfalusi, Mugunthan V N

The ADC has a 64 work depth fifo length which holds the ADC data
till the CPU reads. So when a user program needs a large ADC data
to operate on, then it has to do multiple reads to get its
buffer. Currently if the application asks for 4 samples per
channel with all 8 channels are enabled, kernel can provide only
3 samples per channel when all 8 channels are enabled (logs at
[1]). So with DMA support user can request for large number of
samples at a time (logs at [2]).

Tested the patch on AM437x-gp-evm and AM335x Boneblack with the
patch [3] to enable ADC and pushed a branch for testing [4]

[1] - http://pastebin.ubuntu.com/23211490/
[2] - http://pastebin.ubuntu.com/23211492/
[3] - http://pastebin.ubuntu.com/23211494/
[4] - git://git.ti.com/~mugunthanvnm/ti-linux-kernel/linux.git iio-dma

Mugunthan V N (4):
  mfd: ti_am335x_tscadc: store physical address
  drivers: iio: ti_am335x_adc: add dma support
  ARM: dts: am33xx: add DMA properties for tscadc
  ARM: dts: am4372: add DMA properties for tscadc

 arch/arm/boot/dts/am33xx.dtsi        |   2 +
 arch/arm/boot/dts/am4372.dtsi        |   2 +
 drivers/iio/adc/ti_am335x_adc.c      | 160 ++++++++++++++++++++++++++++++++++-
 drivers/mfd/ti_am335x_tscadc.c       |   1 +
 include/linux/mfd/ti_am335x_tscadc.h |   8 ++
 5 files changed, 170 insertions(+), 3 deletions(-)

-- 
2.10.0.129.g35f6318

^ permalink raw reply	[flat|nested] 60+ messages in thread

end of thread, other threads:[~2016-11-05 17:45 UTC | newest]

Thread overview: 60+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-09-21 16:11 [PATCH 0/4] Add DMA support for ti_am335x_adc driver Mugunthan V N
2016-09-21 16:11 ` Mugunthan V N
2016-09-21 16:11 ` Mugunthan V N
2016-09-21 16:11 ` [PATCH 1/4] mfd: ti_am335x_tscadc: store physical address Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
2016-09-27 19:40   ` Lee Jones
2016-09-27 19:40     ` Lee Jones
2016-09-27 19:40     ` Lee Jones
2016-09-30  8:43     ` Mugunthan V N
2016-09-30  8:43       ` Mugunthan V N
2016-09-30  8:43       ` Mugunthan V N
2016-10-26 12:17       ` Lee Jones
2016-10-26 12:17         ` Lee Jones
2016-10-26 12:17         ` Lee Jones
2016-10-30 17:05         ` Jonathan Cameron
2016-10-30 17:05           ` Jonathan Cameron
2016-10-31  8:16           ` Lee Jones
2016-10-31  8:16             ` Lee Jones
2016-10-31  8:16             ` Lee Jones
2016-11-05 17:45             ` Jonathan Cameron
2016-11-05 17:45               ` Jonathan Cameron
2016-11-05 17:45               ` Jonathan Cameron
2016-09-21 16:11 ` [PATCH 2/4] drivers: iio: ti_am335x_adc: add dma support Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
     [not found]   ` <20160921161134.6951-3-mugunthanvnm-l0cyMroinI0@public.gmane.org>
2016-09-21 17:44     ` Peter Meerwald-Stadler
2016-09-21 17:44       ` Peter Meerwald-Stadler
     [not found]       ` <alpine.DEB.2.02.1609211936540.12662-jW+XmwGofnusTnJN9+BGXg@public.gmane.org>
2016-09-22 10:37         ` Mugunthan V N
2016-09-22 10:37           ` Mugunthan V N
2016-09-22  6:18   ` Vignesh R
2016-09-22  6:18     ` Vignesh R
2016-09-22  6:18     ` Vignesh R
2016-09-22 10:45     ` Mugunthan V N
2016-09-22 10:45       ` Mugunthan V N
2016-09-22 10:45       ` Mugunthan V N
2016-09-22 11:16       ` Peter Ujfalusi
2016-09-22 11:16         ` Peter Ujfalusi
2016-09-22 11:16         ` Peter Ujfalusi
2016-09-22  7:20   ` Peter Ujfalusi
2016-09-22  7:20     ` Peter Ujfalusi
2016-09-22  7:20     ` Peter Ujfalusi
2016-09-22 10:56     ` Mugunthan V N
2016-09-22 10:56       ` Mugunthan V N
2016-09-22 10:56       ` Mugunthan V N
2016-09-21 16:11 ` [PATCH 3/4] ARM: dts: am33xx: add DMA properties for tscadc Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
2016-09-21 16:11 ` [PATCH 4/4] ARM: dts: am4372: " Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
2016-09-21 16:11   ` Mugunthan V N
2016-09-25  9:41 ` [PATCH 0/4] Add DMA support for ti_am335x_adc driver Jonathan Cameron
2016-09-25  9:41   ` Jonathan Cameron
2016-09-25  9:41   ` Jonathan Cameron
2016-09-29 13:01   ` Mugunthan V N
2016-09-29 13:01     ` Mugunthan V N
2016-09-29 13:01     ` Mugunthan V N
2016-09-30  3:37     ` John Syne
2016-09-30  3:37       ` John Syne
2016-09-30  3:37       ` John Syne

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.