/Linux-v5.15/Documentation/devicetree/bindings/hwmon/ |
D | npcm750-pwm-fan.txt | 1 Nuvoton NPCM7xx 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 Required properties for pwm-fan node 7 - #address-cells : should be 1. 8 - #size-cells : should be 0. 9 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX. 10 - reg : specifies physical base address and size of the registers. 11 - reg-names : must contain: 13 * "fan" for the Fan registers. [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.txt | 1 Bindings for a fan connected to the PWM lines 4 - compatible : "pwm-fan" 5 - pwms : the PWM that is used to control the PWM fan 6 - cooling-levels : PWM duty cycle values in a range from 0 to 255 10 - fan-supply : phandle to the regulator that provides power to the fan 11 - interrupts : This contains an interrupt specifier for each fan 14 interrupts per fan revolution, which require that 16 interrupt-controller/interrupts.txt for the format. 17 - pulses-per-revolution : define the number of pulses per fan revolution for 23 fan0: pwm-fan { [all …]
|
D | max31785.txt | 1 Bindings for the Maxim MAX31785 Intelligent Fan Controller 8 The Maxim MAX31785 is a PMBus device providing closed-loop, multi-channel fan 9 management with temperature and remote voltage sensing. Various fan control 11 dual tachometer measurements, and fan health monitoring. 14 - compatible : One of "maxim,max31785" or "maxim,max31785a" 15 - reg : I2C address, one of 0x52, 0x53, 0x54, 0x55.
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
D | pptable_v1_0.h | 35 …AMETERS_NOFAN 0x80 /* No fan is connected to this controller. */ 43 …* Thermal controller 'combo type' to use an external controller for Fan control and an internal co… 46 * The driver can pick the correct internal controller based on the ASIC. 49 …ALCONTROLLER_ADT7473_WITH_INTERNAL 0x89 /* ADT7473 Fan Control + Internal Thermal Controller … 50 …ALCONTROLLER_EMC2103_WITH_INTERNAL 0x8D /* EMC2103 Fan Control + Internal Thermal Controller … 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 */ [all …]
|
D | vega12_thermal.c | 38 return -EINVAL); in vega12_get_current_rpm() 47 fan_speed_info->supports_percent_read = false; in vega12_fan_ctrl_get_fan_speed_info() 48 fan_speed_info->supports_percent_write = false; in vega12_fan_ctrl_get_fan_speed_info() 49 fan_speed_info->supports_rpm_read = true; in vega12_fan_ctrl_get_fan_speed_info() 50 fan_speed_info->supports_rpm_write = true; in vega12_fan_ctrl_get_fan_speed_info() 63 * vega12_enable_fan_control_feature -Enables the SMC Fan Control Feature. 66 * Return: 0 on success. -1 otherwise. 71 struct vega12_hwmgr *data = (struct vega12_hwmgr *)(hwmgr->backend); in vega12_enable_fan_control_feature() 73 if (data->smu_features[GNLD_FAN_CONTROL].supported) { in vega12_enable_fan_control_feature() 76 data->smu_features[GNLD_FAN_CONTROL]. in vega12_enable_fan_control_feature() [all …]
|
D | vega10_thermal.c | 42 if (hwmgr->thermal_controller.fanInfo.bNoFan) in vega10_fan_ctrl_get_fan_speed_info() 45 fan_speed_info->supports_percent_read = true; in vega10_fan_ctrl_get_fan_speed_info() 46 fan_speed_info->supports_percent_write = true; in vega10_fan_ctrl_get_fan_speed_info() 47 fan_speed_info->min_percent = 0; in vega10_fan_ctrl_get_fan_speed_info() 48 fan_speed_info->max_percent = 100; in vega10_fan_ctrl_get_fan_speed_info() 51 hwmgr->thermal_controller.fanInfo. in vega10_fan_ctrl_get_fan_speed_info() 53 fan_speed_info->supports_rpm_read = true; in vega10_fan_ctrl_get_fan_speed_info() 54 fan_speed_info->supports_rpm_write = true; in vega10_fan_ctrl_get_fan_speed_info() 55 fan_speed_info->min_rpm = in vega10_fan_ctrl_get_fan_speed_info() 56 hwmgr->thermal_controller.fanInfo.ulMinRPM; in vega10_fan_ctrl_get_fan_speed_info() [all …]
|
D | smu7_thermal.c | 32 if (hwmgr->thermal_controller.fanInfo.bNoFan) in smu7_fan_ctrl_get_fan_speed_info() 33 return -ENODEV; in smu7_fan_ctrl_get_fan_speed_info() 35 fan_speed_info->supports_percent_read = true; in smu7_fan_ctrl_get_fan_speed_info() 36 fan_speed_info->supports_percent_write = true; in smu7_fan_ctrl_get_fan_speed_info() 37 fan_speed_info->min_percent = 0; in smu7_fan_ctrl_get_fan_speed_info() 38 fan_speed_info->max_percent = 100; in smu7_fan_ctrl_get_fan_speed_info() 41 hwmgr->thermal_controller.fanInfo.ucTachometerPulsesPerRevolution) { in smu7_fan_ctrl_get_fan_speed_info() 42 fan_speed_info->supports_rpm_read = true; in smu7_fan_ctrl_get_fan_speed_info() 43 fan_speed_info->supports_rpm_write = true; in smu7_fan_ctrl_get_fan_speed_info() 44 fan_speed_info->min_rpm = hwmgr->thermal_controller.fanInfo.ulMinRPM; in smu7_fan_ctrl_get_fan_speed_info() [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/mfd/ |
D | gateworks-gsc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/gateworks-gsc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Gateworks System Controller 10 The Gateworks System Controller (GSC) is a device present across various 14 - Watchdog Timer 15 - GPIO 16 - Pushbutton controller 17 - Hardware monitor with ADC's for temperature and voltage rails and [all …]
|
/Linux-v5.15/Documentation/hwmon/ |
D | npcm750-pwm-fan.rst | 1 Kernel driver npcm750-pwm-fan 13 ------------ 14 This driver implements support for NUVOTON NPCM7XX PWM and Fan Tacho 15 controller. The PWM controller supports up to 8 PWM outputs. The Fan tacho 16 controller supports up to 16 tachometer inputs. 21 fanX_input ro provide current fan rotation value in RPM as reported 22 by the fan to the device. 24 pwmX rw get or set PWM fan control value. This is an integer
|
D | aspeed-pwm-tacho.rst | 1 Kernel driver aspeed-pwm-tacho 11 ------------ 12 This driver implements support for ASPEED AST2400/2500 PWM and Fan Tacho 13 controller. The PWM controller supports upto 8 PWM outputs. The Fan tacho 14 controller supports up to 16 tachometer inputs. 19 fanX_input ro provide current fan rotation value in RPM as reported 20 by the fan to the device. 22 pwmX rw get or set PWM fan control value. This is an integer
|
D | g760a.rst | 6 * Global Mixed-mode Technology Inc. G760A 12 http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf 17 ----------- 19 The GMT G760A Fan Speed PWM Controller is connected directly to a fan 20 and performs closed-loop control of the fan speed. 22 The fan speed is programmed by setting the period via 'pwm1' of two 26 Setting a period of 0 stops the fan; setting the period to 255 sets 27 fan to maximum speed. 29 The measured fan rotation speed returned via 'fan1_input' is derived 31 source and a 2 pulse-per-revolution fan. [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 | sl28cpld.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 17 ----------- 19 The sl28cpld is a board management controller which also exposes a hardware 20 monitoring controller. At the moment this controller supports a single fan 24 The fan supervisor has a 7 bit counter register and a counter period of 1 30 ------------- 35 fan1_input Fan RPM. Assuming 2 pulses per revolution.
|
/Linux-v5.15/drivers/gpu/drm/amd/pm/ |
D | amdgpu_dpm.c | 114 if (rps == adev->pm.dpm.current_ps) in amdgpu_dpm_print_ps_status() 116 if (rps == adev->pm.dpm.requested_ps) in amdgpu_dpm_print_ps_status() 118 if (rps == adev->pm.dpm.boot_ps) in amdgpu_dpm_print_ps_status() 129 adev->pm.dpm.new_active_crtcs = 0; in amdgpu_dpm_get_active_displays() 130 adev->pm.dpm.new_active_crtc_count = 0; in amdgpu_dpm_get_active_displays() 131 if (adev->mode_info.num_crtc && adev->mode_info.mode_config_initialized) { in amdgpu_dpm_get_active_displays() 133 &ddev->mode_config.crtc_list, head) { in amdgpu_dpm_get_active_displays() 135 if (amdgpu_crtc->enabled) { in amdgpu_dpm_get_active_displays() 136 adev->pm.dpm.new_active_crtcs |= (1 << amdgpu_crtc->crtc_id); in amdgpu_dpm_get_active_displays() 137 adev->pm.dpm.new_active_crtc_count++; in amdgpu_dpm_get_active_displays() [all …]
|
/Linux-v5.15/drivers/macintosh/ |
D | therm_windtunnel.c | 3 * Time-stamp: <2004/03/20 14:20:59 samuel> 7 * The G4 "windtunnel" has a single fan controlled by an 8 * ADM1030 fan controller and a DS1775 thermostat. 10 * The fan controller is equipped with a temperature sensor 13 * behavior of the fan. It is based upon empirical observations 57 struct i2c_client *fan; member 59 int overheat_temp; /* 100% fan at this temp */ 78 { 11, T(0,0), 11 }, /* min fan */ 116 /* controller thread */ 125 return -EINVAL; in write_reg() [all …]
|
/Linux-v5.15/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 31 - enum: 32 … # SMBus/I2C Digital Temperature Sensor in 6-Pin SOT with SMBus Alert and Over Temperature Pin 33 - ad,ad7414 34 # ADM9240: Complete System Hardware Monitor for uProcessor-Based Systems [all …]
|
/Linux-v5.15/arch/arm/boot/dts/ |
D | aspeed-bmc-opp-swift.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,swift-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
D | aspeed-bmc-inspur-nf5280m6.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 /dts-v1/; 5 #include "aspeed-g5.dtsi" 6 #include <dt-bindings/gpio/aspeed-gpio.h> 7 #include <dt-bindings/i2c/i2c.h> 8 #include <dt-bindings/leds/leds-pca955x.h> 12 compatible = "inspur,nf5280m6-bmc", "aspeed,ast2500"; 15 stdout-path = &uart5; 23 reserved-memory { 24 #address-cells = <1>; [all …]
|
D | aspeed-bmc-opp-mihawk.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "ibm,mihawk-bmc", "aspeed,ast2500"; 59 stdout-path = &uart5; 67 reserved-memory { 68 #address-cells = <1>; 69 #size-cells = <1>; [all …]
|
D | aspeed-bmc-inspur-fp5280g2.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 2 /dts-v1/; 3 #include "aspeed-g5.dtsi" 4 #include <dt-bindings/gpio/aspeed-gpio.h> 5 #include <dt-bindings/leds/leds-pca955x.h> 9 compatible = "inspur,fp5280g2-bmc", "aspeed,ast2500"; 12 stdout-path = &uart5; 20 reserved-memory { 21 #address-cells = <1>; 22 #size-cells = <1>; [all …]
|
D | nuvoton-npcm750-runbmc-olympus.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 /dts-v1/; 6 #include "nuvoton-npcm750.dtsi" 7 #include "nuvoton-npcm750-runbmc-olympus-pincfg.dtsi" 9 #include <dt-bindings/i2c/i2c.h> 10 #include <dt-bindings/gpio/gpio.h> 43 stdout-path = &serial3; 50 iio-hwmon { 51 compatible = "iio-hwmon"; 52 io-channels = <&adc 0>, <&adc 1>, <&adc 2>, <&adc 3>, [all …]
|
/Linux-v5.15/drivers/hwmon/ |
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. 274 will be called as370-hwmon. 291 tristate "Analog Devices FAN Control HDL Core driver" 294 AXI HDL FAN monitoring core. 297 will be called axi-fan-control 306 lm-sensors 2.10.1 for proper userspace support. 341 Controller, which provides an accelerometer (Apple Sudden Motion [all …]
|
D | g762.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * g762 - Driver for the Global Mixed-mode Technology Inc. fan speed 4 * PWM controller chips from G762 family, i.e. G762 and G763 15 * http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf 27 * http://www.gmt.com.tw/product/datasheet/EDS-762_3.pdf 36 #include <linux/hwmon-sysfs.h> 67 #define G762_REG_FAN_CMD1_FAN_MODE 0x10 /* fan mode: closed/open-loop */ 71 #define G762_REG_FAN_CMD1_PULSE_PER_REV 0x01 /* pulse per fan revolution */ 73 #define G762_REG_FAN_CMD2_GEAR_MODE_1 0x08 /* fan gear mode */ 75 #define G762_REG_FAN_CMD2_FAN_STARTV_1 0x02 /* fan startup voltage */ [all …]
|
/Linux-v5.15/drivers/platform/x86/ |
D | gpd-pocket-fan.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * GPD Pocket fan controller driver 9 #include <linux/devm-helpers.h> 33 "Millicelsius values above which the fan speed increases"); 38 "Hysteresis in millicelsius before lowering the fan speed"); 43 "minimum fan speed to allow when system is powered by AC"); 55 static void gpd_pocket_fan_set_speed(struct gpd_pocket_fan_data *fan, int speed) in gpd_pocket_fan_set_speed() argument 57 if (speed == fan->last_speed) in gpd_pocket_fan_set_speed() 60 gpiod_direction_output(fan->gpio0, !!(speed & 1)); in gpd_pocket_fan_set_speed() 61 gpiod_direction_output(fan->gpio1, !!(speed & 2)); in gpd_pocket_fan_set_speed() [all …]
|