linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/3] Introduce support for creating IIO devices via configfs
@ 2016-04-25 13:15 Daniel Baluta
  2016-04-25 13:15 ` [PATCH v2 1/3] iio: Add " Daniel Baluta
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Daniel Baluta @ 2016-04-25 13:15 UTC (permalink / raw)
  To: jic23; +Cc: knaack.h, lars, pmeerw, linux-iio, linux-kernel, daniel.baluta

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.

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

-- 
2.5.0

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

end of thread, other threads:[~2016-05-04 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-25 13:15 [PATCH v2 0/3] Introduce support for creating IIO devices via configfs Daniel Baluta
2016-04-25 13:15 ` [PATCH v2 1/3] iio: Add " Daniel Baluta
2016-04-25 13:15 ` [PATCH v2 2/3] iio: dummy: Convert IIO dummy to configfs Daniel Baluta
2016-04-25 13:15 ` [PATCH v2 3/3] Documentation: iio: Add IIO software devices docs Daniel Baluta
2016-05-04 10:45 ` [PATCH v2 0/3] Introduce support for creating IIO devices via configfs Jonathan Cameron

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).