iio: Add channels for LSM6DSR sensor HUB

Add new channels types support for LSM6DSR sensor HUB:
* IIO_SIGN_MOTION
* IIO_STEP_DETECTOR
* IIO_STEP_COUNTER
* IIO_TILT
* IIO_TAP
* IIO_TAP_TAP
* IIO_WRIST_TILT_GESTURE
* IIO_GESTURE

Signed-off-by: Jason Zhang <jason.zhang@rock-chips.com>
Change-Id: I8f3f2feae32b94ad6802a9a359ec11ab94a96816
This commit is contained in:
Jason Zhang
2022-06-07 11:50:56 +08:00
committed by Tao Huang
parent 2c5b0fb9db
commit a2c96f974d
3 changed files with 30 additions and 0 deletions
+10
View File
@@ -47,6 +47,16 @@ enum iio_chan_type {
IIO_POSITIONRELATIVE,
IIO_PHASE,
IIO_MASSCONCENTRATION,
#ifdef CONFIG_NO_GKI
IIO_SIGN_MOTION,
IIO_STEP_DETECTOR,
IIO_STEP_COUNTER,
IIO_TILT,
IIO_TAP,
IIO_TAP_TAP,
IIO_WRIST_TILT_GESTURE,
IIO_GESTURE,
#endif
};
enum iio_modifier {