diff options
| author | Francesco Lavra <flavra@baylibre.com> | 2025-12-01 11:00:18 +0100 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2025-12-21 11:41:11 +0000 |
| commit | ce40e01d7ce2a15ba14fde314df30787fa1d58cb (patch) | |
| tree | 54f4b6ccf89b03d4fdf98bbacb8ff3837b7526c3 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 317c9bef82ebe369fd1dac428eac505b5b6ff531 (diff) | |
| download | linux-ce40e01d7ce2a15ba14fde314df30787fa1d58cb.tar.gz linux-ce40e01d7ce2a15ba14fde314df30787fa1d58cb.zip | |
iio: imu: st_lsm6dsx: add tap event detection
In order to allow sensors to advertise tap event capability and report tap
events, define a new struct iio_event_spec array that includes a tap event
spec, and a new struct iio_chan_spec array that references the new
iio_event_spec array; for the LSM6DSV chip family, use the new
iio_chan_spec array and define an event source for tap events.
Tested on LSMDSV16X.
Signed-off-by: Francesco Lavra <flavra@baylibre.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@intel.com>
Acked-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
