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


Groups > linux.kernel > #1272230

[RFC 0/9] spawn hrtimer trigger from client driver upon enabling buffer

From Marc Titinger <mtitinger@baylibre.com>
Newsgroups linux.kernel
Subject [RFC 0/9] spawn hrtimer trigger from client driver upon enabling buffer
Date 2015-11-18 15:40 +0100
Message-ID <qwc3T-48h-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


this builds upon the sw-trigger / hrtimer series from Daniel[1]
in order to create the trigger upon enabling the buffer when the
sampling frequency is known. This is useful for devices without
hardware streaming scheme, to avoid the complexity of creating
a separate trigger through configfs, and then setting
the sw-trigger frequency from both device0 and the trigger.

[1]: https://lkml.org/lkml/2015/10/23/369

Daniel Baluta (5):
  configfs: Allow dynamic group creation
  iio: core: Introduce IIO configfs support
  iio: core: Introduce IIO software triggers
  iio: trigger: Introduce IIO hrtimer based trigger
  iio: Documentation: Add IIO configfs documentation

Marc Titinger (4):
  iio: ina2xx: add direct IO support for TI INA2xx Power Monitors
  iio: ina2xx: add triggered buffer
  iio: buffer: allow for last-second trigger spawning from device driver
  iio: (RFC) illustrate creation/destruction of hrtimer trigger upon
    buffer enable

 Documentation/ABI/testing/configfs-iio |  21 ++
 Documentation/iio/iio_configfs.txt     |  93 +++++
 drivers/iio/Kconfig                    |  16 +
 drivers/iio/Makefile                   |   2 +
 drivers/iio/adc/Kconfig                |  12 +
 drivers/iio/adc/Makefile               |   1 +
 drivers/iio/adc/ina2xx-iio.c           | 661 +++++++++++++++++++++++++++++++++
 drivers/iio/industrialio-buffer.c      |   5 +
 drivers/iio/industrialio-configfs.c    |  50 +++
 drivers/iio/industrialio-sw-trigger.c  | 183 +++++++++
 drivers/iio/trigger/Kconfig            |  10 +
 drivers/iio/trigger/Makefile           |   2 +
 drivers/iio/trigger/iio-trig-hrtimer.c | 193 ++++++++++
 fs/configfs/dir.c                      | 110 ++++++
 include/linux/configfs.h               |  10 +
 include/linux/iio/iio.h                |   3 +
 include/linux/iio/sw_trigger.h         |  71 ++++
 17 files changed, 1443 insertions(+)
 create mode 100644 Documentation/ABI/testing/configfs-iio
 create mode 100644 Documentation/iio/iio_configfs.txt
 create mode 100644 drivers/iio/adc/ina2xx-iio.c
 create mode 100644 drivers/iio/industrialio-configfs.c
 create mode 100644 drivers/iio/industrialio-sw-trigger.c
 create mode 100644 drivers/iio/trigger/iio-trig-hrtimer.c
 create mode 100644 include/linux/iio/sw_trigger.h

-- 
1.9.1

--
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 | NextNext in thread | Find similar | Unroll thread


Thread

[RFC 0/9] spawn hrtimer trigger from client driver upon enabling buffer Marc Titinger <mtitinger@baylibre.com> - 2015-11-18 15:40 +0100
  [RFC 1/9] configfs: Allow dynamic group creation Marc Titinger <mtitinger@baylibre.com> - 2015-11-18 15:40 +0100
  [RFC 7/9] iio: ina2xx: add triggered buffer Marc Titinger <mtitinger@baylibre.com> - 2015-11-18 15:50 +0100
  [RFC 2/9] iio: core: Introduce IIO configfs support Marc Titinger <mtitinger@baylibre.com> - 2015-11-18 15:50 +0100
  [RFC 8/9] iio: buffer: allow for last-second trigger spawning from device driver Marc Titinger <mtitinger@baylibre.com> - 2015-11-18 15:50 +0100
    Re: [RFC 8/9] iio: buffer: allow for last-second trigger spawning  from device driver Jonathan Cameron <jic23@kernel.org> - 2015-11-18 20:00 +0100
      Re: [RFC 8/9] iio: buffer: allow for last-second trigger spawning  from device driver Marc Titinger <mtitinger@baylibre.com> - 2015-11-19 10:20 +0100
        Re: [RFC 8/9] iio: buffer: allow for last-second trigger spawning  from device driver Jonathan Cameron <jic23@kernel.org> - 2015-11-21 19:20 +0100
  [RFC 3/9] iio: core: Introduce IIO software triggers Marc Titinger <mtitinger@baylibre.com> - 2015-11-18 15:50 +0100
  [RFC 6/9] iio: ina2xx: add direct IO support for TI INA2xx Power Monitors Marc Titinger <mtitinger@baylibre.com> - 2015-11-18 15:50 +0100
    Re: [RFC 6/9] iio: ina2xx: add direct IO support for TI INA2xx Power  Monitors Jonathan Cameron <jic23@kernel.org> - 2015-11-21 19:20 +0100
      Re: [RFC 6/9] iio: ina2xx: add direct IO support for TI INA2xx Power  Monitors Marc Titinger <mtitinger@baylibre.com> - 2015-11-23 17:20 +0100
        Re: [RFC 6/9] iio: ina2xx: add direct IO support for TI INA2xx Power  Monitors Jonathan Cameron <jic23@kernel.org> - 2015-11-29 16:20 +0100

csiph-web