mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
ad736c1a4d
Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de> Link: https://lore.kernel.org/r/20200719175512.60745-1-grandmaster@al2klimov.de Signed-off-by: Guenter Roeck <linux@roeck-us.net>
68 lines
1.5 KiB
ReStructuredText
68 lines
1.5 KiB
ReStructuredText
Kernel driver shtc1
|
|
===================
|
|
|
|
Supported chips:
|
|
|
|
* Sensirion SHTC1
|
|
|
|
Prefix: 'shtc1'
|
|
|
|
Addresses scanned: none
|
|
|
|
Datasheet: https://www.sensirion.com/file/datasheet_shtc1
|
|
|
|
|
|
|
|
* Sensirion SHTW1
|
|
|
|
Prefix: 'shtw1'
|
|
|
|
Addresses scanned: none
|
|
|
|
Datasheet: https://www.sensirion.com/file/datasheet_shtw1
|
|
|
|
|
|
|
|
* Sensirion SHTC3
|
|
|
|
Prefix: 'shtc3'
|
|
|
|
Addresses scanned: none
|
|
|
|
Datasheet: https://www.sensirion.com/file/datasheet_shtc3
|
|
|
|
|
|
|
|
Author:
|
|
|
|
Johannes Winkelmann <johannes.winkelmann@sensirion.com>
|
|
|
|
Description
|
|
-----------
|
|
|
|
This driver implements support for the Sensirion SHTC1, SHTW1, and SHTC3
|
|
chips, a humidity and temperature sensor. Temperature is measured in degrees
|
|
celsius, relative humidity is expressed as a percentage.
|
|
|
|
The device communicates with the I2C protocol. All sensors are set to I2C
|
|
address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to
|
|
instantiate the device.
|
|
|
|
There are two options configurable by means of shtc1_platform_data:
|
|
|
|
1. blocking (pull the I2C clock line down while performing the measurement) or
|
|
non-blocking mode. Blocking mode will guarantee the fastest result but
|
|
the I2C bus will be busy during that time. By default, non-blocking mode
|
|
is used. Make sure clock-stretching works properly on your device if you
|
|
want to use blocking mode.
|
|
2. high or low accuracy. High accuracy is used by default and using it is
|
|
strongly recommended.
|
|
|
|
sysfs-Interface
|
|
---------------
|
|
|
|
temp1_input
|
|
- temperature input
|
|
humidity1_input
|
|
- humidity input
|