diff options
author | Jon Brenner <jbrenner@taosinc.com> | 2012-05-16 11:46:42 -0400 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2012-07-10 13:49:26 -0400 |
commit | 21cd1fab058671313f7c178b640999fcd0d8de21 (patch) | |
tree | 914b425f6979bb712d29bffd85cc8b28c8eb0624 /include/linux/iio | |
parent | ee0312a05ddceb0fc871f39b8f56b4cabc5176aa (diff) |
IIO channel type and modifiers for CCT and RGBC data
Add iio channel type and modifiers for Correlated Color Temperature (CCT)
and RGBC (red/green/blue/clear) data.
Add CCT and RGBC descriptions to documentation.
Changes:
Revised/condensed RGBC descriptions.
Merge and trivial fix done by Jonathan Cameron.
Signed-off-by: Jon Brenner <jbrenner@taosinc.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'include/linux/iio')
-rw-r--r-- | include/linux/iio/types.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/iio/types.h b/include/linux/iio/types.h index e25040173346..44e397705d7f 100644 --- a/include/linux/iio/types.h +++ b/include/linux/iio/types.h | |||
@@ -27,6 +27,7 @@ enum iio_chan_type { | |||
27 | IIO_TIMESTAMP, | 27 | IIO_TIMESTAMP, |
28 | IIO_CAPACITANCE, | 28 | IIO_CAPACITANCE, |
29 | IIO_ALTVOLTAGE, | 29 | IIO_ALTVOLTAGE, |
30 | IIO_CCT, | ||
30 | }; | 31 | }; |
31 | 32 | ||
32 | enum iio_modifier { | 33 | enum iio_modifier { |
@@ -46,6 +47,10 @@ enum iio_modifier { | |||
46 | IIO_MOD_LIGHT_IR, | 47 | IIO_MOD_LIGHT_IR, |
47 | IIO_MOD_ROOT_SUM_SQUARED_X_Y, | 48 | IIO_MOD_ROOT_SUM_SQUARED_X_Y, |
48 | IIO_MOD_SUM_SQUARED_X_Y_Z, | 49 | IIO_MOD_SUM_SQUARED_X_Y_Z, |
50 | IIO_MOD_LIGHT_CLEAR, | ||
51 | IIO_MOD_LIGHT_RED, | ||
52 | IIO_MOD_LIGHT_GREEN, | ||
53 | IIO_MOD_LIGHT_BLUE, | ||
49 | }; | 54 | }; |
50 | 55 | ||
51 | #define IIO_VAL_INT 1 | 56 | #define IIO_VAL_INT 1 |