Home
last modified time | relevance | path

Searched +full:pulses +full:- +full:per +full:- +full:revolution (Results 1 – 25 of 25) sorted by relevance

/linux-6.14.4/Documentation/devicetree/bindings/hwmon/
Dadi,axi-fan-control.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/hwmon/adi,axi-fan-control.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Nuno Sá <[email protected]>
22 - adi,axi-fan-control-1.00.a
33 pulses-per-revolution:
35 Value specifying the number of pulses per revolution of the controlled
41 - compatible
42 - reg
[all …]
Dpwm-fan.yaml1 # 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#
10 - Jean Delvare <[email protected]>
11 - Guenter Roeck <linux@roeck-us.net>
15 const: pwm-fan
17 cooling-levels:
19 $ref: /schemas/types.yaml#/definitions/uint32-array
23 fan-supply:
[all …]
Dmaxim,max6639.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Naresh Solanki <[email protected]>
14 The MAX6639 is a 2-channel temperature monitor with dual, automatic, PWM
15 fan-speed controller. It monitors its own temperature and one external
16 diode-connected transistor or the temperatures of two external diode-connected
20 https://datasheets.maximintegrated.com/en/ds/MAX6639-MAX6639F.pdf
25 - maxim,max6639
30 '#address-cells':
[all …]
Dfan-common.yaml1 # 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#
10 - Naresh Solanki <[email protected]>
11 - Billy Tsai <[email protected]>
14 max-rpm:
20 min-rpm:
26 pulses-per-revolution:
28 The number of pulse from fan sensor per revolution.
[all …]
/linux-6.14.4/Documentation/hwmon/
Dg762.rst5 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.
18 hardware characteristics of the system (reference clock, pulses per
19 fan revolution, ...); Those can be modified via devicetree bindings
25 set desired fan speed. This only makes sense in closed-loop
36 number of pulses per fan revolution. Supported values
44 in closed-loop control mode, if fan RPM value is 25% out
50 speed control (open-loop) via pwm1 described below, 2 for
[all …]
Dg760a.rst6 * Global Mixed-mode Technology Inc. G760A
12 http://www.gmt.com.tw/product/datasheet/EDS-760A.pdf
17 -----------
20 and performs closed-loop control of the fan speed.
23 consecutive speed pulses. The period is defined in terms of clock
31 source and a 2 pulse-per-revolution fan.
Dsl28cpld.rst1 .. SPDX-License-Identifier: GPL-2.0-only
17 -----------
30 -------------
35 fan1_input Fan RPM. Assuming 2 pulses per revolution.
Ddme1737.rst18 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 …]
Damc6821.rst19 -----------
22 The chip has one on-chip and one remote temperature sensor and one pwm fan
29 temp1_input ro on-chip temperature
50 fan1_pulses rw Pulses per revolution can be either 2 or 4.
57 combination of the on-chip temperature and
58 remote-sensor temperature,
72 temp1_auto_point2_temp rw The low-temperature limit of the proportional
89 temp2_auto_point2_temp rw The low-temperature limit of the proportional
104 -----------------
112 - init=1,
[all …]
Dsmsc47b397.rst6 * SMSC LPC47B397-NC
8 * SMSC SCH5307-NS
20 - Mark M. Hoffman <[email protected]>
21 - Utilitek Systems, Inc.
25 The following specification describes the SMSC LPC47B397-NC [1]_ sensor chip
27 provided by Craig Kelly (In-Store Broadcast Network) and edited/corrected
30 .. [1] And SMSC SCH5307-NS and SCH5317, which have different device IDs but are
33 -------------------------------------------------------------------------
36 -------------------------------------------------------------------------
87 --------------------------------------
[all …]
Dsysfs-interface.rst5 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.
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
46 There is only one value per file, unlike the older /proc specification.
61 to cause an alarm) is chip-dependent.
69 ----------------
76 -------------------------------------------------------------------------
[all …]
/linux-6.14.4/drivers/hwmon/
Daxi-fan-control.c1 // SPDX-License-Identifier: GPL-2.0
9 #include <linux/fpga/adi-axi-common.h>
11 #include <linux/hwmon-sysfs.h>
56 /* pulses per revolution */
66 iowrite32(val, ctl->base + reg); in axi_iowrite()
72 return ioread32(ctl->base + reg); in axi_ioread()
77 * T = /raw * 509.3140064 / 65535) - 280.2308787
83 u32 temp = axi_ioread(attr->index, ctl); in axi_fan_control_show()
85 temp = DIV_ROUND_CLOSEST_ULL(temp * 509314ULL, 65535) - 280230; in axi_fan_control_show()
103 axi_iowrite(temp, attr->index, ctl); in axi_fan_control_store()
[all …]
Dpwm-fan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pwm-fan.c - Hwmon driver for fans connected to PWM lines.
28 atomic_t pulses; member
74 atomic_inc(&tach->pulses); in pulse_handler()
82 unsigned int delta = ktime_ms_delta(ktime_get(), ctx->sample_start); in sample_timer()
86 for (i = 0; i < ctx->tach_count; i++) { in sample_timer()
87 struct pwm_fan_tach *tach = &ctx->tachs[i]; in sample_timer()
88 int pulses; in sample_timer() local
90 pulses = atomic_read(&tach->pulses); in sample_timer()
91 atomic_sub(pulses, &tach->pulses); in sample_timer()
[all …]
Dmax6639.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * max6639.c - Support for Maxim MAX6639
5 * 2-Channel Temperature Monitor with Dual PWM Fan-Speed Controller
19 #include <linux/hwmon-sysfs.h>
81 u8 ppr[MAX6639_NUM_CHANNELS]; /* Pulses per rotation 0..3 for 1..4 ppr */
95 res = regmap_multi_reg_read(data->regmap, regs, regvals, 2); in max6639_temp_read_input()
110 res = regmap_read(data->regmap, MAX6639_REG_TEMP_EXT(channel), &val); in max6639_temp_read_fault()
125 res = regmap_read(data->regmap, MAX6639_REG_THERM_LIMIT(channel), &val); in max6639_temp_read_max()
140 res = regmap_read(data->regmap, MAX6639_REG_ALERT_LIMIT(channel), &val); in max6639_temp_read_crit()
155 res = regmap_read(data->regmap, MAX6639_REG_OT_LIMIT(channel), &val); in max6639_temp_read_emergency()
[all …]
Dg762.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * g762 - Driver for the Global Mixed-mode Technology Inc. fan speed
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 */
92 /* Register data is read (and cached) at most once per second. */
96 * Extract pulse count per fan revolution value (2 or 4) from given
133 u8 set_cnt; /* controls fan rotation speed in closed-loop mode */
[all …]
Dsl28cpld-hwmon.c1 // SPDX-License-Identifier: GPL-2.0-only
36 ret = regmap_read(hwmon->regmap, hwmon->offset + FAN_INPUT, in sl28cpld_hwmon_read()
50 * says we should assume 2 pulses per revolution. in sl28cpld_hwmon_read()
56 return -EOPNOTSUPP; in sl28cpld_hwmon_read()
84 if (!pdev->dev.parent) in sl28cpld_hwmon_probe()
85 return -ENODEV; in sl28cpld_hwmon_probe()
87 hwmon = devm_kzalloc(&pdev->dev, sizeof(*hwmon), GFP_KERNEL); in sl28cpld_hwmon_probe()
89 return -ENOMEM; in sl28cpld_hwmon_probe()
91 hwmon->regmap = dev_get_regmap(pdev->dev.parent, NULL); in sl28cpld_hwmon_probe()
92 if (!hwmon->regmap) in sl28cpld_hwmon_probe()
[all …]
Dlan966x-hwmon.c1 // SPDX-License-Identifier: GPL-2.0-only
17 * T = -3.4627e-11*(N^4) + 1.1023e-7*(N^3) + -1.9165e-4*(N^2) +
18 * 3.0604e-1*(N^1) + -5.6197e1
20 * where [-56.197, 136.402]C and N = [0, 1023].
29 * T = -34627e-12*(N^4) + 110230e-9*(N^3) + -191650e-6*(N^2) +
30 * 306040e-3*(N^1) + -56197
32 * where T = [-56197, 136402]mC and N = [0, 1023].
37 {4, -34627, 1000, 1},
39 {2, -191650, 1000, 1},
41 {0, -56197, 1, 1}
[all …]
Dmax6620.c1 // SPDX-License-Identifier: GPL-2.0-or-later
20 * http://pdfserv.maxim-ic.com/en/ds/MAX6620.pdf
93 #define MAX6620_PULSE_PER_REV 2 /* Tachometer pulses per revolution */
95 /* Minimum and maximum values of the FAN-RPM */
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()
179 data->fandyn[i] = ret; in max6620_update_device()
184 data->tach[i] = (ret << 3) & 0x7f8; in max6620_update_device()
[all …]
Dmax6650.c1 // 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>
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()
163 mutex_lock(&data->update_lock); in max6650_update_device()
[all …]
Ddme1737.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * dme1737.c - Driver for the SMSC DME1737, Asus A8000, SMSC SCH311x, SCH5027,
4 * and SCH5127 Super-I/O chips integrated hardware monitoring
24 #include <linux/hwmon-sysfs.h>
25 #include <linux/hwmon-vid.h>
46 "Include probing of non-standard LPC addresses");
55 /* ---------------------------------------------------------------------
61 * -------- ------------
71 * --------------------------------------------------------------------- */
73 /* Voltages (in) numbered 0-7 (ix) */
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-class-hwmon16 The contents of the label are free-form.
135 this voltage channel is being used for, and user-space
137 user-space.
145 When disabled the sensor read will return -ENODATA.
147 - 1: Enable
148 - 0: Disable
156 - 1: Failed
157 - 0: Ok
204 Unit: revolution/min (RPM)
212 Unit: revolution/min (RPM)
[all …]
/linux-6.14.4/arch/arm64/boot/dts/freescale/
Dimx93-tqma9352-mba93xxca.dts1 // SPDX-License-Identifier: (GPL-2.0-or-later OR MIT)
3 * Copyright (c) 2022-2023 TQ-Systems GmbH <[email protected]-group.com>,
4 * D-82229 Seefeld, Germany.
8 /dts-v1/;
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/pwm/pwm.h>
15 #include "imx93-tqma9352.dtsi"
18 model = "TQ-Systems i.MX93 TQMa93xxLA/TQMa93xxCA on MBa93xxCA starter kit";
[all …]
Dimx8mp-tqma8mpql-mba8mpxl.dts1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2021-2022 TQ-Systems GmbH
4 * Author: Alexander Stein <alexander.stein@tq-group.com>
7 /dts-v1/;
9 #include <dt-bindings/leds/common.h>
10 #include <dt-bindings/net/ti-dp83867.h>
11 #include <dt-bindings/phy/phy-imx8-pcie.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include "imx8mp-tqma8mpql.dtsi"
16 model = "TQ-Systems i.MX8MPlus TQMa8MPxL on MBa8MPxL";
[all …]
/linux-6.14.4/arch/arm64/boot/dts/rockchip/
Drk3588s-gameforce-ace.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/input/linux-event-codes.h>
7 #include <dt-bindings/leds/common.h>
8 #include <dt-bindings/pinctrl/rockchip.h>
9 #include <dt-bindings/pwm/pwm.h>
10 #include <dt-bindings/thermal/thermal.h>
11 #include <dt-bindings/usb/pd.h>
16 chassis-type = "handset";
[all …]
/linux-6.14.4/arch/arm64/boot/dts/ti/
Dk3-am642-tqma64xxl-mbax4xxl.dts1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2021 Texas Instruments Incorporated - https://www.ti.com/
4 * Copyright (c) 2022-2024 TQ-Systems GmbH <[email protected]-group.com>, D-82229 Seefeld, Germany.
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input.h>
11 #include <dt-bindings/leds/common.h>
12 #include <dt-bindings/net/ti-dp83867.h>
13 #include <dt-bindings/phy/phy.h>
14 #include <dt-bindings/pwm/pwm.h>
[all …]