hc
2023-12-08 01573e231f18eb2d99162747186f59511f56b64d
kernel/include/linux/iio/types.h
....@@ -1,10 +1,7 @@
1
+/* SPDX-License-Identifier: GPL-2.0-only */
12 /* industrial I/O data types needed both in and out of kernel
23 *
34 * Copyright (c) 2008 Jonathan Cameron
4
- *
5
- * This program is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU General Public License version 2 as published by
7
- * the Free Software Foundation.
85 */
96
107 #ifndef _IIO_TYPES_H_
....@@ -28,6 +25,7 @@
2825 #define IIO_VAL_INT_MULTIPLE 5
2926 #define IIO_VAL_FRACTIONAL 10
3027 #define IIO_VAL_FRACTIONAL_LOG2 11
28
+#define IIO_VAL_CHAR 12
3129
3230 enum iio_available_type {
3331 IIO_AVAIL_LIST,
....@@ -60,6 +58,8 @@
6058 IIO_CHAN_INFO_DEBOUNCE_TIME,
6159 IIO_CHAN_INFO_CALIBEMISSIVITY,
6260 IIO_CHAN_INFO_OVERSAMPLING_RATIO,
61
+ IIO_CHAN_INFO_THERMOCOUPLE_TYPE,
62
+ IIO_CHAN_INFO_CALIBAMBIENT,
6363 };
6464
6565 #endif /* _IIO_TYPES_H_ */