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


Groups > linux.kernel > #1383523

[RFC PATCH 0/3] Introduce support for creating IIO devices via configfs

From Daniel Baluta <daniel.baluta@intel.com>
Newsgroups linux.kernel
Subject [RFC PATCH 0/3] Introduce support for creating IIO devices via configfs
Date 2016-04-20 17:50 +0200
Message-ID <rq2y6-1Fp-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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).

This is just a RFC in order to see if the interface is acceptable. We also
need a way to create IIO devices with configurable number of channels.

Patch 3 introduces configfs entries documentation for easier review.

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                    |   9 ++
 drivers/iio/Makefile                   |   1 +
 drivers/iio/dummy/iio_simple_dummy.c   |  98 ++++++------------
 drivers/iio/industrialio-sw-device.c   | 181 +++++++++++++++++++++++++++++++++
 include/linux/iio/sw_device.h          |  70 +++++++++++++
 6 files changed, 307 insertions(+), 65 deletions(-)
 create mode 100644 drivers/iio/industrialio-sw-device.c
 create mode 100644 include/linux/iio/sw_device.h

-- 
2.5.0

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


Thread

[RFC PATCH 0/3] Introduce support for creating IIO devices via configfs Daniel Baluta <daniel.baluta@intel.com> - 2016-04-20 17:50 +0200
  [RFC PATCH 1/3] iio: Add support for creating IIO devices via configfs Daniel Baluta <daniel.baluta@intel.com> - 2016-04-20 17:50 +0200
  Re: [RFC PATCH 0/3] Introduce support for creating IIO devices via  configfs Jonathan Cameron <jic23@kernel.org> - 2016-04-24 13:30 +0200
    Re: [RFC PATCH 0/3] Introduce support for creating IIO devices via configfs Daniel Baluta <daniel.baluta@intel.com> - 2016-04-25 09:40 +0200

csiph-web