| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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,
|
| /kernel/linux/linux-5.10/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. 34 non-blocking mode. Blocking mode will guarantee the fastest result but 35 the I2C bus will be busy during that time. By default, non-blocking mode [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/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 | 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 | 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 non-blocking i2c commands, both in us */ 55 #define SHT3X_MIN_TEMPERATURE -45000 142 * cached values for temperature and humidity and limits 148 u32 humidity; member 166 return number_of_modes - 1; in get_mode_from_update_interval() 176 mutex_lock(&data->i2c_lock); in sht3x_read_from_command() 180 ret = ret < 0 ? ret : -EIO; in sht3x_read_from_command() [all …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/iio/humidity/ |
| D | htu21.txt | 1 *HTU21 - Measurement-Specialties htu21 temperature & humidity sensor and humidity part of MS8607 se… 5 - compatible: should be "meas,htu21" or "meas,ms8607-humidity" 6 - reg: I2C address of the sensor
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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 …]
|
| /kernel/linux/linux-6.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
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.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);
|
| /kernel/linux/linux-5.10/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_tp_dev - Temperature/Pressure sensor device structure 34 * @res_index: index to selected sensor resolution 57 u32 *humidity);
|