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


Groups > linux.kernel > #1394397 > unrolled thread

Re: [PATCH v2 0/3] Introduce support for creating IIO devices via configfs

Started byJonathan Cameron <jic23@kernel.org>
First post2016-05-04 16:50 +0200
Last post2016-05-04 16:50 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 0/3] Introduce support for creating IIO devices via  configfs Jonathan Cameron <jic23@kernel.org> - 2016-05-04 16:50 +0200

#1394397 — Re: [PATCH v2 0/3] Introduce support for creating IIO devices via configfs

FromJonathan Cameron <jic23@kernel.org>
Date2016-05-04 16:50 +0200
SubjectRe: [PATCH v2 0/3] Introduce support for creating IIO devices via configfs
Message-ID<rv6hJ-5S0-37@gated-at.bofh.it>
On 25/04/16 14:15, Daniel Baluta wrote:
> For testing purposes is nice to have a quick way of creating IIO devices.
> This patch series introduces support for creating IIO devices via configs
> (patch 1), allowing users to register "device types". For the moment we
> support "dummy" device type (patch 2).
> 
> Patch 3 introduces configfs entries documentation for easier review.

I guess that this is similar enough to the trigger stuff that already had
all the debate about interfaces that no one has any issues with this.

All applied to the togreg branch of iio.git - they'll sit there for a few
weeks anyway (in testing for most of that) so if anyone does have any issues
I can back them out.

Jonathan
> 
> Changes since v1:
> 	* dropped the RFC tag
> 	* fix coding style issues as per Jonathan suggestion
> 	* fix configfs path in Documentation as per Lars observation (patch 3)
> 	* allocate memory for indio_dev->name (patch 1)
> 	* make iio_simple_dummy depend on SW_DEVICE config option in order to avoid
> 	compilation errors reported by kbuild robot.
> 
> Daniel Baluta (3):
>   iio: Add support for creating IIO devices via configfs
>   iio: dummy: Convert IIO dummy to configfs
>   Documentation: iio: Add IIO software devices docs
> 
>  Documentation/ABI/testing/configfs-iio |  13 +++
>  drivers/iio/Kconfig                    |   8 ++
>  drivers/iio/Makefile                   |   1 +
>  drivers/iio/dummy/Kconfig              |   1 +
>  drivers/iio/dummy/iio_simple_dummy.c   | 102 +++++++-----------
>  drivers/iio/industrialio-sw-device.c   | 182 +++++++++++++++++++++++++++++++++
>  include/linux/iio/sw_device.h          |  70 +++++++++++++
>  7 files changed, 312 insertions(+), 65 deletions(-)
>  create mode 100644 drivers/iio/industrialio-sw-device.c
>  create mode 100644 include/linux/iio/sw_device.h
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web