-
Notifications
You must be signed in to change notification settings - Fork 5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iio: add modifiers for A and B ultraviolet light
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information
1 parent
95a9fd6
commit 671c830
Showing
4 changed files
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1529,6 +1529,8 @@ What: /sys/.../iio:deviceX/in_intensityY_raw | |
What: /sys/.../iio:deviceX/in_intensityY_ir_raw | ||
What: /sys/.../iio:deviceX/in_intensityY_both_raw | ||
What: /sys/.../iio:deviceX/in_intensityY_uv_raw | ||
What: /sys/.../iio:deviceX/in_intensityY_uva_raw | ||
What: /sys/.../iio:deviceX/in_intensityY_uvb_raw | ||
What: /sys/.../iio:deviceX/in_intensityY_duv_raw | ||
KernelVersion: 3.4 | ||
Contact: [email protected] | ||
|
@@ -1537,8 +1539,9 @@ Description: | |
that measurements contain visible and infrared light | ||
components or just infrared light, respectively. Modifier | ||
uv indicates that measurements contain ultraviolet light | ||
components. Modifier duv indicates that measurements | ||
contain deep ultraviolet light components. | ||
components. Modifiers uva, uvb and duv indicate that | ||
measurements contain A, B or deep (C) ultraviolet light | ||
components respectively. | ||
|
||
What: /sys/.../iio:deviceX/in_uvindex_input | ||
KernelVersion: 4.6 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters