diff options
author | Ricardo Ribalda <ribalda@chromium.org> | 2024-11-01 07:46:29 +0000 |
---|---|---|
committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2024-11-03 20:33:43 +0000 |
commit | 9d2fe9cd02ca5f1e70a7eff0262fb3668a27db0c (patch) | |
tree | 04598293bfb1feaaebe19d5b89ef6f16a8475025 /drivers/iio | |
parent | 9b20c3fe68bd82e0eb7d74a5ab968553b90596aa (diff) | |
download | linux-stable-9d2fe9cd02ca5f1e70a7eff0262fb3668a27db0c.tar.gz linux-stable-9d2fe9cd02ca5f1e70a7eff0262fb3668a27db0c.tar.bz2 linux-stable-9d2fe9cd02ca5f1e70a7eff0262fb3668a27db0c.zip |
iio: Add channel type for attention
Add a new channel type representing if the user's attention state to the
the system. This usually means if the user is looking at the screen or
not.
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://patch.msgid.link/20241101-hpd-v3-3-e9c80b7c7164@chromium.org
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'drivers/iio')
-rw-r--r-- | drivers/iio/industrialio-core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/iio/industrialio-core.c b/drivers/iio/industrialio-core.c index 4c543490e56c..a2117ad1337d 100644 --- a/drivers/iio/industrialio-core.c +++ b/drivers/iio/industrialio-core.c @@ -95,6 +95,7 @@ static const char * const iio_chan_type_name_spec[] = { [IIO_DELTA_VELOCITY] = "deltavelocity", [IIO_COLORTEMP] = "colortemp", [IIO_CHROMATICITY] = "chromaticity", + [IIO_ATTENTION] = "attention", }; static const char * const iio_modifier_names[] = { |