diff options
| author | Tomas Pop <Tomas.Pop@sensirion.com> | 2014-06-05 18:24:19 -0400 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2014-06-12 11:36:48 -0400 |
| commit | 1a539d372edd9832444e7a3daa710c444c014dc9 (patch) | |
| tree | ae4029bc700a6f66752276477f00f39cd4b6dee5 /include/linux/platform_data | |
| parent | 31e3879127d4db56ad445fd948ca39c393ee65d7 (diff) | |
hwmon: add support for Sensirion SHTC1 sensor
Add support for Sensirion SHTC1 and compatible temperature and humidity
sensors.
Signed-off-by: Tomas Pop <tomas.pop@sensirion.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'include/linux/platform_data')
| -rw-r--r-- | include/linux/platform_data/shtc1.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/include/linux/platform_data/shtc1.h b/include/linux/platform_data/shtc1.h new file mode 100644 index 000000000000..7b8c353f7dc8 --- /dev/null +++ b/include/linux/platform_data/shtc1.h | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | /* | ||
| 2 | * Copyright (C) 2014 Sensirion AG, Switzerland | ||
| 3 | * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com> | ||
| 4 | * | ||
| 5 | * This software is licensed under the terms of the GNU General Public | ||
| 6 | * License version 2, as published by the Free Software Foundation, and | ||
| 7 | * may be copied, distributed, and modified under those terms. | ||
| 8 | * | ||
| 9 | * This program is distributed in the hope that it will be useful, | ||
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
| 12 | * GNU General Public License for more details. | ||
| 13 | * | ||
| 14 | */ | ||
| 15 | |||
| 16 | #ifndef __SHTC1_H_ | ||
| 17 | #define __SHTC1_H_ | ||
| 18 | |||
| 19 | struct shtc1_platform_data { | ||
| 20 | bool blocking_io; | ||
| 21 | bool high_precision; | ||
| 22 | }; | ||
| 23 | #endif /* __SHTC1_H_ */ | ||
