aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2014-06-14 17:43:23 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2014-06-14 17:43:23 -0400
commit503698e12d68f6144b408b11156ad315943ffb53 (patch)
tree378979f76b321a114e910da59e06f1d6c2ff625e /Documentation
parent6391f34e844c71ebf645058b2b643f70fed5b990 (diff)
parent78cebd0889c7b8b92f43e7667efc16636b858c34 (diff)
Merge tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging
Pull hwmon updates from Guenter Roeck: - new driver for Sensirion SHTC1 humidity / temperature sensor - convert ltc4151 and vexpress drivers to use devm functions - drop generic chip detection from lm85 driver - avoid forward declarations in atxp1 driver - fix sign extensions in ina2xx driver * tag 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/groeck/linux-staging: hwmon: vexpress: Use devm helper for hwmon device registration hwmon: (atxp1) Avoid forward declaration hwmon: add support for Sensirion SHTC1 sensor hwmon: (ltc4151) Convert to devm_hwmon_device_register_with_groups hwmon: (lm85) Drop generic detection hwmon: (ina2xx) Cast to s16 on shunt and current regs
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/hwmon/shtc143
1 files changed, 43 insertions, 0 deletions
diff --git a/Documentation/hwmon/shtc1 b/Documentation/hwmon/shtc1
new file mode 100644
index 000000000000..6b1e05458f0f
--- /dev/null
+++ b/Documentation/hwmon/shtc1
@@ -0,0 +1,43 @@
1Kernel driver shtc1
2===================
3
4Supported chips:
5 * Sensirion SHTC1
6 Prefix: 'shtc1'
7 Addresses scanned: none
8 Datasheet: http://www.sensirion.com/file/datasheet_shtc1
9
10 * Sensirion SHTW1
11 Prefix: 'shtw1'
12 Addresses scanned: none
13 Datasheet: Not publicly available
14
15Author:
16 Johannes Winkelmann <johannes.winkelmann@sensirion.com>
17
18Description
19-----------
20
21This driver implements support for the Sensirion SHTC1 chip, a humidity and
22temperature sensor. Temperature is measured in degrees celsius, relative
23humidity is expressed as a percentage. Driver can be used as well for SHTW1
24chip, which has the same electrical interface.
25
26The device communicates with the I2C protocol. All sensors are set to I2C
27address 0x70. See Documentation/i2c/instantiating-devices for methods to
28instantiate the device.
29
30There are two options configurable by means of shtc1_platform_data:
311. blocking (pull the I2C clock line down while performing the measurement) or
32 non-blocking mode. Blocking mode will guarantee the fastest result but
33 the I2C bus will be busy during that time. By default, non-blocking mode
34 is used. Make sure clock-stretching works properly on your device if you
35 want to use blocking mode.
362. high or low accuracy. High accuracy is used by default and using it is
37 strongly recommended.
38
39sysfs-Interface
40---------------
41
42temp1_input - temperature input
43humidity1_input - humidity input