Home
last modified time | relevance | path

Searched +full:cooling +full:- +full:device (Results 1 – 25 of 234) sorted by relevance

12345678910

/linux/Documentation/devicetree/bindings/thermal/
H A Dthermal-cooling-devices.yaml1 # SPDX-License-Identifier: (GPL-2.0)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-cooling-devices.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Thermal cooling device
11 - Amit Kucheria <amitk@kernel.org>
15 and the software abstraction of cooling devices and thermal zones required to
20 - thermal-sensor: device that measures temperature, has SoC-specific bindings
21 - cooling-device: device used to dissipate heat either passively or actively
22 - thermal-zones: a container of the following node types used to describe all
[all …]
H A Dthermal-idle.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/thermal/thermal-idle.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
8 title: Thermal idle cooling device
11 - Daniel Lezcano <daniel.lezcano@linaro.org>
14 The thermal idle cooling device allows the system to passively
15 mitigate the temperature on the device by injecting idle cycles,
22 const: thermal-idle
24 A thermal-idle node describes the idle cooling device properties to
[all …]
/linux/drivers/thermal/
H A Dcpufreq_cooling.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2012-2018 Linaro Limited.
16 #include <linux/device.h>
29 * Cooling state <-> CPUFreq frequency
31 * Cooling states are translated to frequencies throughout this driver and this
34 * Highest cooling state corresponds to lowest possible frequency.
37 * level 0 --> 1st Max Freq
38 * level 1 --> 2nd Max Freq
43 * struct time_in_idle - Idle time stats
53 * struct cpufreq_cooling_device - data for cooling device with cpufreq
[all …]
H A Dcpuidle_cooling.c1 // SPDX-License-Identifier: GPL-2.0
8 #define pr_fmt(fmt) "cpuidle cooling: " fmt
13 #include <linux/device.h>
21 * struct cpuidle_cooling_device - data for the idle cooling device
23 * @state: a normalized integer giving the state of the cooling device
31 * cpuidle_cooling_runtime - Running time computation
43 * running = idle x ((100 / ratio) - 1)
47 * running = (idle x 100) / ratio - idle
60 return ((idle_duration_us * 100) / state) - idle_duration_us; in cpuidle_cooling_runtime()
64 * cpuidle_cooling_get_max_state - Get the maximum state
[all …]
H A Dthermal_core.c1 // SPDX-License-Identifier: GPL-2.0
3 * thermal.c - Generic Thermal Management Sysfs support.
12 #include <linux/device.h>
61 if (!strncasecmp(name, pos->name, THERMAL_NAME_LENGTH)) in __find_governor()
68 * bind_previous_governor() - bind the previous governor of the thermal zone
78 if (tz->governor && tz->governor->bind_to_tz) { in bind_previous_governor()
79 if (tz->governor->bind_to_tz(tz)) { in bind_previous_governor()
80 dev_err(&tz->device, in bind_previous_governor()
82 failed_gov_name, tz->governor->name, tz->type); in bind_previous_governor()
83 tz->governor = NULL; in bind_previous_governor()
[all …]
H A Dthermal_debugfs.c1 // SPDX-License-Identifier: GPL-2.0
23 * Length of the string containing the thermal zone id or the cooling
24 * device id, including the ending nul character. We can reasonably
31 * The cooling device transition list is stored in a hash table where
32 * the size is CDEVSTATS_HASH_SIZE. The majority of cooling devices
40 * struct cdev_debugfs - per cooling device statistics structure
41 * A cooling device can have a high number of states. Showing the
50 * @total: the number of transitions for this cooling device
51 * @current_state: the current cooling device state
65 * struct cdev_record - Common structure for cooling device entry
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-odroidxu3-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid XU3/XU3-Lite/XU4 boards common device tree source
12 #include <dt-bindings/input/input.h>
13 #include "exynos5422-odroid-core.dtsi"
20 gpio-keys {
21 compatible = "gpio-keys";
22 pinctrl-names = "default";
23 pinctrl-0 = <&power_key>;
25 power-key {
36 debounce-interval = <0>;
[all …]
H A Dexynos5422-odroidhc1.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel Odroid HC1 board device tree source
10 /dts-v1/;
11 #include <dt-bindings/leds/common.h>
12 #include "exynos5422-odroid-core.dtsi"
16 compatible = "hardkernel,odroid-hc1", "samsung,exynos5800", \
19 led-controller {
20 compatible = "pwm-leds";
22 led-1 {
26 pwm-names = "pwm2";
[all …]
H A Dexynos4412-odroidu3.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Hardkernel's Exynos4412 based ODROID-U3 board device tree source
7 * Device tree source file for Hardkernel's ODROID-U3 board which is based
11 /dts-v1/;
12 #include <dt-bindings/leds/common.h>
13 #include "exynos4412-odroid-common.dtsi"
14 #include "exynos4412-prime.dtsi"
17 model = "Hardkernel ODROID-U3 board based on Exynos4412";
18 compatible = "hardkernel,odroid-u3", "samsung,exynos4412", "samsung,exynos4";
29 vbus_otg_reg: regulator-1 {
[all …]
H A Dexynos5420-arndale-octa.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung's Exynos5420 based Arndale Octa board device tree source
9 /dts-v1/;
11 #include "exynos5420-cpus.dtsi"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/interrupt-controller/irq.h>
14 #include <dt-bindings/input/input.h>
15 #include <dt-bindings/clock/samsung,s2mps11.h>
19 compatible = "insignal,arndale-octa", "samsung,exynos5420", "samsung,exynos5";
32 stdout-path = "serial3:115200n8";
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-thermal5 E.g: "acpitz" indicates it's an ACPI thermal device.
61 E.g. it can be one of critical, hot, passive, `active[0-*]`
77 Sysfs link to the thermal cooling device node where the sys I/F
78 for cooling device throttling control represents.
84 The trip point in this thermal zone which `cdev[0-*]` is
85 associated with; -1 means the cooling device is not
92 The influence of `cdev[0-*]` in this thermal zone. This value
93 is relative to the rest of cooling devices in the thermal
94 zone. For example, if a cooling device has a weight double
95 than that of other, it's twice as effective in cooling the
[all …]
/linux/tools/thermal/tmon/
H A Dtmon.82 # SPDX-License-Identifier: GPL-2.0
4 \fBtmon\fP - A monitoring and testing tool for Linux kernel thermal subsystem
13 real-time thermal data; tune
14 and test cooling devices and sensors; collect thermal data for offline
15 analysis and plot. \fBtmon\fP must be run as root in order to control device
22 - show thermal zone information
23 - show cooling device information
24 - show trip point binding within each thermal zone
25 - show trip point and cooling device instance bindings
28 - show temperature of all thermal zones w.r.t. its trip points and types
[all …]
/linux/Documentation/driver-api/thermal/
H A Dcpu-cooling-api.rst2 CPU cooling APIs How To
14 The generic cpu cooling(freq clipping) provides registration/unregistration APIs
15 to the caller. The binding of the cooling devices to the trip point is left for
16 the user. The registration APIs returns the cooling device pointer.
18 1. cpu cooling APIs
22 --------------------------------------------
29 This interface function registers the cpufreq cooling device with the name
30 "thermal-cpufreq-%x". This api can support multiple instances of cpufreq
31 cooling devices.
41 This interface function registers the cpufreq cooling device with
[all …]
H A Dpower_allocator.rst6 -----------
20 --------------
23 Proportional-Integral-Derivative controller (PID controller) with
29 - e = desired_temperature - current_temperature
30 - err_integral is the sum of previous errors
31 - diff_err = e - previous_error
39 | +----------+ +---+
40 | +----->| diff_err |-->| X |------+
41 | | +----------+ +---+ |
47 +---+ | +-------+ +---+ +---+ +---+ +----------+
[all …]
/linux/arch/arm64/boot/dts/exynos/
H A Dexynos5433-tmu.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Device tree sources for Exynos5433 thermal zone
8 #include <dt-bindings/thermal/thermal.h>
11 thermal-zones {
12 atlas0_thermal: atlas0-thermal {
13 thermal-sensors = <&tmu_atlas0>;
14 polling-delay-passive = <0>;
15 polling-delay = <0>;
17 atlas0_alert_0: atlas0-alert-0 {
22 atlas0_alert_1: atlas0-alert-1 {
[all …]
/linux/arch/arm64/boot/dts/marvell/
H A Darmada-8040-clearfog-gt-8k.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 * Device Tree file for SolidRun's ClearFog GT 8K
9 #include "armada-8040.dtsi"
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/gpio/gpio.h>
16 compatible = "solidrun,clearfog-gt-8k", "marvell,armada8040",
17 "marvell,armada-ap806-quad", "marvell,armada-ap806";
20 stdout-path = "serial0:115200n8";
35 compatible = "pwm-fan";
37 cooling-levels = <0 51 102 153 204 255>;
[all …]
H A Darmada-ap80x.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Device Tree file for Marvell Armada AP80x.
8 #include <dt-bindings/interrupt-controller/arm-gic.h>
9 #include <dt-bindings/thermal/thermal.h>
11 /dts-v1/;
14 #address-cells = <2>;
15 #size-cells = <2>;
25 compatible = "arm,psci-0.2";
29 reserved-memory {
30 #address-cells = <2>;
[all …]
/linux/drivers/gpu/drm/lima/
H A Dlima_devfreq.c1 // SPDX-License-Identifier: GPL-2.0
11 #include <linux/device.h>
24 last = devfreq->time_last_update; in lima_devfreq_update_utilization()
26 if (devfreq->busy_count > 0) in lima_devfreq_update_utilization()
27 devfreq->busy_time += ktime_sub(now, last); in lima_devfreq_update_utilization()
29 devfreq->idle_time += ktime_sub(now, last); in lima_devfreq_update_utilization()
31 devfreq->time_last_update = now; in lima_devfreq_update_utilization()
34 static int lima_devfreq_target(struct device *dev, unsigned long *freq, in lima_devfreq_target()
49 devfreq->busy_time = 0; in lima_devfreq_reset()
50 devfreq->idle_time = 0; in lima_devfreq_reset()
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx93-phyboard-nash-pwm-fan.dtso1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 #include <dt-bindings/pwm/pwm.h>
8 #include "imx93-pinfunc.h"
10 /dts-v1/;
14 fan0: pwm-fan {
15 compatible = "pwm-fan";
16 #cooling-cells = <2>;
17 pinctrl-names = "default";
18 pinctrl-0 = <&pinctrl_fan>;
19 cooling-levels = <1 90 150 200 255>;
[all …]
/linux/arch/riscv/boot/dts/sophgo/
H A Dsg2042-evb-v2.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
13 compatible = "sophgo,sg2042-evb-v2", "sophgo,sg2042";
16 stdout-path = "serial0";
19 pwmfan: pwm-fan {
20 compatible = "pwm-fan";
21 cooling-levels = <103 128 179 230 255>;
23 #cooling-cells = <2>;
26 thermal-zones {
[all …]
H A Dsg2042-evb-v1.dts1 // SPDX-License-Identifier: GPL-2.0 OR MIT
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/input/input.h>
13 compatible = "sophgo,sg2042-evb-v1", "sophgo,sg2042";
16 stdout-path = "serial0";
19 gpio-power {
20 compatible = "gpio-keys";
22 key-power {
26 linux,input-type = <EV_KEY>;
27 debounce-interval = <100>;
[all …]
/linux/Documentation/hwmon/
H A Dmlxreg-fan.rst1 Kernel driver mlxreg-fan
6 - QMB700, equipped with 40x200GbE InfiniBand ports;
7 - MSN3700, equipped with 32x200GbE or 16x400GbE Ethernet ports;
8 - MSN3410, equipped with 6x400GbE plus 48x50GbE Ethernet ports;
9 - MSN3800, equipped with 64x1000GbE Ethernet ports;
14 board with Mellanox Quantum or Spectrume-2 devices.
15 FAN controller is implemented by the programmable device logic.
17 The default registers offsets set within the programmable device is as
36 This setup can be re-programmed with other registers.
39 -----------
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62a-thermal.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/thermal/thermal.h>
8 thermal_zones: thermal-zones {
9 main0_thermal: main0-thermal {
10 polling-delay-passive = <250>; /* milliSeconds */
11 polling-delay = <500>; /* milliSeconds */
12 thermal-sensors = <&wkup_vtm0 0>;
15 main0_alert: main0-alert {
21 main0_crit: main0-crit {
[all …]
H A Dk3-am62p-j722s-common-thermal.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
3 * Copyright (C) 2023-2024 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/thermal/thermal.h>
8 thermal_zones: thermal-zones {
9 main0_thermal: main0-thermal {
10 polling-delay-passive = <250>; /* milliSeconds */
11 polling-delay = <500>; /* milliSeconds */
12 thermal-sensors = <&wkup_vtm0 0>;
15 main0_alert: main0-alert {
21 main0_crit: main0-crit {
[all …]
/linux/arch/arm64/boot/dts/renesas/
H A Dr8a779g3-sparrow-hawk.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 * Device Tree Source for the R-Car V4H ES3.0 Sparrow Hawk board
20 * CONN3 (HeadSet) ---+----> MSIOF1
22 * CONN4 AUX ---------+ on/off (A)
36 * > arecord -f cd xxx.wav
39 /dts-v1/;
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/thermal/thermal.h>
47 compatible = "retronix,sparrow-hawk", "renesas,r8a779g3",
66 stdout-path = "serial0:921600n8";
[all …]

12345678910