Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1210198

RE: [PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid ADC

From Duan Andy <fugang.duan@freescale.com>
Newsgroups linux.kernel
Subject RE: [PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid ADC
Date 2015-08-20 09:00 +0200
Message-ID <pZrZn-5EL-3@gated-at.bofh.it> (permalink)
References <pWdJf-zE-5@gated-at.bofh.it> <pYuZk-3nQ-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Sanchayan Maity <maitysanchayan@gmail.com> Sent: Monday, August 17, 2015 11:52 PM
> To: jic23@kernel.org; linux-iio@vger.kernel.org
> Cc: stefan@agner.ch; Duan Fugang-B38611; pmeerw@pmeerw.net; linux-
> kernel@vger.kernel.org; linux-arm-kernel@lists.infradead.org; Sanchayan
> Maity
> Subject: [PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid
> ADC
> 
> This patch adds support for IIO buffer to the Vybrid ADC driver.
> IIO triggered buffer infrastructure along with iio sysfs trigger is used
> to leverage continuous sampling support provided by the ADC block.
> 
> Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
> ---
> 
> Changes since v3:
> Fix iio_buffer_setup_ops for postenable and predisable functions to match
> pairwise. Before this the predisable work was being done in postdisable.
> 
> Changes since v2:
> 1. Fix the wrong buffer size for statically allocated buffer 2. Drop the
> use of .address field from the iio_chan_spec 3. Use iio_buffer_enabled
> call inside the lock 4. Drop wrapper function around iio_trigered_*
> function calls 5. Drop Kconfig select of sysfs trigger 6. Drop Kconfig
> select IIO_TRIGGER as it is already selected by IIO_TRIGGERED_BUFFER
> 
> Changes since v1:
> 1. Use a fixed size buffer instead of kmalloc allocated during update
> scan mode 2. Remove a write to read only register ADC_HS (COCO bit)
> 
>  drivers/iio/adc/Kconfig     |   2 +
>  drivers/iio/adc/vf610_adc.c | 105
> +++++++++++++++++++++++++++++++++++++++++---
>  2 files changed, 100 insertions(+), 7 deletions(-)
> 

The version is fine for me. Thanks for your effort.

Acked-by: Fugang Duan <B38611@freescale.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3] iio: adc: vf610: Add IIO buffer support for Vybrid ADC Sanchayan Maity <maitysanchayan@gmail.com> - 2015-08-11 11:10 +0200
  Re: [PATCH v3] iio: adc: vf610: Add IIO buffer support for Vybrid ADC Jonathan Cameron <jic23@kernel.org> - 2015-08-15 22:30 +0200
    Re: [PATCH v3] iio: adc: vf610: Add IIO buffer support for Vybrid ADC maitysanchayan@gmail.com - 2015-08-17 16:00 +0200
  [PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid ADC Sanchayan Maity <maitysanchayan@gmail.com> - 2015-08-17 18:00 +0200
    Re: [PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid ADC maitysanchayan@gmail.com - 2015-08-20 08:50 +0200
    RE: [PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid ADC Duan Andy <fugang.duan@freescale.com> - 2015-08-20 09:00 +0200
      Re: [PATCH v4] iio: adc: vf610: Add IIO buffer support for Vybrid ADC Jonathan Cameron <jic23@kernel.org> - 2015-08-31 17:30 +0200

csiph-web