/linux-6.12.1/Documentation/devicetree/bindings/hwmon/ |
D | npcm750-pwm-fan.txt | 1 Nuvoton NPCM PWM and Fan Tacho controller device 3 The Nuvoton BMC NPCM7XX supports 8 Pulse-width modulation (PWM) 4 controller outputs and 16 Fan tachometer controller inputs. 6 The Nuvoton BMC NPCM8XX supports 12 Pulse-width modulation (PWM) 7 controller outputs and 16 Fan tachometer controller inputs. 9 Required properties for pwm-fan node 10 - #address-cells : should be 1. 11 - #size-cells : should be 0. 12 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX. 13 : "nuvoton,npcm845-pwm-fan" for Arbel NPCM8XX. [all …]
|
D | aspeed-pwm-tacho.txt | 1 ASPEED AST2400/AST2500 PWM and Fan Tacho controller device driver 3 The ASPEED PWM controller can support upto 8 PWM outputs. The ASPEED Fan Tacho 4 controller can support upto 16 Fan tachometer inputs. 6 There can be upto 8 fans supported. Each fan can have one PWM output and 7 one/two Fan tach inputs. 9 Required properties for pwm-tacho node: 10 - #address-cells : should be 1. 12 - #size-cells : should be 1. 14 - #cooling-cells: should be 2. 16 - reg : address and length of the register set for the device. [all …]
|
D | pwm-fan.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/hwmon/pwm-fan.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Fan connected to PWM lines 10 - Jean Delvare <jdelvare@suse.com> 11 - Guenter Roeck <linux@roeck-us.net> 15 const: pwm-fan 17 cooling-levels: 18 description: PWM duty cycle values corresponding to thermal cooling states. [all …]
|
D | aspeed,g6-pwm-tach.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/hwmon/aspeed,g6-pwm-tach.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: ASPEED G6 PWM and Fan Tach controller 11 - Billy Tsai <billy_tsai@aspeedtech.com> 14 The ASPEED PWM controller can support up to 16 PWM outputs. 15 The ASPEED Fan Tacho controller can support up to 16 fan tach input. 22 - aspeed,ast2600-pwm-tach 33 "#pwm-cells": [all …]
|
/linux-6.12.1/drivers/hwmon/ |
D | mlxreg-fan.c | 1 // SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) 27 * FAN datasheet defines the formula for RPM calculations as RPM = 15/t-high. 28 * The logic in a programmable device measures the time t-high by sampling the 29 * tachometer every t-sample (with the default value 11.32 uS) and increment 31 * RPM = 15 / (t-sample * (K + Regval)), where: 33 * - 0xff - represents tachometer fault; 34 * - 0xfe - represents tachometer minimum value , which is 4444 RPM; 35 * - 0x00 - represents tachometer maximum value , which is 300000 RPM; 39 * used: RPM = 15 / ((Regval + K) * 11.32) * 10^(-6)), which in the 42 * - for Regval 0x00, RPM will be 15000000 * 100 / (44 * 1132) = 30115; [all …]
|
D | pwm-fan.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * pwm-fan.c - Hwmon driver for fans connected to PWM lines. 17 #include <linux/pwm.h> 42 struct pwm_device *pwm; member 70 atomic_inc(&tach->pulses); in pulse_handler() 78 unsigned int delta = ktime_ms_delta(ktime_get(), ctx->sample_start); in sample_timer() 82 for (i = 0; i < ctx->tach_count; i++) { in sample_timer() 83 struct pwm_fan_tach *tach = &ctx->tachs[i]; in sample_timer() 86 pulses = atomic_read(&tach->pulses); in sample_timer() 87 atomic_sub(pulses, &tach->pulses); in sample_timer() [all …]
|
D | npcm750-pwm-fan.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2014-2018 Nuvoton Technology corporation. 7 #include <linux/hwmon-sysfs.h> 18 /* NPCM7XX PWM registers */ 48 /* Define the maximum PWM channel number */ 58 /* default all PWM channels PRESCALE2 = 1 */ 79 /* NPCM7XX FAN Tacho registers */ 140 /* FAN General Definition */ 141 /* Define the maximum FAN channel number */ 147 * Get Fan Tach Timeout (base on clock 214843.75Hz, 1 cnt = 4.654us) [all …]
|
D | nzxt-smart2.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Reverse-engineered NZXT RGB & Fan Controller/Smart Device v2 driver. 20 * The device has only 3 fan channels/connectors. But all HID reports have 30 "FAN 1", 31 "FAN 2", 32 "FAN 3", 36 "FAN 1 Current", 37 "FAN 2 Current", 38 "FAN 3 Current", 42 "FAN 1 Voltage", [all …]
|
/linux-6.12.1/Documentation/hwmon/ |
D | nct6775.rst | 19 * Nuvoton NCT5572D/NCT6771F/NCT6772F/NCT6775F/W83677HG-I 83 * Nuvoton NCT6796D-S/NCT6799D-R 93 Guenter Roeck <linux@roeck-us.net> 96 ----------- 106 There are 4 to 5 fan rotation speed sensors, 8 to 15 analog voltage sensors, 108 fan regulation strategies (plus manual fan control mode). 119 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is 121 NCT6775F, fan readings can be divided by a programmable divider (1, 2, 4, 8, 123 do not have a fan speed divider. The driver sets the most suitable fan divisor 124 itself; specifically, it increases the divider value each time a fan speed [all …]
|
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 ----------------- 46 Enables the monitoring of voltage, fan and temp inputs 47 and PWM output control functions. Using this parameter 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 [all …]
|
D | w83792d.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 19 ----------------- 35 ----------- 42 parameter; this will put it into a more well-behaved state first. 44 The driver implements three temperature sensors, seven fan rotation speed 45 sensors, nine voltage sensors, and two automatic fan regulation 46 strategies called: Smart Fan I (Thermal Cruise mode) and Smart Fan II. 48 The driver also implements up to seven fan control outputs: pwm1-7. Pwm1-7 49 can be configured to PWM output or Analogue DC output via their associated 53 Automatic fan control mode is possible only for fan1-fan3. [all …]
|
D | w83627ehf.rst | 22 * Winbond W83627DHG-P 46 * Winbond W83667HG-B 54 * Nuvoton NCT6775F/W83667HG-I 73 - Jean Delvare <jdelvare@suse.de> 74 - Yuan Mu (Winbond) 75 - Rudolf Marek <r.marek@assembler.cz> 76 - David Hubbard <david.c.hubbard@gmail.com> 77 - Gong Jun <JGong@nuvoton.com> 80 ----------- 83 W83627DHG, W83627DHG-P, W83627UHG, W83667HG, W83667HG-B, W83667HG-I [all …]
|
D | max31760.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 19 ----------- 21 The MAX31760 integrates temperature sensing along with precision PWM fan 23 temperature of a discrete diode-connected transistor, such as a 2N3906, 27 I2C-compatible interface. Fan speed is controlled based on the temperature 28 reading as an index to a 48-byte lookup table (LUT) containing 29 user-programmed PWM values. The flexible LUT-based architecture enables 30 the user to program a smooth nonlinear fan speed vs. temperature transfer 31 function to minimize acoustic fan noise. Two tachometer inputs allow 35 remote high-temperature threshold has been exceeded. [all …]
|
D | adt7470.rst | 17 ----------- 22 The ADT7470 uses the 2-wire interface compatible with the SMBus 2.0 24 external temperatures. It has four (4) 16-bit counters for measuring fan speed. 25 There are four (4) PWM outputs that can be used to control fan speed. 27 A sophisticated control system for the PWM outputs is designed into the ADT7470 28 that allows fan speed to be adjusted automatically based on any of the ten 29 temperature sensors. Each PWM output is individually adjustable and 30 programmable. Once configured, the ADT7470 will adjust the PWM outputs in 32 feature can also be disabled for manual control of the PWM's. 34 Each of the measured inputs (temperature, fan speed) has corresponding high/low [all …]
|
D | max31790.rst | 10 Addresses scanned: - 18 ----------- 23 PWM outputs. The desired fan speeds (or PWM duty cycles) are written 24 through the I2C interface. The outputs drive "4-wire" fans directly, 25 or can be used to modulate the fan's power terminals using an external 28 Tachometer inputs monitor fan tachometer logic outputs for precise (+/-1%) 29 monitoring and control of fan RPM as well as detection of fan failure. 30 Six pins are dedicated tachometer inputs. Any of the six PWM outputs can 35 ------------- 38 fan[1-12]_input RO fan tachometer speed in RPM [all …]
|
D | pwm-fan.rst | 1 Kernel driver pwm-fan 4 This driver enables the use of a PWM module to drive a fan. It uses the 5 generic PWM interface thus it is hardware independent. It can be used on 6 many SoCs, as long as the SoC supplies a PWM line driver that exposes 7 the generic PWM API. 12 ----------- 14 The driver implements a simple interface for driving a fan connected to 15 a PWM output. It uses the generic PWM interface, thus it can be used with 16 a range of SoCs. The driver exposes the fan to the user space through 19 The fan rotation speed returned via the optional 'fan1_input' is extrapolated [all …]
|
D | f71882fg.rst | 103 This is the 64-pin variant of the F71889FG, they have the 119 ----------- 125 These chips also have fan controlling features, using either DC or PWM, in 133 ---------- 135 The Voltage, Fan and Temperature Monitoring uses the standard sysfs 136 interface as documented in sysfs-interface, without any exceptions. 139 Fan Control 140 ----------- 142 Both PWM (pulse-width modulation) and DC fan speed control methods are 149 vica versa. So the temperature zone trip points 1-4 (or 1-2) go from high temp [all …]
|
D | asc7621.rst | 20 Andigilog has both the PECI and pre-PECI versions of the Heceta-6, as 21 Intel calls them. Heceta-6e has high frequency PWM and Heceta-6p has 23 Heceta-6e part and aSC7621 is the Heceta-6p part. They are both in 28 have used registers below 20h for vendor-specific functions in addition 29 to those in the Intel-specified vendor range. 32 The fan speed control uses this finer value to produce a "step-less" fan 33 PWM output. These two bytes are "read-locked" to guarantee that once a 34 high or low byte is read, the other byte is locked-in until after the 37 sheet says 10-bits of resolution, although you may find the lower bits 42 data sheet. Our temperature reports and fan PWM outputs are very smooth [all …]
|
D | nzxt-smart2.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver nzxt-smart2 8 - NZXT RGB & Fan controller 9 - NZXT Smart Device v2 12 ----------- 15 Besides typical speed monitoring and PWM duty cycle control, voltage and current 16 is reported for every fan. 25 ----------- 31 be controlled (`pwm*` changes will be ignored). It is necessary because the 43 ------------- [all …]
|
D | g762.rst | 4 The GMT G762 Fan Speed PWM Controller is connected directly to a fan 5 and performs closed-loop or open-loop control of the fan speed. Two 6 modes - PWM or DC - are supported by the device. 9 http://natisbad.org/NAS/ref/GMT_EDS-762_763-080710-0.2.pdf. sysfs 10 bindings are described in Documentation/hwmon/sysfs-interface.rst. 19 fan revolution, ...); Those can be modified via devicetree bindings 25 set desired fan speed. This only makes sense in closed-loop 26 fan speed control (i.e. when pwm1_enable is set to 2). 29 provide current fan rotation value in RPM as reported by 30 the fan to the device. [all …]
|
D | w83793.rst | 10 Addresses scanned: I2C 0x2c - 0x2f 15 - Yuan Mu (Winbond Electronics) 16 - Rudolf Marek <r.marek@assembler.cz> 20 ----------------- 36 ----------- 41 This driver exports 10 voltage sensors, up to 12 fan tachometer inputs, 42 6 remote temperatures, up to 8 sets of PWM fan controls, SmartFan 43 (automatic fan speed control) on all temperature/PWM combinations, 2 44 sets of 6-pin CPU VID input. 48 voltage0-2 is 2mV, resolution of voltage3/4/5 is 16mV, 8mV for voltage6, [all …]
|
D | adt7475.rst | 39 - Jordan Crouse 40 - Hans de Goede 41 - Darrick J. Wong (documentation) 42 - Jean Delvare 46 ----------- 56 The ADT747x uses the 2-wire interface compatible with the SMBus 2.0 58 temperatures and two (2) or more voltages. It has four (4) 16-bit counters 59 for measuring fan speed. There are three (3) PWM outputs that can be used 60 to control fan speed. 62 A sophisticated control system for the PWM outputs is designed into the [all …]
|
D | max31785.rst | 10 Addresses scanned: - 17 ----------- 19 The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan 20 management with temperature and remote voltage sensing. Various fan control 21 features are provided, including PWM frequency control, temperature hysteresis, 22 dual tachometer measurements, and fan health monitoring. 24 For dual-rotor configurations the MAX31785A exposes the second rotor tachometer 25 readings in attributes fan[5-8]_input. By contrast the MAX31785 only exposes 26 the slowest rotor measurement, and does so in the fan[1-4]_input attributes. 29 ----------- [all …]
|
D | w83l786ng.rst | 10 Addresses scanned: I2C 0x2e - 0x2f 12 Datasheet: http://www.winbond-usa.com/products/winbond_products/pdfs/PCIC/W83L786NRNG09.pdf 18 ----------------- 28 ----------- 32 The driver implements two temperature sensors, two fan rotation speed 38 Fan rotation speeds are reported in RPM (rotations per minute). Fan readings 40 or 128 for fan 1/2) to give the readings more range or accuracy. 47 ---------- 49 pwm[1-2] 50 - this file stores PWM duty cycle or DC value (fan speed) in range: [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | pptable_v1_0.h | 35 #define ATOM_TONGA_PP_FANPARAMETERS_NOFAN 0x80 /* No fan is conn… 43 …* Thermal controller 'combo type' to use an external controller for Fan control and an internal co… 49 #define ATOM_TONGA_PP_THERMALCONTROLLER_ADT7473_WITH_INTERNAL 0x89 /* ADT7473 Fan Control + In… 50 #define ATOM_TONGA_PP_THERMALCONTROLLER_EMC2103_WITH_INTERNAL 0x8D /* EMC2103 Fan Control + In… 245 ULONG ulDClk; /* UVD D-clock */ 246 ULONG ulVClk; /* UVD V-clock */ 274 …sTMin; /* The temperature, in 0.01 centigrades, below which we just run at a minimal PWM. */ 277 USHORT usPWMMin; /* The minimum PWM value in percent (0.01% increments). */ 278 USHORT usPWMMed; /* The PWM value (in percent) at TMed. */ 279 USHORT usPWMHigh; /* The PWM value at THigh. */ [all …]
|