Searched +full:fan +full:- +full:prescale (Results 1 – 3 of 3) sorted by relevance
/linux/Documentation/devicetree/bindings/hwmon/ |
H A D | maxim,max6650.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Maxim MAX6650 and MAX6651 I2C Fan Controllers 11 - Javier Carrasco <javier.carrasco.cruz@gmail.com> 15 of 5VDC/12VDC burshless fans with built-in tachometers. 18 https://datasheets.maximintegrated.com/en/ds/MAX6650-MAX6651.pdf 23 - maxim,max6650 24 - maxim,max6651 29 maxim,fan-microvolt: [all …]
|
/linux/drivers/hwmon/ |
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 | 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> 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) 149 * (The minimum FAN speed could to support ~640RPM/pulse 1, 150 * 320RPM/pulse 2, ...-- 10.6Hz) 154 #define NPCM7XX_FAN_TCPA (NPCM7XX_FAN_TCNT - NPCM7XX_FAN_TIMEOUT) [all …]
|