/linux/Documentation/hwmon/ |
H A D | aquacomputer_d5next.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver aquacomputer-d5next 8 * Aquacomputer Aquaero 5/6 fan controllers 12 * Aquacomputer Octo fan controller 13 * Aquacomputer Quadro fan controller 18 * Aquacomputer Poweradjust 3 fan controller 25 ----------- 32 speed (in RPM), power, voltage and current. Temperature offsets and fan speeds 35 For the D5 Next pump, available sensors are pump and fan speed, power, voltage 37 available through debugfs are the serial number, firmware version and power-on [all …]
|
H A 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 …]
|
H A 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. 35 ------------- 38 fan[1-12]_input RO fan tachometer speed in RPM 39 fan[1-12]_fault RO fan experienced fault [all …]
|
H A D | emc2103.rst | 18 ----------- 21 contain up to 4 temperature sensors and a single fan controller. 23 Fan rotation speeds are reported in RPM (rotations per minute). An alarm is 24 triggered if the rotation speed has dropped below a programmable limit. Fan 26 the readings more range or accuracy. Not all RPM values can accurately be 28 representable value is 480 RPM. 30 This driver supports RPM based control, to use this a fan target 33 The 2103-2 and 2103-4 variants have a third temperature sensor, which can 34 be connected to two anti-parallel diodes. These values can be read 37 this 4th channel when anti-parallel diodes are not fitted.
|
H A D | emc2305.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 https://www.microchip.com/en-us/product/EMC2305 15 ------------ 16 This driver implements support for Microchip EMC2301/2/3/5 RPM-based PWM Fan Controller. 17 The EMC2305 Fan Controller supports up to 5 independently controlled PWM fan drives. 18 Fan rotation speeds are reported in RPM. 19 The driver supports the RPM-based PWM control to keep a fan at the desired speed. 26 fan[1-5]_fault RO files for tachometers TACH1-TACH5 fault indication 27 fan[1-5]_input RO files for tachometers TACH1-TACH5 input (in RPM) 28 pwm[1-5] RW file for fan[1-5] target duty cycle (0..255)
|
H A 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 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 ----------- 35 ---------------- [all …]
|
H A D | max6639.rst | 12 Datasheet: https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf 15 - He Changqing <hechangqing@semptian.com> 16 - Roland Stigge <stigge@antcom.de> 19 ----------- 21 This driver implements support for the Maxim MAX6639. This chip is a 2-channel 22 temperature monitor with dual PWM fan speed controller. It can monitor its own 23 temperature and one external diode-connected transistor or two external 24 diode-connected transistors. 43 pwm1 RW Fan 1 target duty cycle (0..255) 44 pwm2 RW Fan 2 target duty cycle (0..255) [all …]
|
H A D | corsair-cpro.rst | 1 .. SPDX-License-Identifier: GPL-2.0-or-later 3 Kernel driver corsair-cpro 14 ----------- 17 The Corsair Commander Pro is a USB device with 6 fan connectors, 22 ----------- 27 ------------- 33 temp[1-4]_input Temperature on connected temperature sensors 34 fan[1-6]_input Connected fan rpm. 35 fan[1-6]_label Shows fan type as detected by the device. 36 fan[1-6]_target Sets fan speed target rpm. [all …]
|
H A D | amc6821.rst | 19 ----------- 22 The chip has one on-chip and one remote temperature sensor and one pwm fan 29 temp1_input ro on-chip temperature 51 fan1_target rw Target fan speed, to be used with pwm1_enable 55 pwm1_enable rw regulator mode, 1=open loop, 2=fan controlled 56 by remote temperature, 3=fan controlled by 57 combination of the on-chip temperature and 58 remote-sensor temperature, 59 4=fan controlled by target rpm set with 61 pwm1_mode rw Fan duty control mode (0=DC, 1=PWM) [all …]
|
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | fan-common.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/hwmon/fan-common.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Common Fan Properties 10 - Naresh Solanki <naresh.solanki@9elements.com> 11 - Billy Tsai <billy_tsai@aspeedtech.com> 14 max-rpm: 16 Max RPM supported by fan. 20 min-rpm: [all …]
|
/linux/drivers/macintosh/ |
H A D | windfarm_pm81.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 * that none of the code has been re-used, it's a complete re-implementation 24 * - the linked control (second control) gets the target value as-is 25 * (typically the drive fan) 26 * - the main control (first control) gets the target value scaled with 28 * - the value of the target of the CPU Fan control loop is retrieved, 30 * the scaled target is applied to the main control. 33 * controls : system-fan, drive-bay-fan 34 * sensors : hd-temp 39 * Input target = 0x3a0000 [all …]
|
H A D | windfarm_pm72.c | 1 // SPDX-License-Identifier: GPL-2.0-only 65 /* Fixed speed for slot fan */ 99 #define LOW_OVER_CLEAR ((-10) << 16) 167 cpu_thist_total -= t_old; in cpu_check_overtemp() 193 /* High overtemp -> immediate shutdown */ in cpu_check_overtemp() 217 return -EIO; in read_one_cpu_vals() 226 return -EIO; in read_one_cpu_vals() 234 return -EIO; in read_one_cpu_vals() 262 wf_control_get(cpu_rear_fans[cpu], &sp->target); in cpu_fans_tick_split() 264 DBG_LOTS(" CPU%d: cur_target = %d RPM\n", cpu, sp->target); in cpu_fans_tick_split() [all …]
|
H A D | windfarm_pm121.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * that none of the code has been re-used, it's a complete 17 * re-implementation 21 * controls with a tiny difference. The control-ids of hard-drive-fan 22 * and cpu-fan is swapped. 24 * Target Correction : 26 * controls have a target correction calculated as : 31 * OD Fan control correction. 34 * offset : -19563152 38 * offset : -15650652 [all …]
|
H A D | windfarm_fcu_controls.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Windfarm PowerMac thermal control. FCU fan control 36 * correction factor obtained from the PID to the actual RPM 40 * applied to the setpoint RPM speed, that is basically the 44 * what Darwin -apparently- does based on observed behaviour. 66 s32 min, max, target; member 80 struct wf_fcu_fan *fan = ct->priv; in wf_fcu_fan_release() local 82 kref_put(&fan->fcu_priv->ref, wf_fcu_release); in wf_fcu_fan_release() 83 kfree(fan); in wf_fcu_fan_release() 91 mutex_lock(&pv->lock); in wf_fcu_read_reg() [all …]
|
H A D | windfarm_mpu.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 22 u8 signature; /* 0x00 - EEPROM sig. */ 23 u8 bytes_used; /* 0x01 - Bytes used in eeprom (160 ?) */ 24 u8 size; /* 0x02 - EEPROM size (256 ?) */ 25 u8 version; /* 0x03 - EEPROM version */ 26 u32 data_revision; /* 0x04 - Dataset revision */ 27 u8 processor_bin_code[3]; /* 0x08 - Processor BIN code */ 28 u8 bin_code_expansion; /* 0x0b - ??? (padding ?) */ 29 u8 processor_num; /* 0x0c - Number of CPUs on this MPU */ 30 u8 input_mul_bus_div; /* 0x0d - Clock input multiplier/bus divider */ [all …]
|
/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A 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 */ 281 UCHAR ucFanControlMode; /* Legacy or Fuzzy Fan mode */ 282 USHORT usFanPWMMax; /* Maximum allowed fan power in percent */ 283 USHORT usFanOutputSensitivity; /* Sensitivity of fan reaction to temepature changes */ 284 USHORT usFanRPMMax; /* The default value in RPM */ [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/ |
H A D | fan.c | 27 #include <subdev/bios/fan.h> 32 nvkm_fan_update(struct nvkm_fan *fan, bool immediate, int target) in nvkm_fan_update() argument 34 struct nvkm_therm *therm = fan->parent; in nvkm_fan_update() 35 struct nvkm_subdev *subdev = &therm->subdev; in nvkm_fan_update() 36 struct nvkm_timer *tmr = subdev->device->timer; in nvkm_fan_update() 41 /* update target fan speed, restricting to allowed range */ in nvkm_fan_update() 42 spin_lock_irqsave(&fan->lock, flags); in nvkm_fan_update() 43 if (target < 0) in nvkm_fan_update() 44 target = fan->percent; in nvkm_fan_update() 45 target = max_t(u8, target, fan->bios.min_duty); in nvkm_fan_update() [all …]
|
/linux/drivers/hwmon/ |
H A D | max6620.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 20 * http://pdfserv.maxim-ic.com/en/ds/MAX6620.pdf 95 /* Minimum and maximum values of the FAN-RPM */ 142 u16 target[4]; member 150 static u16 max6620_fan_rpm_to_tach(u8 div, int rpm) in max6620_fan_rpm_to_tach() argument 152 return (60 * div * MAX6620_CLOCK_FREQ) / (rpm * MAX6620_PULSE_PER_REV); in max6620_fan_rpm_to_tach() 163 struct i2c_client *client = data->client; in max6620_update_device() 167 mutex_lock(&data->update_lock); in max6620_update_device() 169 if (time_after(jiffies, data->last_updated + HZ) || !data->valid) { in max6620_update_device() 174 data->fancfg[i] = ret; in max6620_update_device() [all …]
|
H A D | max6650.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * max6650.c - Part of lm_sensors, Linux kernel modules for hardware 18 * http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf 27 #include <linux/hwmon-sysfs.h> 36 /* fan_voltage: 5=5V fan, 12=12V fan, 0=don't change */ 91 /* Minimum and maximum values of the FAN-RPM */ 143 * Useful range for dac is 0-180 for 12V fans and 0-76 for 5V fans. in dac_to_pwm() 146 return clamp_val(255 - (255 * dac) / DAC_LIMIT(v12), 0, 255); in dac_to_pwm() 153 return limit - (limit * pwm) / 255; in pwm_to_dac() 159 struct i2c_client *client = data->client; in max6650_update_device() [all …]
|
H A D | corsair-cpro.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * corsair-cpro.c - Linux driver for Corsair Commander Pro 33 #define CTL_GET_FW_VER 0x02 /* returns the firmware version in bytes 1-3 */ 34 #define CTL_GET_BL_VER 0x06 /* returns the bootloader version in bytes 1-2 */ 36 * returns in bytes 1-4 for each temp sensor: 42 * rcv: returns temp for channel in centi-degree celsius 52 * returns in bytes 1-6 for each fan: 59 * rcv: returns rpm in bytes 1,2 64 * returns error 0x12 if fan is controlled via 65 * fan_target or fan curve [all …]
|
/linux/drivers/gpu/drm/amd/pm/inc/ |
H A D | smu_v13_0_0_pptable.h | 37 // SMU_13_0_0_PP_THERMALCONTROLLER - Thermal Controller Type 68 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_0_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature 69 …AN_SPEED_MIN = 1 << SMU_13_0_0_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature 70 …ERATURE_FAN = 1 << SMU_13_0_0_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limi… 73 …FEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_0_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature 77 …EATURE_FAN_CURVE = 1 << SMU_13_0_0_ODCAP_FAN_CURVE, //Fan Curve feature 78 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_0_ODCAP_AUTO_FAN_ACOUSTIC_LIMIT, //Auto Fan Acoustic RPM feature
|
/linux/drivers/gpu/drm/amd/pm/swsmu/inc/ |
H A D | smu_v13_0_7_pptable.h | 37 // SMU_13_0_7_PP_THERMALCONTROLLER - Thermal Controller Type 68 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_7_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature 69 …AN_SPEED_MIN = 1 << SMU_13_0_7_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature 70 …ERATURE_FAN = 1 << SMU_13_0_7_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limi… 73 …FEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_7_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature 77 …EATURE_FAN_CURVE = 1 << SMU_13_0_7_ODCAP_FAN_CURVE, //Fan Curve feature 78 …FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_7_ODCAP_AUTO_FAN_ACOUSTIC_LIMIT, //Auto Fan Acoustic RPM feature
|
H A D | smu_v11_0_7_pptable.h | 37 // SMU_11_0_7_PP_THERMALCONTROLLER - Thermal Controller Type 69 …_FAN_ACOUSTIC_LIMIT = 1 << SMU_11_0_7_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature 70 …FAN_SPEED_MIN = 1 << SMU_11_0_7_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature 71 …PERATURE_FAN = 1 << SMU_11_0_7_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limi… 74 …DFEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_11_0_7_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature 78 …FEATURE_FAN_CURVE = 1 << SMU_11_0_7_ODCAP_FAN_CURVE, //Fan Curve feature 79 …_FAN_ACOUSTIC_LIMIT = 1 << SMU_11_0_ODCAP_AUTO_FAN_ACOUSTIC_LIMIT, //Auto Fan Acoustic RPM feature
|
H A D | smu_v11_0_pptable.h | 37 // SMU_11_0_PP_THERMALCONTROLLER - Thermal Controller Type 66 …URE_FAN_ACOUSTIC_LIMIT = 1 << SMU_11_0_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature 67 …RE_FAN_SPEED_MIN = 1 << SMU_11_0_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature 68 …TEMPERATURE_FAN = 1 << SMU_11_0_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limi… 71 …0_ODFEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_11_0_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM feature 75 …SMU_11_0_ODFEATURE_FAN_CURVE = 1 << SMU_11_0_ODCAP_FAN_CURVE, //Fan Curv…
|
H A D | smu_v13_0_pptable.h | 37 // SMU_13_0_PP_THERMALCONTROLLER - Thermal Controller Type 66 …URE_FAN_ACOUSTIC_LIMIT = 1 << SMU_13_0_ODCAP_FAN_ACOUSTIC_LIMIT, //Fan Acoustic RPM feature 67 …RE_FAN_SPEED_MIN = 1 << SMU_13_0_ODCAP_FAN_SPEED_MIN, //Minimum Fan Speed feature 68 …TEMPERATURE_FAN = 1 << SMU_13_0_ODCAP_TEMPERATURE_FAN, //Fan Target Temperature Limi… 71 …SMU_13_0_ODFEATURE_FAN_ZERO_RPM_CONTROL = 1 << SMU_13_0_ODCAP_FAN_ZERO_RPM_CONTROL, //Zero RPM… 75 …SMU_13_0_ODFEATURE_FAN_CURVE = 1 << SMU_13_0_ODCAP_FAN_CURVE, //Fan Curv…
|