|
@@ -64,6 +64,7 @@ static const char * const iio_chan_type_name_spec[] = {
|
|
[IIO_TIMESTAMP] = "timestamp",
|
|
[IIO_TIMESTAMP] = "timestamp",
|
|
[IIO_CAPACITANCE] = "capacitance",
|
|
[IIO_CAPACITANCE] = "capacitance",
|
|
[IIO_ALTVOLTAGE] = "altvoltage",
|
|
[IIO_ALTVOLTAGE] = "altvoltage",
|
|
|
|
+ [IIO_CCT] = "cct",
|
|
};
|
|
};
|
|
|
|
|
|
static const char * const iio_modifier_names[] = {
|
|
static const char * const iio_modifier_names[] = {
|
|
@@ -74,6 +75,10 @@ static const char * const iio_modifier_names[] = {
|
|
[IIO_MOD_SUM_SQUARED_X_Y_Z] = "x^2+y^2+z^2",
|
|
[IIO_MOD_SUM_SQUARED_X_Y_Z] = "x^2+y^2+z^2",
|
|
[IIO_MOD_LIGHT_BOTH] = "both",
|
|
[IIO_MOD_LIGHT_BOTH] = "both",
|
|
[IIO_MOD_LIGHT_IR] = "ir",
|
|
[IIO_MOD_LIGHT_IR] = "ir",
|
|
|
|
+ [IIO_MOD_LIGHT_CLEAR] = "clear",
|
|
|
|
+ [IIO_MOD_LIGHT_RED] = "red",
|
|
|
|
+ [IIO_MOD_LIGHT_GREEN] = "green",
|
|
|
|
+ [IIO_MOD_LIGHT_BLUE] = "blue",
|
|
};
|
|
};
|
|
|
|
|
|
/* relies on pairs of these shared then separate */
|
|
/* relies on pairs of these shared then separate */
|