| /Linux-v6.6/drivers/iio/humidity/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # humidity sensor drivers 5 menu "Humidity sensors" 8 tristate "Aosong AM2315 relative humidity and temperature sensor" 14 relative humidity and ambient temperature sensor. 29 tristate "TI HDC100x relative humidity and temperature sensor" 36 humidity and temperature sensors. 42 tristate "TI HDC2010 relative humidity and temperature sensor" 46 HDC2010 and HDC2080 relative humidity and temperature sensors. 52 tristate "HID Environmental humidity sensor" [all …]
|
| D | htu21.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * htu21.c - Support for Measurement-Specialties 4 * htu21 temperature & humidity sensor 5 * and humidity part of MS8607 sensor 7 * Copyright (c) 2014 Measurement-Specialties 9 * (7-bit I2C slave address 0x40) 12 * http://www.meas-spec.com/downloads/HTU21D.pdf 14 * http://www.meas-spec.com/downloads/MS8607-02BA01.pdf 44 unsigned int humidity; in htu21_read_raw() local 49 switch (channel->type) { in htu21_read_raw() [all …]
|
| D | Makefile | 1 # SPDX-License-Identifier: GPL-2.0 3 # Makefile for IIO humidity sensor drivers 6 obj-$(CONFIG_AM2315) += am2315.o 7 obj-$(CONFIG_DHT11) += dht11.o 8 obj-$(CONFIG_HDC100X) += hdc100x.o 9 obj-$(CONFIG_HDC2010) += hdc2010.o 10 obj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o 12 hts221-y := hts221_core.o \ 14 obj-$(CONFIG_HTS221) += hts221.o 15 obj-$(CONFIG_HTS221_I2C) += hts221_i2c.o [all …]
|
| /Linux-v6.6/Documentation/hwmon/ |
| D | sht3x.rst | 6 * Sensirion SHT3x-DIS 16 - David Frey <david.frey@sensirion.com> 17 - Pascal Sachs <pascal.sachs@sensirion.com> 20 ----------- 22 This driver implements support for the Sensirion SHT3x-DIS chip, a humidity 23 and temperature sensor. Temperature is measured in degrees celsius, relative 24 humidity is expressed as a percentage. In the sysfs interface, all values are 29 Documentation/i2c/instantiating-devices.rst for methods to instantiate the device. 31 Even if sht3x sensor supports clock-strech(blocking mode) and non-strench 32 (non-blocking mode) in single-shot mode, this driver only supports the latter. [all …]
|
| D | sht4x.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 ----------- 24 This driver implements support for the Sensirion SHT4x chip, a humidity 25 and temperature sensor. Temperature is measured in degree celsius, relative 26 humidity is expressed as a percentage. In sysfs interface, all values are 30 ----------- 33 address 0x44. See Documentation/i2c/instantiating-devices.rst for methods 37 ------------- 41 humidity1_input Measured humidity in %H 42 update_interval The minimum interval for polling the sensor,
|
| D | sht15.rst | 35 http://www.sensirion.ch/en/pdf/product_information/Datasheet-humidity-sensor-SHT1x.pdf 38 ----------- 40 The SHT10, SHT11, SHT15, SHT71, and SHT75 are humidity and temperature 46 bits for humidity, or 12 bits for temperature and 8 bits for humidity. 48 The humidity calibration coefficients are programmed into an OTP memory on the 62 ------------- 69 flag to indicate the temp/humidity resolution to use (default to false). 72 --------------- 76 humidity1_input humidity input 77 heater_enable write 1 in this attribute to enable the on-chip heater,
|
| D | aht10.rst | 1 .. SPDX-License-Identifier: GPL-2.0 27 ----------- 29 The AHT10/AHT20 is a Temperature and Humidity sensor 34 ---------------- 36 AHT20 has additional CRC8 support which is sent as the last byte of the sensor 40 ----------- 45 Documentation/i2c/instantiating-devices.rst for details. 48 ------------- 52 humidity1_input Measured humidity in %H 53 update_interval The minimum interval for polling the sensor,
|
| D | shtc1.rst | 41 ----------- 44 chips, a humidity and temperature sensor. Temperature is measured in degrees 45 celsius, relative humidity is expressed as a percentage. 48 address 0x70. See Documentation/i2c/instantiating-devices.rst for methods to 54 non-blocking mode. Blocking mode will guarantee the fastest result but 55 the I2C bus will be busy during that time. By default, non-blocking mode 56 is used. Make sure clock-stretching works properly on your device if you 61 sysfs-Interface 62 --------------- 65 - temperature input [all …]
|
| D | sysfs-interface.rst | 5 through the sysfs interface. Since lm-sensors 3.0.0, libsensors is 6 completely chip-independent. It assumes that all the kernel drivers 10 This is a major improvement compared to lm-sensors 2. 12 Note that motherboards vary widely in the connections to sensor chips. 14 temperature sensor is connected to the CPU, or that the second fan is on 22 For this reason, even if we aim at a chip-independent libsensors, it will 34 find all sensor chips, it is easier to follow the device symlinks from 37 Up to lm-sensors 3.0.0, libsensors looks for hardware monitoring attributes 38 in the "physical" device directory. Since lm-sensors 3.0.1, attributes found 48 types for sensor chips are "in" (voltage), "temp" (temperature) and [all …]
|
| /Linux-v6.6/Documentation/devicetree/bindings/ |
| D | trivial-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/trivial-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 27 spi-max-frequency: true 31 - enum: 33 - acbel,fsg032 34 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 35 - ad,ad7414 [all …]
|
| /Linux-v6.6/drivers/hwmon/ |
| D | hih6130.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Honeywell HIH-6130/HIH-6131 humidity and temperature sensor driver 9 * Data sheets available (2012-06-22) at 18 #include <linux/hwmon-sysfs.h> 26 * struct hih6130 - HIH-6130 device specific data 32 * @humidity: cached humidity measurement value 41 int humidity; member 46 * hih6130_temp_ticks_to_millicelsius() - convert raw temperature ticks to 48 * @ticks: temperature ticks value received from sensor 55 * Formula T = ( ticks / ( 2^14 - 2 ) ) * 165 -40 in hih6130_temp_ticks_to_millicelsius() [all …]
|
| D | hs3001.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * This is a non-complete driver implementation for the 4 * HS3001 humidity and temperature sensor and compatibles. It does not include 6 * during power-up. 10 * Author: Andre Werner <andre.werner@systec-electronic.com> 48 u32 humidity; /* in milli % */ member 56 temp /= (1 << 14) - 1; in hs3001_extract_temperature() 58 return (int)temp - 40 * HS3001_FIXPOINT_ARITH; in hs3001_extract_temperature() 65 return hum /= (1 << 14) - 1; in hs3001_extract_humidity() 77 ret = ret < 0 ? ret : -EIO; in hs3001_data_fetch_command() [all …]
|
| D | sht21.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Sensirion SHT21 humidity and temperature sensor driver 14 #include <linux/hwmon-sysfs.h> 29 * struct sht21 - SHT21 device specific data 34 * @humidity: cached humidity measurement value 43 int humidity; member 49 * sht21_temp_ticks_to_millicelsius() - convert raw temperature ticks to 51 * @ticks: temperature ticks value received from sensor 57 * Formula T = -46.85 + 175.72 * ST / 2^16 from data sheet 6.2, in sht21_temp_ticks_to_millicelsius() 60 return ((21965 * ticks) >> 13) - 46850; in sht21_temp_ticks_to_millicelsius() [all …]
|
| D | aht10.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * aht10.c - Linux hwmon driver for AHT10/AHT20 Temperature and Humidity sensors 61 * struct aht10_data - All the data required to operate an AHT10/AHT20 chip 76 * @humidity: the latest humidity value received from the 92 int humidity; member 98 * aht10_init() - Initialize an AHT10/AHT20 chip 108 struct i2c_client *client = data->client; in aht10_init() 119 return -ENODATA; in aht10_init() 122 return -EBUSY; in aht10_init() 128 * aht10_polltime_expired() - check if the minimum poll interval has [all …]
|
| D | sht3x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 2 /* Sensirion SHT3x-DIS humidity and temperature sensor driver. 16 #include <linux/hwmon-sysfs.h> 45 /* delays for single-shot mode i2c commands, both in us */ 56 #define SHT3X_MIN_TEMPERATURE -45000 155 HWMON_CHANNEL_INFO(humidity, HWMON_H_INPUT | HWMON_H_MIN | 174 * cached values for temperature and humidity and limits 180 u32 humidity; member 198 return number_of_modes - 1; in get_mode_from_update_interval() 208 mutex_lock(&data->i2c_lock); in sht3x_read_from_command() [all …]
|
| D | sht4x.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * sht4x.c - Linux hwmon driver for SHT4x Temperature and Humidity sensor 41 #define SHT4X_MIN_TEMPERATURE -45000 49 * struct sht4x_data - All the data required to operate an SHT4X chip 55 * @humidity: the latest humidity value received from the SHT4X 61 long update_interval; /* in milli-seconds */ 64 s32 humidity; member 68 * sht4x_read_values() - read and parse the raw data from the SHT4X 70 * Return: 0 if successful, -ERRNO if not 77 struct i2c_client *client = data->client; in sht4x_read_values() [all …]
|
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 20 sensors-detect script from the lm_sensors package. Read 21 <file:Documentation/hwmon/userspace-tools.rst> for details. 45 If you say yes here you get support for the sensor part of the first 60 If you say yes here you get support for the sensor part of the 76 with SMpro co-processor. 114 and ADM1023 sensor chips and clones: Maxim MAX1617 and MAX1617A, 126 and Philips NE1619 sensor chips. 137 sensor chip. 147 sensor chip. [all …]
|
| /Linux-v6.6/drivers/iio/chemical/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 18 * pH SM sensor 19 * EC SM sensor 20 * ORP SM sensor 23 module will be called atlas-ph-sensor. 31 * CO2 EZO Sensor 34 module will be called atlas-ezo-sensor. 37 tristate "Bosch Sensortec BME680 sensor driver" 43 Say yes here to build support for Bosch Sensortec BME680 sensor with 44 temperature, pressure, humidity and gas sensing capability. [all …]
|
| /Linux-v6.6/Documentation/devicetree/bindings/iio/humidity/ |
| D | dht11.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/humidity/dht11.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: DHT11 humidity + temperature sensor 10 - Harald Geyer <harald@ccbib.org> 30 - compatible 31 - gpios 36 - | 37 humidity-sensor {
|
| D | st,hts221.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/humidity/st,hts221.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HTS221 STM humidity + temperature sensor 10 - Lorenzo Bianconi <lorenzo@kernel.org> 13 Humidity and temperature sensor with I2C interface and data ready 23 drive-open-drain: 29 vdd-supply: true 35 - compatible [all …]
|
| /Linux-v6.6/Documentation/ABI/testing/ |
| D | sysfs-bus-iio-chemical-sgp40 | 4 Contact: Andreas Klinger <ak@it-klinger.de> 6 Set the temperature. This value is sent to the sensor for 13 Contact: Andreas Klinger <ak@it-klinger.de> 15 Set the relative humidity. This value is sent to the sensor for 16 humidity compensation. 17 Default value: 50000 (50 % relative humidity) 22 Contact: Andreas Klinger <ak@it-klinger.de> 27 x = (in_resistance_raw - in_resistance_calibbias) * 0.65
|
| /Linux-v6.6/drivers/iio/common/ms_sensors/ |
| D | ms_sensors_i2c.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Measurements Specialties common sensor driver 5 * Copyright (c) 2015 Measurement-Specialties 17 * struct ms_ht_dev - Humidity/Temperature sensor device structure 20 * @res_index: index to selected sensor resolution 29 * struct ms_hw_data - Temperature/Pressure sensor hardware data 31 * @max_res_index: maximum sensor resolution index 39 * struct ms_tp_dev - Temperature/Pressure sensor device structure 44 * @res_index: index to selected sensor resolution 68 u32 *humidity);
|
| D | ms_sensors_i2c.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (c) 2015 Measurement-Specialties 38 * ms_sensors_reset() - Reset function 54 dev_err(&client->dev, "Failed to reset device\n"); in ms_sensors_reset() 64 * ms_sensors_read_prom_word() - PROM word read function 80 dev_err(&client->dev, "Failed to read prom word\n"); in ms_sensors_read_prom_word() 90 * ms_sensors_convert_and_read() - ADC conversion & read function 125 dev_dbg(&client->dev, "ADC raw value : %x\n", be32_to_cpu(buf) >> 8); in ms_sensors_convert_and_read() 130 dev_err(&client->dev, "Unable to make sensor adc conversion\n"); in ms_sensors_convert_and_read() 136 * ms_sensors_crc_valid() - CRC check function [all …]
|
| /Linux-v6.6/Documentation/devicetree/bindings/hwmon/ |
| D | sensirion,shtc1.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Sensirion SHTC1 Humidity and Temperature Sensor IC 10 - Christopher Ruehl chris.ruehl@gtsys.com.hk 13 The SHTC1, SHTW1 and SHTC3 are digital humidity and temperature sensors 14 designed especially for battery-driven high-volume consumer electronics 24 - sensirion,shtc1 25 - sensirion,shtw1 26 - sensirion,shtc3 [all …]
|
| /Linux-v6.6/drivers/iio/pressure/ |
| D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 10 tristate "Honeywell ABP pressure sensor driver" 20 tristate "Bosch Sensortec BMP180/BMP280/BMP380/BMP580 pressure sensor driver" 28 an additional humidity sensor channel. 31 will be called bmp280 and you will also get bmp280-i2c for I2C 32 and/or bmp280-spi for SPI support. 47 tristate "ChromeOS EC Barometer Sensor" 50 Say yes here to build support for the Barometer sensor when 51 presented by the ChromeOS EC Sensor hub. 69 tristate "Infineon DPS310 pressure and temperature sensor" [all …]
|