/linux/drivers/thermal/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 12 Each thermal zone contains its own temperature, trip points, 25 zones discovery, temperature readings and events such as 27 change. It is recommended to enable the feature. 47 Say Y to add a debugfs-based thermal core testing facility. 53 int "Emergency poweroff delay in milli-seconds" 130 Select this if you want to control temperature based on 145 bool "Fair-share thermal governor" 147 Enable this to manage platform thermals using fair-share governor. 152 Enable this to manage platform thermals using a simple linear [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | max6697.txt | 4 - compatible: 16 - reg: I2C address 20 - smbus-timeout-disable 23 - extended-range-enable 24 Only valid for MAX6581. Set to enable extended temperature range. 25 Extended temperature will be disabled if not specified. 26 - beta-compensation-enable 27 Only valid for MAX6693 and MX6694. Set to enable beta compensation on 28 remote temperature channel 1. 30 - alert-mask [all …]
|
H A D | ti,tmp401.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: TMP401, TPM411 and TMP43x temperature sensor 10 - Guenter Roeck <linux@roeck-us.net> 13 ±1°C Remote and Local temperature sensor 24 - ti,tmp401 25 - ti,tmp411 26 - ti,tmp431 27 - ti,tmp432 [all …]
|
/linux/Documentation/ABI/testing/ |
H A 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. 143 Enable or disable the sensors. 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 [all …]
|
H A D | sysfs-driver-w1_therm | 5 (RW) read or write TH and TL (Temperature High an Low) alarms. 7 (typical -55 degC to 125 degC), if not values will be trimmed 11 master level, refer to Documentation/w1/w1-generic.rst for 41 * '-xx': xx is kernel error when reading power status 55 values after power-on. Read or write are : 59 * '-xx': xx is kernel error when reading the resolution 62 Some DS18B20 clones are fixed in 12-bit resolution, so the 69 What: /sys/bus/w1/devices/.../temperature 73 (RO) return the temperature in 1/1000 degC. 76 return the temperature computed when the bulk read [all …]
|
/linux/Documentation/ABI/stable/ |
H A D | sysfs-driver-firmware-zynqmp | 1 What: /sys/devices/platform/firmware\:zynqmp-firmware/ggs* 11 The register is reset during system or power-on 17 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 18 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 22 # cat /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 23 # echo 0x1234ABCD > /sys/devices/platform/firmware\:zynqmp-firmware/ggs0 27 What: /sys/devices/platform/firmware\:zynqmp-firmware/pggs* 38 This register is only reset by the power-on reset 46 # cat /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 47 # echo <value> > /sys/devices/platform/firmware\:zynqmp-firmware/pggs0 [all …]
|
/linux/Documentation/hwmon/ |
H A D | ibmpowernv.rst | 11 ----------- 13 This driver implements reading the platform sensors data like temperature/fan/ 22 the DT maps to an attribute file in 'sysfs'. The node exports unique 'sensor-id' 26 ----------- 31 ---------------- 36 fanX_fault - 0: No fail condition 37 - 1: Failing fan 39 tempX_input Measured ambient temperature. 40 tempX_max Threshold ambient temperature for alert generation. 41 tempX_highest Historical maximum temperature [all …]
|
H A 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. 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 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 61 to cause an alarm) is chip-dependent. 69 ---------------- [all …]
|
H A D | max31730.rst | 14 Author: Guenter Roeck <linux@roeck-us.net> 18 ----------- 22 The MAX31730 temperature sensor monitors its own temperature and the 23 temperatures of three external diode-connected transistors. The operating 25 for high series resistance in circuit-board traces and the external thermal 26 diode, while beta compensation corrects for temperature-measurement 27 errors due to low-beta sensing transistors. 31 ------------- 34 temp[1-4]_enable RW Temperature enable/disable 35 Set to 0 to enable channel, 0 to disable [all …]
|
H A D | pc87360.rst | 22 ----------------- 27 - 0: None 28 - **1**: Forcibly enable internal voltage and temperature channels, 30 - 2: Forcibly enable all voltage and temperature channels, except in9 31 - 3: Forcibly enable all voltage and temperature channels, including in9 36 Also note that for the PC87366, initialization levels 2 and 3 don't enable 37 all temperature channels, because some of them share pins with each other, 42 ----------- 56 PC87360 - 2 2 - 0xE1 57 PC87363 - 2 2 - 0xE8 [all …]
|
H A D | lm93.rst | 10 Addresses scanned: I2C 0x2c-0x2e 18 Addresses scanned: I2C 0x2c-0x2e 24 - Mark M. Hoffman <mhoffman@lightlink.com> 25 - Ported to 2.6 by Eric J. Bowersox <ericb@aspsys.com> 26 - Adapted to 2.6.20 by Carsten Emde <ce@osadl.org> 27 - Modified for mainline integration by Hans J. Koch <hjk@hansjkoch.de> 30 ----------------- 33 Set to non-zero to force some initializations (default is 0). 38 Configures in7 and in8 limit type, where 0 means absolute and non-zero 54 -------------------- [all …]
|
H A D | dme1737.rst | 18 Addresses scanned: none, address read from Super-I/O config space 34 Addresses scanned: none, address read from Super-I/O config space 43 ----------------- 52 Include non-standard LPC addresses 0x162e and 0x164e 55 - VIA EPIA SN18000 59 ----------- 63 and SCH5127 Super-I/O chips. These chips feature monitoring of 3 temp sensors 64 temp[1-3] (2 remote diodes and 1 internal), 8 voltages in[0-7] (7 external and 65 1 internal) and up to 6 fan speeds fan[1-6]. Additionally, the chips implement 66 up to 5 PWM outputs pwm[1-3,5-6] for controlling fan speeds both manually and [all …]
|
H A D | w83791d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83791D_W83791Gb.pdf 22 - Frodo Looijaard <frodol@dds.nl>, 23 - Philip Edelbrock <phil@netroedge.com>, 24 - Mark Studebaker <mdsxyz123@yahoo.com> 28 - Shane Huang (Winbond), 29 - Rudolf Marek <r.marek@assembler.cz> 33 - Sven Anders <anders@anduras.de> 34 - Marc Hulsman <m.hulsman@tudelft.nl> 37 ----------------- [all …]
|
H A 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 45 Supported resolutions for the measurements are 14 bits for temperature and 12 46 bits for humidity, or 12 bits for temperature and 8 bits for humidity. 62 ------------- 65 set it to true to enable CRC validation of the readings (default to false). 72 --------------- 75 temp1_input temperature input 77 heater_enable write 1 in this attribute to enable the on-chip heater, [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/drivers/thermal/intel/ |
H A D | intel_pch_thermal.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* intel_pch_thermal.c - Intel PCH Thermal driver 28 #define PCH_THERMAL_DID_CNL_H 0xA379 /* CNL-H PCH */ 29 #define PCH_THERMAL_DID_CNL_LP 0x02F9 /* CNL-LP PCH */ 30 #define PCH_THERMAL_DID_CML_H 0X06F9 /* CML-H PCH */ 34 /* Wildcat Point-LP PCH Thermal registers */ 35 #define WPT_TEMP 0x0000 /* Temperature */ 38 #define WPT_TSEL 0x08 /* Thermal Sensor Enable and Lock */ 39 #define WPT_TSREL 0x0A /* Thermal Sensor Report Enable and Lock */ 52 /* Wildcat Point-LP PCH Thermal Register bit definitions */ [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | pptable_v1_0.h | 56 #define ATOM_TONGA_PP_PLATFORM_CAP_DISABLE_VOLTAGE_ISLAND 0x8 /* Enable the option … 70 #define ATOM_TONGA_PP_PLATFORM_CAP_BACO 0x20000 /* Enable to indicate… 72 #define ATOM_TONGA_PP_PLATFORM_CAP_OUTPUT_THERMAL2GPIO17 0x100000 /* Enable to indicate… 73 #define ATOM_TONGA_PP_PLATFORM_COMBINE_PCC_WITH_THERMAL_SIGNAL 0x1000000 /* Enable to indicate… 191 …UCHAR ucCKSVOffsetandDisable; /* Bits 0~6: Voltage offset for CKS, Bit 7: Disable/enable … 206 …UCHAR ucCKSVOffsetandDisable; /* Bits 0~6: Voltage offset for CKS, Bit 7: Disable/enable for th… 245 ULONG ulDClk; /* UVD D-clock */ 246 ULONG ulVClk; /* UVD V-clock */ 273 UCHAR ucTHyst; /* Temperature hysteresis. Integer. */ 274 …USHORT usTMin; /* The temperature, in 0.01 centigrades, below which we just run at a minim… [all …]
|
/linux/Documentation/driver-api/thermal/ |
H A D | exynos_thermal_emulation.rst | 10 ----------- 14 TMU's operation. User can set temperature manually with software code 15 and TMU will read current temperature from user value not from sensor's 23 When you input any temperature you want to update to sysfs node, it 24 automatically enable emulation mode and current temperature will be 28 delay of changing temperature. However, this node only uses same delay 33 next temperature, then you have to enable emulation mode at the same 49 | +----------- 51 | +-------------| | 54 20 | | | +---------- [all …]
|
/linux/Documentation/devicetree/bindings/power/supply/ |
H A D | summit,smb347-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/summit,smb347-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - David Heidelberg <david@ixit.cz> 11 - Dmitry Osipenko <digetx@gmail.com> 16 - summit,smb345 17 - summit,smb347 18 - summit,smb358 26 monitored-battery: [all …]
|
/linux/drivers/thermal/intel/int340x_thermal/ |
H A D | platform_temperature_control.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * processor thermal device platform temperature controls 8 * Platform temperature controls hardware interface 18 * 7:0 TARGET_TEMP : Target temperature limit to which the control 20 * 8:8 ENABLE: Read current enable status of the feature or enable 23 * 7 graceful, favors performance at the expense of temperature 31 * there will be no throttling. 0 - all levels of throttling allowed 32 * including survivability actions. 255 - no throttling allowed. 33 * 31:24 TEMPERATURE_OVERRIDE: Allows SW to override the input temperature. 34 * hardware will use this value instead of the sensor temperature. [all …]
|
/linux/Documentation/devicetree/bindings/regulator/ |
H A D | maxim,max8973.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzk@kernel.org> 13 - $ref: regulator.yaml# 18 - maxim,max8973 19 - maxim,max77621 21 junction-warn-millicelsius: 23 Junction warning temperature threshold in millicelsius. If die 24 temperature crosses this level then device generates the warning [all …]
|
/linux/arch/arm/boot/dts/nuvoton/ |
H A D | nuvoton-npcm730-kudo.dts | 1 // SPDX-License-Identifier: GPL-2.0 4 /dts-v1/; 5 #include "nuvoton-npcm730.dtsi" 7 #include <dt-bindings/gpio/gpio.h> 41 stdout-path = &serial3; 48 iio-hwmon { 49 compatible = "iio-hwmon"; 50 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, 55 compatible = "nuvoton,npcm750-jtag-master"; 56 #address-cells = <1>; [all …]
|
/linux/drivers/ntb/hw/idt/ |
H A D | ntb_hw_idt.h | 7 * Copyright (C) 2016-2018 T-Platforms JSC All Rights Reserved. 36 * IDT PCIe-switch NTB Linux driver 39 * Serge Semin <fancer.lancer@gmail.com>, <Sergey.Semin@t-platforms.ru> 55 * the supported IDT PCIe-switches 66 * IDT PCIe-switches device IDs 78 * NT-function Configuration Space registers 79 * NOTE 1) The IDT PCIe-switch internal data is little-endian 83 * with byte-enables corresponding to their native size or 86 * So to simplify the driver code, there is only DWORD-sized read/write 107 /* IDT Proprietary NT-port-specific registers */ [all …]
|
/linux/arch/riscv/boot/dts/sophgo/ |
H A D | sg2042-milkv-pioneer.dts | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/input/input.h> 12 model = "Milk-V Pioneer"; 16 stdout-path = "serial0"; 19 gpio-power { 20 compatible = "gpio-keys"; 22 key-power { 26 linux,input-type = <EV_KEY>; 27 debounce-interval = <100>; [all …]
|
/linux/drivers/thermal/qcom/ |
H A D | tsens.c | 1 // SPDX-License-Identifier: GPL-2.0 11 #include <linux/nvmem-consumer.h> 26 * struct tsens_irq_data - IRQ status and temperature violations 28 * @up_thresh: upper threshold temperature value 32 * @low_thresh: lower threshold temperature value 36 * @crit_thresh: critical threshold temperature value 40 * Structure containing data about temperature threshold settings and 81 if (priv->num_sensors > MAX_SENSORS) in tsens_read_calibration() 82 return -EINVAL; in tsens_read_calibration() 88 ret = nvmem_cell_read_variable_le_u32(priv->dev, name, &mode); in tsens_read_calibration() [all …]
|