summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTomas Pop <Tomas.Pop@sensirion.com>2014-06-06 00:24:19 +0200
committerGuenter Roeck <linux@roeck-us.net>2014-06-12 17:36:48 +0200
commit1a539d372edd9832444e7a3daa710c444c014dc9 (patch)
treeae4029bc700a6f66752276477f00f39cd4b6dee5 /include
parenthwmon: (ltc4151) Convert to devm_hwmon_device_register_with_groups (diff)
downloadlinux-1a539d372edd9832444e7a3daa710c444c014dc9.tar.xz
linux-1a539d372edd9832444e7a3daa710c444c014dc9.zip
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')
-rw-r--r--include/linux/platform_data/shtc1.h23
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_ */