Re: [PATCH v7 3/5] iio: core: Introduce IIO software triggers

2015-08-31 Thread Lars-Peter Clausen
On 08/11/2015 12:42 AM, Daniel Baluta wrote: > A software trigger associates an IIO device trigger with a software > interrupt source (e.g: timer, sysfs). This patch adds the generic > infrastructure for handling software triggers. > > Software interrupts sources are kept in a iio_trigger_types_li

Re: [PATCH v7 3/5] iio: core: Introduce IIO software triggers

2015-08-17 Thread Vladimir Barinov
Hi Daniel, Minor comments since I need your hrtimer trigger support. 1) The drivers/iio/industrialio-sw-trigger.c should probably come to drivers/iio/trigger/ folder which is under ifdef condition in drivers/iio/Kconfig 2) it breaks compilation enabling IIO_HRTIMER_TRIGGER selects IIO_SW_TRIGGE

[PATCH v7 3/5] iio: core: Introduce IIO software triggers

2015-08-10 Thread Daniel Baluta
A software trigger associates an IIO device trigger with a software interrupt source (e.g: timer, sysfs). This patch adds the generic infrastructure for handling software triggers. Software interrupts sources are kept in a iio_trigger_types_list and registered separately when the associated kernel