[PATCH 3/8] iio: mma8452: add freefall / motion interrupt source

2015-07-27 Thread Martin Kepplinger
This adds the freefall / motion interrupt source definitions to the driver. It is used in this series' next patch, for chips that don't support the transient interrupt source. The iio event type is IIO_EV_TYPE_MAG since the threshold for comparison is no signed value. An interrupt occurs on positi

Re: [PATCH 3/8] iio: mma8452: add freefall / motion interrupt source

2015-07-19 Thread Jonathan Cameron
On 06/07/15 13:34, Martin Kepplinger wrote: > This adds the freefall / motion interrupt source definitions to the driver. > It is used in this series' next patch, for chips that don't support the > transient interrupt source. > > The iio event type is IIO_EV_TYPE_MAG since the threshold for compar

Re: [PATCH 3/8] iio: mma8452: add freefall / motion interrupt source

2015-07-06 Thread Martin Kepplinger
Am 2015-07-06 um 14:34 schrieb Martin Kepplinger: > This adds the freefall / motion interrupt source definitions to the driver. > It is used in this series' next patch, for chips that don't support the > transient interrupt source. > > The iio event type is IIO_EV_TYPE_MAG since the threshold for

[PATCH 3/8] iio: mma8452: add freefall / motion interrupt source

2015-07-06 Thread Martin Kepplinger
This adds the freefall / motion interrupt source definitions to the driver. It is used in this series' next patch, for chips that don't support the transient interrupt source. The iio event type is IIO_EV_TYPE_MAG since the threshold for comparison is no signed value. An interrupt occurs on positi

[PATCH 3/8] iio: mma8452: add freefall / motion interrupt source

2015-07-01 Thread Martin Kepplinger
This adds the freefall / motion interrupt source definitions to the driver. It is not in use now, but mma_chip_info and iio_chan_spec can easily be adapted to use it instead of the transient interrupt source. Signed-off-by: Martin Kepplinger Signed-off-by: Christoph Muellner --- drivers/iio/acc