diff options
| -rw-r--r-- | drivers/iio/industrialio-core.c | 4 | ||||
| -rw-r--r-- | include/linux/iio/types.h | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 13515f40700..a667c418018 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -71,6 +71,10 @@ static const char * const iio_chan_type_name_spec[] = { [IIO_PASSIVE] = "passive", [IIO_GESTURE] = "gesture", [IIO_FUSION] = "fusion", + [IIO_SIGN_MOTION] = "sign_motion", + [IIO_STEP_COUNTER] = "step_counter", + [IIO_TILT] = "tilt", + [IIO_STEP_DETECTOR] = "step_detector", }; static const char * const iio_modifier_names[] = { diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h index a0aff63cf74..75fdea40e92 100644 --- a/include/linux/iio/types.h +++ b/include/linux/iio/types.h @@ -34,6 +34,10 @@ enum iio_chan_type { IIO_PASSIVE, IIO_GESTURE, IIO_FUSION, + IIO_SIGN_MOTION, + IIO_STEP_COUNTER, + IIO_TILT, + IIO_STEP_DETECTOR, }; enum iio_modifier { |