| /linux/drivers/iio/humidity/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # humidity sensor drivers 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" 57 HDC2010 and HDC2080 relative humidity and temperature sensors. [all …]
|
| /linux/drivers/hwmon/ |
| H A D | cgbc-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * cgbc-hwmon - Congatec Board Controller hardware monitoring driver 43 "CPU Temperature", 44 "Case Temperature", 45 "Ambient Temperature", 46 "CPU Board Temperature", 47 "Carrier Board Temperature", 48 "System Chipset Temperature", 49 "Video Controller/Board Temperature", 50 "Other Temperature", [all …]
|
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 13 can include temperature sensors, voltage sensors, fan speed 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. 83 AD7314, ADT7301 and ADT7302 temperature sensors. 93 AD7414 temperature monitoring chip. 103 AD7416, AD7417 and AD7418 temperature monitoring chips. [all …]
|
| H A D | scpi-hwmon.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * System Control and Power Interface(SCPI) based hwmon sensor driver 42 [TEMPERATURE] = 1, /* (celsius) */ 50 [TEMPERATURE] = 1000, /* (millicelsius) */ 57 static void scpi_scale_reading(u64 *value, struct sensor_data *sensor) in scpi_scale_reading() argument 59 if (scpi_scale[sensor->info.class] != sensor->scale) { in scpi_scale_reading() 60 *value *= scpi_scale[sensor->info.class]; in scpi_scale_reading() 61 do_div(*value, sensor->scale); in scpi_scale_reading() 68 struct scpi_sensors *scpi_sensors = zone->scpi_sensors; in scpi_read_temp() 69 struct scpi_ops *scpi_ops = scpi_sensors->scpi_ops; in scpi_read_temp() [all …]
|
| /linux/drivers/thermal/ |
| H A D | hisi_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * HiSilicon thermal sensor driver 5 * Copyright (c) 2014-2015 HiSilicon Limited. 6 * Copyright (c) 2014-2015 Linaro Limited. 40 #define HI6220_TEMP_BASE (-60000) 45 #define HI3660_TEMP_BASE (-63780) 68 int (*get_temp)(struct hisi_thermal_sensor *sensor); 69 int (*enable_sensor)(struct hisi_thermal_sensor *sensor); 70 int (*disable_sensor)(struct hisi_thermal_sensor *sensor); 71 int (*irq_handler)(struct hisi_thermal_sensor *sensor); [all …]
|
| H A D | thermal_mmio.c | 1 // SPDX-License-Identifier: GPL-2.0 26 struct thermal_mmio *sensor = thermal_zone_device_priv(tz); in thermal_mmio_get_temperature() local 28 t = sensor->read_mmio(sensor->mmio_base) & sensor->mask; in thermal_mmio_get_temperature() 29 t *= sensor->factor; in thermal_mmio_get_temperature() 42 struct thermal_mmio *sensor; in thermal_mmio_probe() local 44 struct thermal_mmio *sensor); in thermal_mmio_probe() 47 int temperature; in thermal_mmio_probe() local 49 sensor = devm_kzalloc(&pdev->dev, sizeof(*sensor), GFP_KERNEL); in thermal_mmio_probe() 50 if (!sensor) in thermal_mmio_probe() 51 return -ENOMEM; in thermal_mmio_probe() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 14 * Aquacomputer High Flow Next sensor 25 ----------- 31 virtual temperature sensors, as well as two flow sensors. The fans expose their 32 speed (in RPM), power, voltage and current. Temperature offsets and fan speeds 36 and current, as well as coolant temperature and eight virtual temp sensors. Also 37 available through debugfs are the serial number, firmware version and power-on 39 temperature curves directly from the pump. If it's not connected, the fan-related 48 The Octo exposes four physical and sixteen virtual temperature sensors, a flow sensor [all …]
|
| H A D | occ.rst | 1 Kernel driver occ-hwmon 12 ----------- 14 This driver supports hardware monitoring for the On-Chip Controller (OCC) 16 sensor data from the processor and the system. The OCC can provide the raw 17 sensor data as well as perform thermal and power management on the system. 20 manually if an "ibm,p8-occ-hwmon" compatible device is found under the 21 appropriate I2C bus node in the device-tree. 23 The P9 version of this driver is a client driver of the FSI-based OCC driver. 24 It will be probed automatically by the FSI-based OCC driver. 27 ------------- [all …]
|
| H A D | lm83.rst | 10 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 18 Addresses scanned: I2C 0x18 - 0x1a, 0x29 - 0x2b, 0x4c - 0x4e 27 ----------- 29 The LM83 is a digital temperature sensor. It senses its own temperature as 30 well as the temperature of up to three external diodes. The LM82 is 34 in that the later can only sense the temperature of one external diode. 52 Gigabyte GA-8IK1100 54 Soltek SL-75DRV5 64 Most motherboards come with more than just temperature sensors for 66 sensors. This means that temperature-only chips are usually used as [all …]
|
| H A D | intel-m10-bmc-hwmon.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Kernel driver intel-m10-bmc-hwmon 10 Prefix: 'n3000bmc-hwmon' 16 ----------- 18 This driver adds the temperature, voltage, current and power reading 21 Cards (PAC). It connects to a set of sensor chips to monitor the 22 sensor data of different components on the board. The BMC firmware is 23 responsible for sensor data sampling and recording in shared 24 registers. The host driver reads the sensor data from these shared 34 ---------------- [all …]
|
| H A D | thmc50.rst | 10 Addresses scanned: I2C 0x2c - 0x2e 18 Addresses scanned: I2C 0x2c - 0x2e 31 - Frodo Looijaard <frodol@dds.nl> 32 - Philip Edelbrock <phil@netroedge.com> 35 ----------------- 39 second remote temperature. This does not work for original THMC50 chips. 42 ----------- 44 The THMC50 implements: an internal temperature sensor, support for an 45 external diode-type temperature sensor (compatible w/ the diode sensor inside 46 many processors), and a controllable fan/analog_out DAC. For the temperature [all …]
|
| H A D | smpro-hwmon.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 17 ----------- 18 The smpro-hwmon driver supports hardware monitoring for Ampere(R) Altra(R) 19 SoCs based on the SMpro co-processor (SMpro). The following sensor metrics 22 * temperature 31 ----------- 33 The driver creates at least two sysfs files for each sensor. 35 * ``<sensor_type><idx>_label`` reports the sensor label. 36 * ``<sensor_type><idx>_input`` returns the sensor value. 42 return ``-ENXIO``. [all …]
|
| H A D | sbtsi_temp.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 8 * Sideband interface (SBI) Temperature Sensor Interface (SB-TSI) 9 compliant AMD SoC temperature device. 15 To instantiate this driver on an AMD CPU with SB-TSI 18 Section 6.3.1 of the SoC register reference: The SB-TSI address is normally 22 Datasheet: The SB-TSI interface and protocol is available as part of 35 ----------- 37 The SBI temperature sensor interface (SB-TSI) is an emulation of the software 38 and physical interface of a typical 8-pin remote temperature sensor (RTS) on 39 AMD SoCs. It implements one temperature sensor with readings and limit [all …]
|
| H A D | spd5118.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 8 * SPD5118 (JEDEC JESD300) compliant temperature sensor chips 11 https://www.jedec.org/standards-documents/docs/jesd300-5b01 17 Addresses scanned: I2C 0x50 - 0x57 20 Guenter Roeck <linux@roeck-us.net> 24 ----------- 26 This driver implements support for SPD5118 (JEDEC JESD300) compliant temperature 27 sensors, which are used on many DDR5 memory modules. Some systems use the sensor 30 The driver auto-detects SPD5118 compliant chips, but can also be instantiated 33 A SPD5118 compliant chip supports a single temperature sensor. Critical minimum, [all …]
|
| /linux/Documentation/devicetree/bindings/thermal/ |
| H A D | generic-adc-thermal.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/generic-adc-thermal.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: General Purpose Analog To Digital Converter (ADC) based thermal sensor 10 - Laxman Dewangan <ldewangan@nvidia.com> 13 On some of platforms, thermal sensor like thermistors are connected to 14 one of ADC channel and sensor resistance is read via voltage across the 15 sensor resistor. The voltage read across the sensor is mapped to 16 temperature using voltage-temperature lookup table. [all …]
|
| H A D | qcom,spmi-temp-alarm.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom,spmi-temp-alarm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Qualcomm QPNP PMIC Temperature Alarm 10 - Bjorn Andersson <bjorn.andersson@linaro.org> 13 QPNP temperature alarm peripherals are found inside of Qualcomm PMIC chips 15 interrupt signal and status register to identify high PMIC die temperature. 18 - $ref: thermal-sensor.yaml# 22 const: qcom,spmi-temp-alarm [all …]
|
| H A D | qcom,pm8775-mbg-tm.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/thermal/qcom,pm8775-mbg-tm.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jishnu Prakash <jishnu.prakash@oss.qualcomm.com> 11 - Kamal Wadhwa <kamal.wadhwa@oss.qualcomm.com> 14 Qualcomm's MBG(Master Bandgap) temperature alarm monitors the die 15 temperature and generates an interrupt if the PMIC die temperature is 16 over a set of programmable temperature thresholds. It allows monitoring 24 const: qcom,pm8775-mbg-tm [all …]
|
| /linux/drivers/thermal/ti-soc-thermal/ |
| H A D | ti-bandgap.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * OMAP4 Bandgap temperature sensor driver 5 * Copyright (C) 2011 Texas Instruments Incorporated - http://www.ti.com/ 26 * +----------+----------------+ 28 * +---------------------------+ 32 * +-------------------+ +-----------------+ 33 * | struct ti_bandgap |-->| struct device * | 34 * +----------+--------+ +-----------------+ 38 * +------------------------+ 40 * +------------------------+ [all …]
|
| /linux/Documentation/w1/slaves/ |
| H A D | w1_therm.rst | 7 * Maxim ds18*20 based temperature sensors. 8 * Maxim ds1825 based temperature sensors. 9 * GXCAS GX20MH01 temperature sensor. 16 ----------- 18 w1_therm provides basic temperature conversion for ds18*20, ds28ea00, GX20MH01 32 read sequence will initiate a temperature conversion, then provide two 36 displays the retained values along with a temperature in millidegrees 39 Alternatively, temperature can be read using ``temperature`` sysfs, it 40 returns only the temperature in millidegrees Centigrade. 49 -1 if at least one sensor still in conversion, 1 if conversion is complete [all …]
|
| /linux/Documentation/devicetree/bindings/iio/temperature/ |
| H A D | melexis,mlx90632.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/temperature/melexis,mlx90632.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Melexis MLX90632 and MLX90635 contactless Infra Red temperature sensor 10 - Crt Mori <cmo@melexis.com> 13 https://www.melexis.com/en/documents/documentation/datasheets/datasheet-mlx90632 15 There are various applications for the Infra Red contactless temperature 16 sensor and MLX90632 is most suitable for consumer applications where 17 measured object temperature is in range between -20 to 200 degrees [all …]
|
| /linux/drivers/iio/common/ms_sensors/ |
| H A 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 66 s32 *temperature); [all …]
|
| /linux/Documentation/devicetree/bindings/iio/afe/ |
| H A D | temperature-sense-rtd.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/iio/afe/temperature-sense-rtd.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Temperature Sense RTD 10 - Liam Beguin <liambeguin@gmail.com> 13 RTDs (Resistance Temperature Detectors) are a kind of temperature sensors 14 used to get a linear voltage to temperature reading within a give range 17 When an io-channel measures the output voltage across an RTD such as a 19 temperature, not the voltage output. This binding describes such a circuit. [all …]
|
| /linux/drivers/thermal/qcom/ |
| H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 tristate "Qualcomm TSENS Temperature Alarm" 9 thermal zone device via the mode file results in disabling the sensor. 10 Also able to set threshold temperature for both hot and cold and update 21 Thermal client sets threshold temperature for both warm and cool and 25 tristate "Qualcomm SPMI PMIC MBG Temperature monitor" 31 The MBG block monitors PMIC die temperature in hardware and raises an 34 Temperature is read from the associated ADC channel, and threshold 35 interrupts are forwarded to the thermal framework as trip-violation 44 Thermal client sets threshold temperature for both warm and cool and [all …]
|
| /linux/drivers/thermal/mediatek/ |
| H A D | lvts_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include <linux/clk-provider.h> 15 #include <linux/nvmem-consumer.h> 20 #include <dt-bindings/thermal/mediatek,lvts-thermal.h> 91 #define LVTS_COEFF_A_MT8195 -250460 93 #define LVTS_COEFF_A_MT7987 -204650 95 #define LVTS_COEFF_A_MT7988 -204650 98 #define LVTS_COEFF_B_MT8196 -391460 100 #define LVTS_MSR_OFFSET_MT8196 -984 140 if (!((lvts_ctrl)->valid_sensor_mask & BIT(i))) \ [all …]
|
| /linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
| H A D | temp.c | 29 therm->bios_sensor.offset_constant = 0; in nvkm_therm_temp_set_defaults() 31 therm->bios_sensor.thrs_fan_boost.temp = 90; in nvkm_therm_temp_set_defaults() 32 therm->bios_sensor.thrs_fan_boost.hysteresis = 3; in nvkm_therm_temp_set_defaults() 34 therm->bios_sensor.thrs_down_clock.temp = 95; in nvkm_therm_temp_set_defaults() 35 therm->bios_sensor.thrs_down_clock.hysteresis = 3; in nvkm_therm_temp_set_defaults() 37 therm->bios_sensor.thrs_critical.temp = 105; in nvkm_therm_temp_set_defaults() 38 therm->bios_sensor.thrs_critical.hysteresis = 5; in nvkm_therm_temp_set_defaults() 40 therm->bios_sensor.thrs_shutdown.temp = 135; in nvkm_therm_temp_set_defaults() 41 therm->bios_sensor.thrs_shutdown.hysteresis = 5; /*not that it matters */ in nvkm_therm_temp_set_defaults() 47 struct nvbios_therm_sensor *s = &therm->bios_sensor; in nvkm_therm_temp_safety_checks() [all …]
|