File tree Expand file tree Collapse file tree
Documentation/ABI/testing Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1307,13 +1307,16 @@ What: /sys/.../iio:deviceX/in_intensityY_raw
13071307What: /sys/.../iio:deviceX/in_intensityY_ir_raw
13081308What: /sys/.../iio:deviceX/in_intensityY_both_raw
13091309What: /sys/.../iio:deviceX/in_intensityY_uv_raw
1310+ What: /sys/.../iio:deviceX/in_intensityY_duv_raw
13101311KernelVersion: 3.4
13111312Contact: linux-iio@vger.kernel.org
13121313Description:
13131314 Unit-less light intensity. Modifiers both and ir indicate
13141315 that measurements contain visible and infrared light
1315- components or just infrared light, respectively. Modifier uv indicates
1316- that measurements contain ultraviolet light components.
1316+ components or just infrared light, respectively. Modifier
1317+ uv indicates that measurements contain ultraviolet light
1318+ components. Modifier duv indicates that measurements
1319+ contain deep ultraviolet light components.
13171320
13181321What: /sys/.../iio:deviceX/in_uvindex_input
13191322KernelVersion: 4.6
Original file line number Diff line number Diff line change @@ -110,6 +110,7 @@ static const char * const iio_modifier_names[] = {
110110 [IIO_MOD_LIGHT_GREEN ] = "green" ,
111111 [IIO_MOD_LIGHT_BLUE ] = "blue" ,
112112 [IIO_MOD_LIGHT_UV ] = "uv" ,
113+ [IIO_MOD_LIGHT_DUV ] = "duv" ,
113114 [IIO_MOD_QUATERNION ] = "quaternion" ,
114115 [IIO_MOD_TEMP_AMBIENT ] = "ambient" ,
115116 [IIO_MOD_TEMP_OBJECT ] = "object" ,
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ enum iio_modifier {
8686 IIO_MOD_CO2 ,
8787 IIO_MOD_VOC ,
8888 IIO_MOD_LIGHT_UV ,
89+ IIO_MOD_LIGHT_DUV ,
8990};
9091
9192enum iio_event_type {
Original file line number Diff line number Diff line change @@ -98,6 +98,7 @@ static const char * const iio_modifier_names[] = {
9898 [IIO_MOD_LIGHT_GREEN ] = "green" ,
9999 [IIO_MOD_LIGHT_BLUE ] = "blue" ,
100100 [IIO_MOD_LIGHT_UV ] = "uv" ,
101+ [IIO_MOD_LIGHT_DUV ] = "duv" ,
101102 [IIO_MOD_QUATERNION ] = "quaternion" ,
102103 [IIO_MOD_TEMP_AMBIENT ] = "ambient" ,
103104 [IIO_MOD_TEMP_OBJECT ] = "object" ,
@@ -182,6 +183,7 @@ static bool event_is_known(struct iio_event_data *event)
182183 case IIO_MOD_LIGHT_GREEN :
183184 case IIO_MOD_LIGHT_BLUE :
184185 case IIO_MOD_LIGHT_UV :
186+ case IIO_MOD_LIGHT_DUV :
185187 case IIO_MOD_QUATERNION :
186188 case IIO_MOD_TEMP_AMBIENT :
187189 case IIO_MOD_TEMP_OBJECT :
You can’t perform that action at this time.
0 commit comments