diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-14 17:43:23 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-06-14 17:43:23 -0400 |
commit | 503698e12d68f6144b408b11156ad315943ffb53 (patch) | |
tree | 378979f76b321a114e910da59e06f1d6c2ff625e /Documentation | |
parent | 6391f34e844c71ebf645058b2b643f70fed5b990 (diff) | |
parent | 78cebd0889c7b8b92f43e7667efc16636b858c34 (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/shtc1 | 43 |
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 @@ | |||
1 | Kernel driver shtc1 | ||
2 | =================== | ||
3 | |||
4 | Supported 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 | |||
15 | Author: | ||
16 | Johannes Winkelmann <johannes.winkelmann@sensirion.com> | ||
17 | |||
18 | Description | ||
19 | ----------- | ||
20 | |||
21 | This driver implements support for the Sensirion SHTC1 chip, a humidity and | ||
22 | temperature sensor. Temperature is measured in degrees celsius, relative | ||
23 | humidity is expressed as a percentage. Driver can be used as well for SHTW1 | ||
24 | chip, which has the same electrical interface. | ||
25 | |||
26 | The device communicates with the I2C protocol. All sensors are set to I2C | ||
27 | address 0x70. See Documentation/i2c/instantiating-devices for methods to | ||
28 | instantiate the device. | ||
29 | |||
30 | There are two options configurable by means of shtc1_platform_data: | ||
31 | 1. 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. | ||
36 | 2. high or low accuracy. High accuracy is used by default and using it is | ||
37 | strongly recommended. | ||
38 | |||
39 | sysfs-Interface | ||
40 | --------------- | ||
41 | |||
42 | temp1_input - temperature input | ||
43 | humidity1_input - humidity input | ||