diff options
author | Tomas Pop <Tomas.Pop@sensirion.com> | 2014-06-06 02:24:19 +0400 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2014-06-12 19:36:48 +0400 |
commit | 1a539d372edd9832444e7a3daa710c444c014dc9 (patch) | |
tree | ae4029bc700a6f66752276477f00f39cd4b6dee5 /include/linux | |
parent | 31e3879127d4db56ad445fd948ca39c393ee65d7 (diff) | |
download | linux-1a539d372edd9832444e7a3daa710c444c014dc9.tar.xz |
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')
-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 @@ +/* + * Copyright (C) 2014 Sensirion AG, Switzerland + * Author: Johannes Winkelmann <johannes.winkelmann@sensirion.com> + * + * This software is licensed under the terms of the GNU General Public + * License version 2, as published by the Free Software Foundation, and + * may be copied, distributed, and modified under those terms. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + */ + +#ifndef __SHTC1_H_ +#define __SHTC1_H_ + +struct shtc1_platform_data { + bool blocking_io; + bool high_precision; +}; +#endif /* __SHTC1_H_ */ |