Skip to content

Commit

Permalink
STMEMS: Added iio type patch for STMEMS
Browse files Browse the repository at this point in the history
Signed-off-by: mario tesi <mario.tesi@st.com>
  • Loading branch information
mariotesi authored and markfeathers committed Aug 7, 2023
1 parent 29df723 commit 740f7fd
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions include/uapi/linux/iio/types.h
Expand Up @@ -40,6 +40,14 @@ enum iio_chan_type {
IIO_PH,
IIO_UVINDEX,
IIO_ELECTRICALCONDUCTIVITY,
IIO_SIGN_MOTION,
IIO_STEP_DETECTOR,
IIO_STEP_COUNTER,
IIO_TILT,
IIO_TAP,
IIO_TAP_TAP,
IIO_WRIST_TILT_GESTURE,
IIO_GESTURE,
};

enum iio_modifier {
Expand Down Expand Up @@ -89,13 +97,16 @@ enum iio_event_type {
IIO_EV_TYPE_THRESH_ADAPTIVE,
IIO_EV_TYPE_MAG_ADAPTIVE,
IIO_EV_TYPE_CHANGE,
IIO_EV_TYPE_FIFO_FLUSH,
};

enum iio_event_direction {
IIO_EV_DIR_EITHER,
IIO_EV_DIR_RISING,
IIO_EV_DIR_FALLING,
IIO_EV_DIR_NONE,
IIO_EV_DIR_FIFO_EMPTY,
IIO_EV_DIR_FIFO_DATA,
};

#endif /* _UAPI_IIO_TYPES_H_ */
Expand Down

0 comments on commit 740f7fd

Please sign in to comment.