/linux-6.12.1/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 "ENS210 temperature and humidity sensor" 34 humidity and temperature sensors. 40 tristate "TI HDC100x relative humidity and temperature sensor" 47 humidity and temperature sensors. 53 tristate "TI HDC2010 relative humidity and temperature 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_ENS210) += ens210.o 9 obj-$(CONFIG_HDC100X) += hdc100x.o 10 obj-$(CONFIG_HDC2010) += hdc2010.o 11 obj-$(CONFIG_HDC3020) += hdc3020.o 12 obj-$(CONFIG_HID_SENSOR_HUMIDITY) += hid-sensor-humidity.o 14 hts221-y := hts221_core.o \ [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | sht3x.rst | 6 * Sensirion SHT3x-DIS 13 - https://sensirion.com/media/documents/213E6A3B/63A5A569/Datasheet_SHT3x_DIS.pdf 14 …- https://sensirion.com/media/documents/051DF50B/639C8101/Sensirion_Humidity_and_Temperature_Senso… 16 * Sensirion STS3x-DIS 23 …- https://sensirion.com/media/documents/1DA31AFD/61641F76/Sensirion_Temperature_Sensors_STS3x_Data… 24 … - https://sensirion.com/media/documents/292A335C/65537BAF/Sensirion_Datasheet_STS32_STS33.pdf 28 - David Frey <david.frey@sensirion.com> 29 - Pascal Sachs <pascal.sachs@sensirion.com> 32 ----------- 34 This driver implements support for the Sensirion SHT3x-DIS and STS3x-DIS [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,
|
/linux-6.12.1/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 32 - enum: 34 - acbel,fsg032 35 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 36 - ad,ad7414 # Deprecated, use adi,ad7414 [all …]
|
/linux-6.12.1/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. 17 #include <linux/hwmon-sysfs.h> 49 /* delays for single-shot mode i2c commands, both in us */ 60 #define SHT3X_MIN_TEMPERATURE -45000 159 HWMON_CHANNEL_INFO(humidity, HWMON_H_INPUT | HWMON_H_MIN | 180 * cached values for temperature and humidity and limits 186 u32 humidity; member 204 return number_of_modes - 1; in get_mode_from_update_interval() 214 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 56 * @humidity: the latest humidity value received from the SHT4X 62 long update_interval; /* in milli-seconds */ 65 s32 humidity; member 69 * sht4x_read_values() - read and parse the raw data from the SHT4X 71 * Return: 0 if successful, -ERRNO if not 78 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 Philips NE1619 sensor chips. 125 sensor chip. 135 sensor chip. 146 and ADM1030 sensor chips. [all …]
|
/linux-6.12.1/Documentation/devicetree/bindings/hwmon/ |
D | amphenol,chipcap2.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: ChipCap 2 humidity and temperature iio sensor 10 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 13 Relative humidity and temperature sensor on I2C bus. 16 https://www.amphenol-sensors.com/en/telaire/humidity/527-humidity-sensors/3095-chipcap-2 21 - const: amphenol,cc2d23 22 - items: 23 - enum: [all …]
|
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-6.12.1/Documentation/ABI/testing/ |
D | sysfs-class-hwmon | 16 The contents of the label are free-form. 135 this voltage channel is being used for, and user-space 137 user-space. 145 When disabled the sensor read will return -ENODATA. 147 - 1: Enable 148 - 0: Disable 156 - 1: Failed 157 - 0: Ok 262 Only makes sense if the chip supports closed-loop fan speed 272 this fan channel is being used for, and user-space doesn't. [all …]
|
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)
|
/linux-6.12.1/Documentation/devicetree/bindings/iio/humidity/ |
D | sciosense,ens210.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/humidity/sciosense,ens210.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: ScioSense ENS210 temperature and humidity sensor 10 - Joshua Felmeden <jfelmeden@thegoodpenguin.co.uk> 13 Temperature and Humidity sensor. 16 https://www.sciosense.com/wp-content/uploads/2024/04/ENS21x-Datasheet.pdf 17 https://www.sciosense.com/wp-content/uploads/2023/12/ENS210-Datasheet.pdf 22 - items: [all …]
|
D | ti,hdc3020.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/humidity/ti,hdc3020.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: HDC3020/HDC3021/HDC3022 humidity and temperature iio sensors 10 - Li peiyu <579lpy@gmail.com> 11 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 16 The HDC302x is an integrated capacitive based relative humidity (RH) 17 and temperature sensor. 22 - items: [all …]
|
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-6.12.1/drivers/iio/chemical/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 tristate "Aosong AGS02MA TVOC sensor driver" 14 Organic Compounds) sensor. 29 * pH SM sensor 30 * EC SM sensor 31 * ORP SM sensor 34 module will be called atlas-ph-sensor. 42 * CO2 EZO Sensor 45 module will be called atlas-ezo-sensor. 48 tristate "Bosch Sensortec BME680 sensor driver" [all …]
|
/linux-6.12.1/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);
|