Home
last modified time | relevance | path

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

1234

/openbmc/linux/Documentation/devicetree/bindings/hwmon/
H A Daspeed-pwm-tacho.txt9 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.
18 - pinctrl-names : a pinctrl state named "default" must be defined.
20 - pinctrl-0 : phandle referencing pin configuration of the PWM ports.
22 - compatible : should be "aspeed,ast2400-pwm-tacho" for AST2400 and
23 "aspeed,ast2500-pwm-tacho" for AST2500.
25 - clocks : phandle to clock provider with the clock number in the second cell
[all …]
H A Dnpcm750-pwm-fan.txt3 The Nuvoton BMC NPCM7XX supports 8 Pulse-width modulation (PWM)
6 The Nuvoton BMC NPCM8XX supports 12 Pulse-width modulation (PWM)
9 Required properties for pwm-fan node
10 - #address-cells : should be 1.
11 - #size-cells : should be 0.
12 - compatible : "nuvoton,npcm750-pwm-fan" for Poleg NPCM7XX.
13 : "nuvoton,npcm845-pwm-fan" for Arbel NPCM8XX.
14 - reg : specifies physical base address and size of the registers.
15 - reg-names : must contain:
18 - clocks : phandle of reference clocks.
[all …]
H A 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 <jdelvare@suse.com>
11 - Guenter Roeck <linux@roeck-us.net>
15 const: pwm-fan
17 cooling-levels:
18 description: PWM duty cycle values corresponding to thermal cooling states.
19 $ref: /schemas/types.yaml#/definitions/uint32-array
[all …]
H A 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 <naresh.solanki@9elements.com>
11 - Billy Tsai <billy_tsai@aspeedtech.com>
14 max-rpm:
20 min-rpm:
26 pulses-per-revolution:
32 tach-div:
[all …]
/openbmc/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm750-evb.dts1 // SPDX-License-Identifier: GPL-2.0
5 /dts-v1/;
6 #include "nuvoton-npcm750.dtsi"
7 #include "dt-bindings/gpio/gpio.h"
8 #include "nuvoton-npcm750-pincfg-evb.dtsi"
12 compatible = "nuvoton,npcm750-evb", "nuvoton,npcm750";
45 stdout-path = &serial3;
56 phy-mode = "rgmii-id";
61 phy-mode = "rgmii-id";
72 compatible = "jedec,spi-nor";
[all …]
H A Dnuvoton-npcm750-runbmc-olympus.dts1 // 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 …]
H A Dnuvoton-npcm730-gsj.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
5 #include "nuvoton-npcm730.dtsi"
6 #include "nuvoton-npcm730-gsj-gpio.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
31 stdout-path = &serial3;
39 compatible = "gpio-leds";
41 led-bmc-live {
43 linux,default-trigger = "heartbeat";
48 default-state = "off";
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3399-nanopc-t4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * FriendlyElec NanoPC-T4 board device tree source
11 /dts-v1/;
12 #include "rk3399-nanopi4.dtsi"
15 model = "FriendlyElec NanoPC-T4";
16 compatible = "friendlyarm,nanopc-t4", "rockchip,rk3399";
18 vcc12v0_sys: vcc12v0-sys {
19 compatible = "regulator-fixed";
20 regulator-always-on;
21 regulator-boot-on;
[all …]
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3768-0000+p3767-0005.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra234-p3767-0005.dtsi"
8 #include "tegra234-p3768-0000.dtsi"
11 compatible = "nvidia,p3768-0000+p3767-0005", "nvidia,p3767-0005", "nvidia,tegra234";
14 pwm-fan {
15 cooling-levels = <0 88 187 255>;
18 thermal-zones {
[all …]
H A Dtegra234-p3768-0000+p3767-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra234-p3767-0000.dtsi"
8 #include "tegra234-p3768-0000.dtsi"
11 compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234";
21 stdout-path = "serial0:115200n8";
26 compatible = "nvidia,tegra194-hsuart";
27 reset-names = "serial";
[all …]
/openbmc/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 …]
/openbmc/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 Dexynos_thermal.rst15 ---------------------------
19 The chip only exposes the measured 8-bit temperature code value
27 Tc = (T - 25) * (TI2 - TI1) / (85 - 25) + TI1
31 Tc = T + TI1 - 25
47 when temperature exceeds pre-defined levels.
49 The threshold levels are defined as follows::
62 it can be used to synchronize the cooling action.
65 -----------------------
74 TMU configuration data -----> TMU Driver <----> Exynos Core thermal wrapper
/openbmc/linux/arch/arm/boot/dts/samsung/
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 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 …]
/openbmc/linux/arch/arm64/boot/dts/amlogic/
H A Dmeson-sm1-odroid-hc4.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
8 #include "meson-sm1-odroid.dtsi"
11 compatible = "hardkernel,odroid-hc4", "amlogic,sm1";
12 model = "Hardkernel ODROID-HC4";
19 fan0: pwm-fan {
20 compatible = "pwm-fan";
21 #cooling-cells = <2>;
22 cooling-levels = <0 120 170 220>;
27 compatible = "gpio-leds";
[all …]
/openbmc/linux/arch/arm64/boot/dts/freescale/
H A Dfsl-ls1028a-kontron-sl28-var3-ads2.dts1 // SPDX-License-Identifier: GPL-2.0+
3 * Device Tree file for the Kontron SMARC-sAL28 board on a SMARC Eval 2.0
10 /dts-v1/;
12 #include <dt-bindings/clock/fsl,qoriq-clockgen.h>
13 #include "fsl-ls1028a-kontron-sl28.dts"
16 model = "Kontron SMARC-sAL28 (Single PHY) on SMARC Eval 2.0 carrier";
17 compatible = "kontron,sl28-var3-ads2", "kontron,sl28-var3",
20 pwm-fan {
21 compatible = "pwm-fan";
22 cooling-min-state = <0>;
[all …]
/openbmc/linux/drivers/hwmon/
H A Dpwm-fan.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * pwm-fan.c - Hwmon driver for fans connected to PWM lines.
69 atomic_inc(&tach->pulses); in pulse_handler()
77 unsigned int delta = ktime_ms_delta(ktime_get(), ctx->sample_start); in sample_timer()
81 for (i = 0; i < ctx->tach_count; i++) { in sample_timer()
82 struct pwm_fan_tach *tach = &ctx->tachs[i]; in sample_timer()
85 pulses = atomic_read(&tach->pulses); in sample_timer()
86 atomic_sub(pulses, &tach->pulses); in sample_timer()
87 tach->rpm = (unsigned int)(pulses * 1000 * 60) / in sample_timer()
88 (tach->pulses_per_revolution * delta); in sample_timer()
[all …]
/openbmc/linux/drivers/thermal/
H A Dgov_fair_share.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * fair_share.c - A simple weight based Thermal governor
19 * get_trip_level: - obtains the current trip level for a zone
27 for (count = 0; count < tz->num_trips; count++) { in get_trip_level()
29 if (tz->temperature < trip.temperature) in get_trip_level()
35 * point, in which case, trip_point = count - 1 in get_trip_level()
38 trace_thermal_zone_trip(tz, count - 1, trip.type); in get_trip_level()
46 return (long)(percentage * level * cdev->max_state) / (100 * tz->num_trips); in get_target_state()
50 * fair_share_throttle - throttles devices associated with the given zone
55 * throttle state of the cooling devices associated with the given zone.
[all …]
H A Dcpufreq_cooling.c1 // SPDX-License-Identifier: GPL-2.0
7 * Copyright (C) 2012-2018 Linaro Limited.
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
56 * cooling devices.
[all …]
/openbmc/linux/Documentation/devicetree/bindings/cpufreq/
H A Dqcom-cpufreq-nvmem.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/cpufreq/qcom-cpufreq-nvmem.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ilia Lin <ilia.lin@kernel.org>
16 CPR provides a power domain with multiple levels that are selected depending
28 - qcom,apq8064
29 - qcom,apq8096
30 - qcom,ipq8064
31 - qcom,ipq8074
[all …]
/openbmc/linux/arch/arm64/boot/dts/marvell/
H A Darmada-8040-puzzle-m801.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 * Device Tree file for IEI Puzzle-M801
9 #include "armada-8040.dtsi"
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/leds/common.h>
15 model = "IEI-Puzzle-M801";
16 compatible = "marvell,armada8040", "marvell,armada-ap806-quad", "marvell,armada-ap806";
28 stdout-path = "serial0:115200n8";
37 v_3_3: regulator-3-3v {
38 compatible = "regulator-fixed";
[all …]
H A Darmada-8040-clearfog-gt-8k.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
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>;
38 #cooling-cells = <2>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt7986a-bananapi-bpi-r3.dts1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
5 * Frank Wunderlich <frank-w@public-files.de>
9 /dts-v1/;
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/input/input.h>
12 #include <dt-bindings/leds/common.h>
13 #include <dt-bindings/pinctrl/mt65xx.h>
18 model = "Bananapi BPI-R3";
19 chassis-type = "embedded";
20 compatible = "bananapi,bpi-r3", "mediatek,mt7986a";
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6qdl-emcon.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/pwm/pwm.h>
8 #include <dt-bindings/input/input.h>
12 model = "emtrion SoM emCON-MX6";
13 compatible = "emtrion,emcon-mx6";
23 stdout-path = &uart1;
31 gpio-keys {
32 compatible = "gpio-keys";
33 pinctrl-names = "default";
[all …]

1234