Skip to content

Commit 49c5c7c

Browse files
javiercarrascocruzpelwell
authored andcommitted
iio: add modifiers for A and B ultraviolet light
commit b89710b upstream. Currently there are only two modifiers for ultraviolet light: a generic one for any ultraviolet light (IIO_MOD_LIGHT_UV) and one for deep ultraviolet (IIO_MOD_LIGHT_DUV), which is also referred as ultraviolet C (UV-C) band and covers short-wave ultraviolet. There are still no modifiers for the long-wave and medium-wave ultraviolet bands. These two bands are the main components used to obtain the UV index on the Earth's surface. Add modifiers for the ultraviolet A (UV-A) and ultraviolet B (UV-B) bands. Signed-off-by: Javier Carrasco <javier.carrasco.cruz@gmail.com> Link: https://lore.kernel.org/r/20231110-veml6075-v3-1-6ee46775b422@gmail.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
1 parent 7ed6e66 commit 49c5c7c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/uapi/linux/iio/types.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,8 @@ enum iio_modifier {
9191
IIO_MOD_CO2,
9292
IIO_MOD_VOC,
9393
IIO_MOD_LIGHT_UV,
94+
IIO_MOD_LIGHT_UVA,
95+
IIO_MOD_LIGHT_UVB,
9496
IIO_MOD_LIGHT_DUV,
9597
IIO_MOD_PM1,
9698
IIO_MOD_PM2P5,

0 commit comments

Comments
 (0)